removeInjectStreamUrl method

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

Removes the injected online media stream from a live broadcast.

This method removes the URL address (added by RtcEngine.addInjectStreamUrl) from a live broadcast.

If this method call is successful, the SDK triggers the RtcEngineEventHandler.userOffline callback and returns a stream uid of 666.

Parameter url HTTP/HTTPS URL address of the added stream to be removed.

Implementation

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