updatePushMixedStreamToCDN abstract method
Future<int?>
updatePushMixedStreamToCDN({
- required String taskId,
- required MixedStreamConfig mixedConfig,
Valid since v3.56.1
Updates parameters needed when pushing mixed media streams to CDN. You will be informed of the change through RTCMixedStreamObserver.onMixingEvent.
After calling RTCVideo.startPushMixedStreamToCDN to enable the function of pushing streams to CDN, you can call this API to update the relevant configurations.
taskId
:Task ID specifying of which pushing task you want to update the parameters.
mixedConfig
Configurations that you want to update. You can update any property for the task unless it is specified as unavailable for updates.
If you left some properties blank, you can expect these properties to be set to their default values.
Return value:
- 0: Success.
- !0: Failure. See ReturnStatus for the reason.
Implementation
Future<int?> updatePushMixedStreamToCDN({
required String taskId,
required MixedStreamConfig mixedConfig,
});