setVideoSendDelayTime abstract method

Future<void> setVideoSendDelayTime(
  1. int delayTime
)

Set the delay time of video playback.

Available since: 2.17.0 Description: When this value is set, when publishing video file stream, the SDK will permanently delay the video to the set time value before sending. Use cases: Mainly used to correct the fixed audio and picture asynchronous phenomenon that occurs during streaming. When to call: After calling the createMediaDataPublisher function to create a media data publisher.

  • delayTime Video playback time.Required: Yes.Value range: 0, 100 ms.

Implementation

Future<void> setVideoSendDelayTime(int delayTime);