mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
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:
parent
94e7eb8e9d
commit
b356ad9e61
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue