Commit f98c2ab
[HLS] Do not try to seek inside buffer when no chunks are in the buffer
When a `HlsSampleStreamWrapper` has no tracks enabled after track selection, it will clear the `mediaChunks` as well as the the sample queue. However, when the tracks of it are newly re-enabled, we should not attempt to seek inside buffer while there is still no chunks at least partially in the buffer.
Issue: #2598
PiperOrigin-RevId: 783754042
(cherry picked from commit ded7742)1 parent 9c1276f commit f98c2ab
File tree
2 files changed
+8
-1
lines changed- libraries/exoplayer_hls/src/main/java/androidx/media3/exoplayer/hls
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
516 | 516 | | |
517 | 517 | | |
518 | 518 | | |
519 | | - | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
520 | 523 | | |
521 | 524 | | |
522 | 525 | | |
| |||
0 commit comments