seekTo abstract method

Future<void> seekTo(
  1. int millisecond
)

Specify the starting point of the current video file publishing.

Available since: 2.17.0 Description: Specify the starting point of the current video file publishing. When to call: Called at any point between OnMediaDataPublisherFileOpen and OnMediaDataPublisherFileClose. For example: this function can be called directly in the OnMediaDataPublisherFileOpen callback.

  • millisecond The timestamp of the start of streaming (relative to the timestamp of the file currently being published, the starting value is 0). the unit is milliseconds

Implementation

Future<void> seekTo(int millisecond);