stopPublishMediaStream method

Future<void> stopPublishMediaStream(
  1. String taskId
)

Stop a task initiated by startPublishMediaStream

taskId, The task ID returned to you via the onStartPublishMediaStream callback

Platform not supported:

  • web
  • macOS
  • Windows

Implementation

Future<void> stopPublishMediaStream(String taskId) async {
  return _cloudChannel!.invokeMethod('stopPublishMediaStream', {'taskId': taskId});
}