streamPublished property

  1. @deprecated
UrlWithErrorCallback? streamPublished
getter/setter pair

Reports the result of calling the RtcEngine.addPublishStreamUrl method.

Deprecated Use RtcEngineEventHandler.rtmpStreamingStateChanged instead.

This callback indicates whether you have successfully added an RTMP stream to the CDN.

The UrlWithErrorCallback includes the following parameters:

  • String url: The RTMP URL address.
  • ErrorCode error: The detailed error information.

Implementation

@deprecated
UrlWithErrorCallback? streamPublished;