CS3IPlayer: fix buffer lost when seeked to backward (#448)

* CS3IPlayer: fix buffer lost when seeked to backward

* changed BUFFER_MS
This commit is contained in:
Shif-Jess 2023-04-11 16:46:39 +07:00 committed by GitHub
parent 94e7eb8e9d
commit b356ad9e61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -712,6 +712,10 @@ class CS3IPlayer : IPlayer {
if (cacheSize > Int.MAX_VALUE) Int.MAX_VALUE else cacheSize.toInt()
}
)
.setBackBuffer(
30000,
true
)
.setBufferDurationsMs(
DefaultLoadControl.DEFAULT_MIN_BUFFER_MS,
if (videoBufferMs <= 0) {