streamMessageError property

StreamMessageErrorCallback? streamMessageError
getter/setter pair

Occurs when the local user fails to receive a remote data stream.

The SDK triggers this callback when the local user fails to receive the stream message that the remote user sends by calling the RtcChannel.sendStreamMessage method.

The StreamMessageErrorCallback callback includes the following parameters:

  • int uid: User ID of the remote user sending the data stream.
  • int streamId: Stream ID.
  • ErrorCode error: Error code.
  • int missed: The number of lost messages.
  • int cached: The number of incoming cached messages when the data stream is interrupted.

Implementation

StreamMessageErrorCallback? streamMessageError;