rtmpStreamingStateChanged property

RtmpStreamingStateCallback? rtmpStreamingStateChanged
getter/setter pair

Occurs when the media push state changes. When the CDN live streaming state changes, the SDK triggers this callback to report the current state and the reason why the state has changed. When exceptions occur, you can troubleshoot issues by referring to the detailed error descriptions in the error code parameter.

Param errCode The detailed error information for the media push. See RtmpStreamingErrorCode .

Param state The current state of the media push. See RtmpStreamingState . When the streaming state is Failure (4), you can view the error information in the errorCode parameter.

Param url The URL address where the state of the media push changes.

Implementation

RtmpStreamingStateCallback? rtmpStreamingStateChanged;