streamPublished property Null safety

UrlWithErrorCallback? streamPublished
read / write

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 CDN streaming URL.
  • ErrorCode error: The detailed error information.


UrlWithErrorCallback? streamPublished;