comments
This commit is contained in:
parent
184f65eab6
commit
3b23b18a28
2 changed files with 5 additions and 2 deletions
BIN
android/app/libs/fijkplayer-full-release_original.aar
Normal file
BIN
android/app/libs/fijkplayer-full-release_original.aar
Normal file
Binary file not shown.
|
@ -32,7 +32,7 @@ class IjkPlayerAvesVideoController extends AvesVideoController {
|
|||
@override
|
||||
final double minSpeed = .5;
|
||||
|
||||
// android.media.AudioTrack fails with speed > 2
|
||||
// ijkplayer configures `AudioTrack` buffer for a maximum speed of 2
|
||||
@override
|
||||
final double maxSpeed = 2;
|
||||
|
||||
|
@ -178,7 +178,10 @@ class IjkPlayerAvesVideoController extends AvesVideoController {
|
|||
|
||||
// `soundtouch`: enable SoundTouch
|
||||
// default: 0, in [0, 1]
|
||||
// slowed down videos with SoundTouch enabled have a weird wobbly audio
|
||||
// `SoundTouch` cannot be enabled/disabled after video is `prepared`
|
||||
// When `SoundTouch` is enabled:
|
||||
// - slowed down videos have a weird wobbly audio
|
||||
// - we can set speeds higher than the `AudioTrack` limit of 2
|
||||
options.setPlayerOption('soundtouch', 0);
|
||||
|
||||
// `subtitle`: decode subtitle stream
|
||||
|
|
Loading…
Reference in a new issue