Returning from an interstitial playlist causes renderer disable and then reenable
I maintainer di solito rispondono entro 4 giorni
@tonihei ci sta già lavorando.
Dal 8/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Version
Media3 1.11.0
Description
Let's assume we are playing a playlist with several interstitial playlists, so the resulting playback looks like AaBbC, where (A), (B) and (C) are from the main playlist and (a) and (b) are interstitial playlists. The result is that between (a) and (B) the player is disabling and then reenabling the renderers. This happens because the player creates in MediaPeriodHolder.createMediaPeriod() a ClippingMediaPeriod for (A) and (B) (but not for (C) which has endPositionUs = C.TIME_UNSET).
Both new ClippingMediaPeriod() calls have enableInitialDiscontinuity=false (as isPrecededByTransitionFromSameStream=false) and such initial discontinuity causes renderers restart at the moment (B) starts playback. Modifying code to have enableInitialDiscontinuity=true for the periods following interstitials solves this problem.
Devices that reproduce the issue
Was reproduced on a proprietary Android device, but I do not believe the device is important.
Reproducible in the demo app?
Yes
Note: The demo app was modified to allow playback of the content with interstitials.
Reproduction steps
Play a VoD content with several interstitials with SNAP=IN,
The main VoD content and all the interstitials should use the same set of video variants.
Expected result
Smooth playback with all the transitions from the main content to interstitials and back happening without the renderers being disabled (and then reenabled).
Actual result
Returning from all but the last interstitial playlist causes renderer disable/re-enable (and as a result quite a noticeable "hesitation" in the playback).
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 998
- Merge medio
- 6g 8h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di androidx/media
-
HLS: muxed Dolby TrueHD audio is dropped during chunkless preparation when CODECS lists "mlpa"Forse già presa @marcbaechinger l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
androidx/media#3485 · 1 assegnatario ·
I maintainer di solito rispondono entro 4 giorni
-
MediaSessionService: the platform session keeps every player command and publishes the whole queue until the session is added, e.g. after a sticky restartForse già presa @marcbaechinger l’ha presa 1 giorno fa. Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
androidx/media#3490 · 3 commenti · 1 assegnatario ·
I maintainer di solito rispondono entro 4 giorni
-
Gapless MP4/AAC from FFmpeg: padding derived as 0 from the edit list, so the rest of the last frame plays at each joinForse già presa @rohitjoins l’ha presa 1 giorno fa. Apertabug needs triage
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
androidx/media#3489 · 1 assegnatario ·
I maintainer di solito rispondono entro 4 giorni
-
DTS-HD passthrough never retries a failed AudioTrack since the 1-second retry minimum (#3207)Forse già presa @microkatz l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 57/100
androidx/media#3487 · 1 assegnatario ·
I maintainer di solito rispondono entro 4 giorni
-
Dolby Vision Profile 7 is sent to a Profile 5 decoder on DV displays without a Profile 7 decoderForse già presa @microkatz l’ha presa 1 giorno fa. Aperta
Difficoltà 4/5 1-2 giorni Idoneità per principianti 48/100
androidx/media#3486 · 1 assegnatario ·
I maintainer di solito rispondono entro 4 giorni
Tutte le issue di androidx/media
Issue simili
-
agent:working bug follow-up lane:auto
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Sanne/incus-spawn#1765 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
checkstyle/checkstyle#22260 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
strimzi/strimzi-kafka-operator#13328 · 1 commento · 3 reazioni ·
I maintainer di solito rispondono entro 1 giorno