onTranscodingUpdated property

void Function()? onTranscodingUpdated
final

Occurs when the publisher's transcoding is updated.

When the LiveTranscoding class in the startRtmpStreamWithTranscoding method updates, the SDK triggers the onTranscodingUpdated callback to report the update information. If you call the startRtmpStreamWithTranscoding method to set the LiveTranscoding class for the first time, the SDK does not trigger this callback.

Implementation

final void Function()? onTranscodingUpdated;