streamMessageError property

StreamMessageErrorCallback? streamMessageError
getter/setter pair

Occurs when the local user does not receive the data stream from the remote user. The SDK triggers this callback when the local user fails to receive the stream message that the remote user sends by calling the sendStreamMessage method.

Param uid The ID of the remote user sending the message.

Param streamId The stream ID of the received message.

Param error The error code.

Param missed The number of lost messages.

Param cached Number of incoming cached messages when the data stream is interrupted.

Implementation

StreamMessageErrorCallback? streamMessageError;