onStopPublishMediaStream property
final
Callback for Stopping Publishing
When you call stopPublishMediaStream
to stop publishing, the SDK
will immediately update the command to the cloud server.
The SDK will then receive the modification result from the cloud server and will send the result to you via this callback.
- Parameters:
- code(int):
0
: Successful; other values: Failed.
- extraInfo(String):
- Additional information. For some error codes, there may be additional information to help you troubleshoot the issues.
- message(String):
- The callback information.
- taskId(String):
- The task ID you pass in when calling
stopPublishMediaStream
, which is used to identify a request.
- The task ID you pass in when calling
- code(int):
Implementation
final void Function(String taskId, int errCode, String errMsg, String extraInfo)? onStopPublishMediaStream;