fix: 直播倍速异常
This commit is contained in:
@ -443,11 +443,15 @@ class PlPlayerController {
|
||||
Duration seekTo = Duration.zero,
|
||||
}) async {
|
||||
// 设置倍速
|
||||
if (videoType.value == 'live') {
|
||||
await setPlaybackSpeed(1.0);
|
||||
} else {
|
||||
if (_playbackSpeed.value != 1.0) {
|
||||
await setPlaybackSpeed(_playbackSpeed.value);
|
||||
} else {
|
||||
await setPlaybackSpeed(1.0);
|
||||
}
|
||||
}
|
||||
getVideoFit();
|
||||
// if (_looping) {
|
||||
// await setLooping(_looping);
|
||||
|
Reference in New Issue
Block a user