stopPublishMediaStream method
- String taskId
停止发布通过 startPublishMediaStream 启动的任务
taskId
,通过 onStartPublishMediaStream
回调返回给您的任务 ID
不支持:
- web
- macOS
- Windows
Implementation
Future<void> stopPublishMediaStream(String taskId) async {
return _cloudChannel.invokeMethod('stopPublishMediaStream', {'taskId': taskId});
}