rtmpStreamingStateChanged property

RtmpStreamingStateCallback? rtmpStreamingStateChanged
getter/setter pair

Occurs when the state of the RTMP or RTMPS streaming changes.

The SDK triggers this callback to report the result of the local user calling the RtcChannel.addPublishStreamUrl or RtcChannel.removePublishStreamUrl method. This callback returns the URL and its current streaming state. When the streaming state is RtmpStreamingState.Failure, see the errCode parameter for details.

This callback indicates the state of the RTMP or RTMPS streaming. When exceptions occur, you can troubleshoot issues by referring to the detailed error descriptions in the errCode parameter.

The RtmpStreamingStateCallback typedef includes the following parameters:

Implementation

RtmpStreamingStateCallback? rtmpStreamingStateChanged;