seekToPdtTime method
此接口仅播放器高级版本(Player_Premium)支持,需要购买播放器移动端高级版 License 跳转到视频流指定PDT时间点, 可实现视频快进,快退,进度条跳转等功能 播放器高级版 11.6 版本开始支持 @param pdtTimeMs 视频流PDT时间点,单位毫秒(ms)
This interface is only supported by the premium version of the player (Player_Premium), and you need to purchase the premium version of the player mobile license. Jump to the specified PDT time point of the video stream, which can realize video fast forward, fast rewind, progress bar jump and other functions. Player Premium version 11.6 starts to support @param pdtTimeMs video stream PDT time point, unit millisecond (ms)
Implementation
Future<void> seekToPdtTime(int pdtTimeMs) async {
if (_isNeedDisposed) return;
await _initPlayer.future;
await _vodPlayerApi.seekToPdtTime(IntPlayerMsg()
..value = pdtTimeMs
..playerId = _playerId);
}