setLiveTranscoding abstract method

  1. @Deprecated('This method is deprecated.')
Future<void> setLiveTranscoding(
  1. LiveTranscoding transcoding
)

Sets the transcoding configurations for media push. Deprecated: This method is deprecated. This method is deprecated. This method sets the video layout and audio settings for media push. The SDK triggers the transcodingUpdated callback when you call this method to update the transcoding settings. This method takes effect only when you are a host in live interactive streaming. Ensure that you enable the Media Push service before using this function. See Prerequisites in the advanced guide Media Push. If you call this method to set the transcoding configuration for the first time, the SDK does not trigger the transcodingUpdated callback. Call this method after joining a channel. Agora only supports pushing media streams to the CDN in RTMPS protocol when you enable transcoding.

Param transcoding The transcoding configurations for the media push. See LiveTranscoding for details.

Implementation

@Deprecated('This method is deprecated.')
Future<void> setLiveTranscoding(LiveTranscoding transcoding);