startLiveTranscoding abstract method

  1. @Deprecated('Deprecated since v3.54.1, use startPushMixedStreamToCDN instead')
Future<int?> startLiveTranscoding({
  1. required String taskId,
  2. required LiveTranscoding transcoding,
  3. required RTCLiveTranscodingObserver observer,
})

Creates a new task of pushing media streams to CDN and sets the relevant configurations.

When pushing more than one live streams in the same task, SDK will first mix those streams into one single stream and then push it to CDN.

taskId: Task ID.
You may want to push more than one mixed stream to CDN from the same room. When you do that, use different ID for corresponding tasks; if you will start only one task, use an empty string.

transcoding: Configurations to be set when pushing streams to CDN.

observer: Register this observer to receive callbacks from the SDK.

Return value:

Notes:

Implementation

@Deprecated('Deprecated since v3.54.1, use startPushMixedStreamToCDN instead')
Future<int?> startLiveTranscoding({
  required String taskId,
  required LiveTranscoding transcoding,
  required RTCLiveTranscodingObserver observer,
});