removeInjectStreamUrl method

  1. @override
Future<void> removeInjectStreamUrl(
  1. String url
)

Removes the injected online media stream from a ChannelProfile.LiveBroadcasting channel.

This method removes the URL address added by RtcChannel.addInjectStreamUrl. If you successfully remove the URL address from the live broadcast, the SDK triggers the RtcChannelEventHandler.userJoined callback, with the stream uid of 666.

Parameter url The URL address to be removed.

Implementation

@override
Future<void> removeInjectStreamUrl(String url) {
  return _invokeMethod('removeInjectStreamUrl', {
    'url': url,
  });
}