removePublishStreamUrl abstract method

Future<void> removePublishStreamUrl(
  1. String url
)

Removes an RTMP or RTMPS stream from the CDN. Deprecated: This method is deprecated. This method is deprecated. After a successful method call, the SDK triggers rtmpStreamingStateChanged on the local client to report the result of deleting the URL. Before calling this method, make sure that the media push function has been enabled. This method takes effect only when you are a host in live interactive streaming. Call this method after joining a channel. This method removes only one media push URL each time it is called. To remove multiple URLs, call this method multiple times.

Param url The media push URL to be removed. The maximum length of this parameter is 1024 bytes. The media push URL must not contain special characters, such as Chinese characters.

Implementation

Future<void> removePublishStreamUrl(String url);