Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interstitial with a timeOffset > 0 breaks subtitle selection. #6768

Open
5 tasks done
matvp91 opened this issue Oct 10, 2024 · 0 comments
Open
5 tasks done

Interstitial with a timeOffset > 0 breaks subtitle selection. #6768

matvp91 opened this issue Oct 10, 2024 · 0 comments
Labels
Bug Interstitials Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix.
Milestone

Comments

@matvp91
Copy link
Contributor

matvp91 commented Oct 10, 2024

What version of Hls.js are you using?

v1.6.0-beta.1

What browser (including version) are you using?

Chrome 129.0.6668.100

What OS (including version) are you using?

macOS

Test stream

No response

Configuration

{
  "debug": true,
  "enableWorker": true,
  "lowLatencyMode": true,
  "backBufferLength": 90
}

Additional player setup steps

No response

Checklist

Steps to reproduce

Create a stream with 2 SUBTITLE tracks, without interstitials:

curl 'https://stitcher.mixwave.stream/session' \
  -H 'Content-Type: application/json' \
  --data-raw $'{"uri": "asset://3e57177f-aa7d-4e59-b174-133160cb7a1a"}'

Get the url from the response and play it with https://hlsjs-dev.video-dev.org/demo/. The first 8 seconds contain two text tracks, you can select them with the controls, they'll also appear.

Now, let's add an interstitial with a timeOffset > 0:

curl 'https://stitcher.mixwave.stream/session' \
  -H 'Content-Type: application/json' \
  --data-raw '{"uri":"asset://3e57177f-aa7d-4e59-b174-133160cb7a1a","interstitials":[{"timeOffset":10,"uri":"asset://3e57177f-aa7d-4e59-b174-133160cb7a1a"}]}'

Select a subtitle track when it did not reach the interstitial yet. The subtitle track is selected (& HLS.js API reflects the right state), but it's not shown.

Expected behaviour

Subtitles should be visible.

What actually happened?

Subtitles are not visible.

Console output

[log] > Debug logs enabled for "Hls instance" in hls.js version 1.6.0-beta.1
hls.ts:536 [log] > stopLoad
hls.ts:477 [log] > loadSource:https://stitcher.mixwave.stream/session/e5839c03-ff4e-45ed-88c6-8d49abded834/master.m3u8
stream-controller.ts:604 [log] > [stream-controller]: Trigger BUFFER_RESET
hls.ts:434 [log] > attachMedia
buffer-controller.ts:317 [log] > [buffer-controller]: created media source: MediaSource
level-controller.ts:347 [log] > [level-controller]: manifest loaded, 1 level(s) found, first bitrate: 2878961
abr-controller.ts:59 [log] > [abr]: setting initial bwe to 2878961
buffer-controller.ts:263 [log] > [buffer-controller]: 2 bufferCodec event(s) expected.
level-controller.ts:390 [log] > [level-controller]: auto startLoad with configured startPosition -1
hls.ts:520 [log] > startLoad(-1)
level-controller.ts:449 [log] > [level-controller]: Switching to level 0 (480p SDR avc1,mp4a @2878961) from level -1
audio-track-controller.ts:186 [log] > [audio-track-controller]: Updating audio tracks, 1 track(s) found in group(s): audio
audio-track-controller.ts:332 [log] > [audio-track-controller]: Switching to audio-track 0 "ENGLISH" lang:undefined group:audio channels:2
base-stream-controller.ts:1825 [log] > [audio-stream-controller]: Reset loading state
subtitle-track-controller.ts:285 [log] > [subtitle-track-controller]: Updating subtitle tracks, 2 track(s) found in "text" group-id
level-controller.ts:647 [log] > [level-controller]: Loading level index 0 with https://stitcher.mixwave.stream/session/e5839c03-ff4e-45ed-88c6-8d49abded834/video_480_1500000_h264/playlist.m3u8
base-stream-controller.ts:1985 [log] > [stream-controller]: STOPPED->IDLE
audio-track-controller.ts:422 [log] > [audio-track-controller]: loading audio-track playlist 0 "ENGLISH" lang:undefined group:audio
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: STOPPED->WAITING_TRACK
base-stream-controller.ts:1985 [log] > [subtitle-stream-controller]: STOPPED->IDLE
buffer-controller.ts:1485 [log] > [buffer-controller]: Media source opened
buffer-controller.ts:1331 [log] > [buffer-controller]: checkPendingTracks (pending: 0 codec events expected: 2) {}
audio-track-controller.ts:100 [log] > [audio-track-controller]: Audio track 0 "ENGLISH" lang:undefined group:audio loaded [0-7]
stream-controller.ts:662 [log] > [stream-controller]: Level 0 loaded [0,6][part-6--1], cc [0, 0] duration:29.625
base-stream-controller.ts:1640 [log] > [stream-controller]: setting startPosition to 0 by default
interstitials-controller.ts:1409 [log] > [interstitials]: INTERSTITIALS_UPDATED (1): ["i0" 10.00-10.00]
Schedule: [primary: 0.00-10.00],["i0": 10.00-10.00],[primary: 10.00-29.63]
interstitials-controller.ts:942 [log] > [interstitials]: setSchedulePosition 0, undefined
interstitials-controller.ts:1633 [log] > [interstitials]: buffered to boundary [primary: 0.00-10.00]
interstitials-controller.ts:1154 [log] > [interstitials]: resuming [primary: 0.00-10.00]
hls.ts:520 [log] > startLoad(0)
base-stream-controller.ts:1985 [log] > [stream-controller]: IDLE->STOPPED
base-stream-controller.ts:1985 [log] > [stream-controller]: STOPPED->IDLE
base-stream-controller.ts:898 [log] > [stream-controller]: Loading main sn: initSegment of level 0 (frag:[0.000-0.000]) cc: 0 [0-6], target: 0
base-stream-controller.ts:1985 [log] > [stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: WAITING_TRACK->STOPPED
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: STOPPED->WAITING_TRACK
base-stream-controller.ts:1985 [log] > [subtitle-stream-controller]: IDLE->STOPPED
base-stream-controller.ts:1985 [log] > [subtitle-stream-controller]: STOPPED->IDLE
interstitials-controller.ts:1172 [log] > [interstitials]: resumed [primary: 0.00-10.00]
buffer-controller.ts:1308 [log] > [buffer-controller]: Updating MediaSource duration to 29.625
audio-track-controller.ts:100 [log] > [audio-track-controller]: Audio track 0 "ENGLISH" lang:undefined group:audio loaded [0-7]
audio-stream-controller.ts:529 [log] > [audio-stream-controller]: Audio track 0 loaded [0,7][part-7--1],duration:29.59
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: WAITING_TRACK->IDLE
base-stream-controller.ts:898 [log] > [audio-stream-controller]: Loading audio sn: initSegment of track 0 (frag:[0.000-0.000]) cc: 0 [0-7], target: 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: IDLE->FRAG_LOADING
timeline-chart.ts:754 Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: https://html.spec.whatwg.org/multipage/canvas.html#concept-canvas-will-read-frequently
drawLineX @ timeline-chart.ts:754
drawCurrentTime @ timeline-chart.ts:728
afterRender @ timeline-chart.ts:73
notify @ Chart.js:8032
onComplete @ Chart.js:9785
render @ Chart.js:9811
update @ Chart.js:9681
update @ timeline-chart.ts:252
(anonymous) @ timeline-chart.ts:263
requestAnimationFrame
updateOnRepaint @ timeline-chart.ts:263
updateLevelOrTrack @ timeline-chart.ts:464
updateLevelOrTrack @ main.js:1601
emit @ index.js:203
emit @ hls.ts:354
trigger @ hls.ts:362
onLevelLoaded @ audio-stream-controller.ts:510
emit @ index.js:203
emit @ hls.ts:354
trigger @ hls.ts:362
handlePlaylistLoaded @ playlist-loader.ts:681
handleTrackOrLevelPlaylist @ playlist-loader.ts:503
onSuccess @ playlist-loader.ts:318
readystatechange @ xhr-loader.ts:239
XMLHttpRequest.send
openAndSendXhr @ xhr-loader.ts:166
loadInternal @ xhr-loader.ts:125
load @ xhr-loader.ts:83
load @ playlist-loader.ts:351
onLevelLoading @ playlist-loader.ts:165
emit @ index.js:203
emit @ hls.ts:354
trigger @ hls.ts:362
loadPlaylist @ level-controller.ts:661
set @ level-controller.ts:498
set @ level-controller.ts:680
set @ hls.ts:697
startLoad @ stream-controller.ts:147
(anonymous) @ hls.ts:528
startLoad @ hls.ts:527
filterAndSortMediaOptions @ level-controller.ts:393
onManifestLoaded @ level-controller.ts:201
emit @ index.js:203
emit @ hls.ts:354
trigger @ hls.ts:362
handleMasterPlaylist @ playlist-loader.ts:428
onSuccess @ playlist-loader.ts:326
readystatechange @ xhr-loader.ts:239
XMLHttpRequest.send
openAndSendXhr @ xhr-loader.ts:166
loadInternal @ xhr-loader.ts:125
load @ xhr-loader.ts:83
load @ playlist-loader.ts:351
onManifestLoading @ playlist-loader.ts:153
emit @ index.js:203
emit @ hls.ts:354
trigger @ hls.ts:362
loadSource @ hls.ts:488
loadSelectedStream @ main.js:383
(anonymous) @ main.js:225
j @ jquery.min.js:2
fireWith @ jquery.min.js:2
ready @ jquery.min.js:2
I @ jquery.min.js:2
Show 9 more frames
Show lessUnderstand this warning
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: FRAG_LOADING->IDLE
base-stream-controller.ts:898 [log] > [audio-stream-controller]: Loading audio sn: 0 of track 0 (frag:[0.000-4.011]) cc: 0 [0-7], target: 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:1985 [log] > [stream-controller]: FRAG_LOADING->IDLE
base-stream-controller.ts:898 [log] > [stream-controller]: Loading main sn: 0 of level 0 (frag:[0.000-4.000]) cc: 0 [0-6], target: 0
base-stream-controller.ts:1985 [log] > [stream-controller]: IDLE->FRAG_LOADING
transmuxer-interface.ts:87 [log] > injecting Web Worker for "audio"
audio-stream-controller.ts:656 [log] > [audio-stream-controller]: Unknown video PTS for cc 0, waiting for video PTS before demuxing audio frag 0 of [0 ,7],track 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: FRAG_LOADING->WAITING_INIT_PTS
base-stream-controller.ts:519 [log] > [audio-stream-controller]: Loaded audio sn: 0 of track 0
transmuxer-interface.ts:87 [log] > injecting Web Worker for "main"
transmuxer-interface.ts:237 [log] > [transmuxer-interface, main]: Starting new transmux session for sn: 0 p: -1 level: 0 id: 1
        discontinuity: true
        trackSwitch: true
        contiguous: false
        accurateTimeOffset: true
        timeOffset: 0
        initSegmentChange: true
base-stream-controller.ts:519 [log] > [stream-controller]: Loaded main sn: 0 of level 0
86a8b007-d9be-42d0-8c9f-5fe52d8e74f9:1057 [log] > Debug logs enabled for "audio" in hls.js version 1.6.0-beta.1
86a8b007-d9be-42d0-8c9f-5fe52d8e74f9:1057 [log] > Debug logs enabled for "main" in hls.js version 1.6.0-beta.1
base-stream-controller.ts:1985 [log] > [stream-controller]: FRAG_LOADING->PARSING
stream-controller.ts:1452 [log] > [stream-controller]: Init video buffer, container:video/mp4, codecs[level/parsed]=[avc1.4d401e/avc1.4D401E}]
buffer-controller.ts:582 [log] > [buffer-controller]: BUFFER_CODECS: "video" (current SB count 0)
buffer-controller.ts:637 [log] > [buffer-controller]: switching codec undefined to avc1.4D401E
buffer-controller.ts:1331 [log] > [buffer-controller]: checkPendingTracks (pending: 1 codec events expected: 2) {"video":{"listeners":[],"codec":"avc1.4D401E","container":"video/mp4","levelCodec":"avc1.4d401e","id":"main"}}
audio-stream-controller.ts:136 [log] > [audio-stream-controller]: InitPTS for cc: 0 found from main: 0/1
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: WAITING_INIT_PTS->FRAG_LOADING
transmuxer-interface.ts:237 [log] > [transmuxer-interface, audio]: Starting new transmux session for sn: 0 p: -1 level: 0 id: 1
        discontinuity: true
        trackSwitch: true
        contiguous: false
        accurateTimeOffset: false
        timeOffset: 0
        initSegmentChange: true
transmuxer-interface.ts:393 [log] > [transmuxer.ts]: Flushed main sn: 0 of level 0
base-stream-controller.ts:1985 [log] > [stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [log] > [stream-controller]: Parsed main sn: 0 of level 0 (frag:[0.000-4.000])
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: FRAG_LOADING->PARSING
audio-stream-controller.ts:927 [log] > [audio-stream-controller]: Init audio buffer, container:audio/mp4, codecs[level/parsed]=[mp4a.40.2/mp4a.40.2]
buffer-controller.ts:582 [log] > [buffer-controller]: BUFFER_CODECS: "audio" (current SB count 0)
buffer-controller.ts:637 [log] > [buffer-controller]: switching codec undefined to mp4a.40.2
buffer-controller.ts:1331 [log] > [buffer-controller]: checkPendingTracks (pending: 2 codec events expected: 2) {"video":{"listeners":[],"codec":"avc1.4D401E","container":"video/mp4","levelCodec":"avc1.4d401e","id":"main"},"audio":{"listeners":[],"codec":"mp4a.40.2","container":"audio/mp4","levelCodec":"mp4a.40.2","id":"audio"}}
buffer-controller.ts:1400 [log] > [buffer-controller]: creating sourceBuffer(video/mp4;codecs=avc1.4D401E) Queued {"listeners":[],"codec":"avc1.4D401E","container":"video/mp4","levelCodec":"avc1.4d401e","id":"main"}
buffer-controller.ts:1400 [log] > [buffer-controller]: creating sourceBuffer(audio/mp4;codecs=mp4a.40.2) Queued {"listeners":[],"codec":"mp4a.40.2","container":"audio/mp4","levelCodec":"mp4a.40.2","id":"audio"}
stream-controller.ts:925 [log] > [stream-controller]: Alternate track found, use video.buffered to schedule main fragment loading
buffer-controller.ts:1369 [log] > [buffer-controller]: SourceBuffers created. Running queue: 
video: (SourceBuffer) change-type=video/mp4;codecs=avc1.4D401E, append-video, append-video, async-blocker
audio: (SourceBuffer) change-type=audio/mp4;codecs=mp4a.40.2
audiovideo: (none) }
buffer-controller.ts:685 [log] > [buffer-controller]: changing video sourceBuffer type to video/mp4;codecs=avc1.4D401E
buffer-controller.ts:685 [log] > [buffer-controller]: changing audio sourceBuffer type to audio/mp4;codecs=mp4a.40.2
transmuxer-interface.ts:393 [log] > [transmuxer.ts]: Flushed audio sn: 0 of track 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [log] > [audio-stream-controller]: Parsed audio sn: 0 of track 0 (frag:[0.000-4.011])
base-stream-controller.ts:705 [log] > [audio-stream-controller]: Buffered audio sn: 0 of track 0 (frag:[0.000-4.011] > buffer:[0.000-4.011])
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: PARSED->IDLE
base-stream-controller.ts:705 [log] > [stream-controller]: Buffered main sn: 0 of level 0 (frag:[0.000-4.000] > buffer:[0.000-4.000])
base-stream-controller.ts:1985 [log] > [stream-controller]: PARSED->IDLE
base-stream-controller.ts:898 [log] > [stream-controller]: Loading main sn: 1 of level 0 (frag:[4.000-8.000]) cc: 0 [0-6], target: 4
base-stream-controller.ts:1985 [log] > [stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:898 [log] > [audio-stream-controller]: Loading audio sn: 1 of track 0 (frag:[4.011-8.000]) cc: 0 [0-7], target: 4.011
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:519 [log] > [audio-stream-controller]: Loaded audio sn: 1 of track 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: FRAG_LOADING->PARSING
transmuxer-interface.ts:393 [log] > [transmuxer.ts]: Flushed audio sn: 1 of track 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [log] > [audio-stream-controller]: Parsed audio sn: 1 of track 0 (frag:[4.011-8.000])
base-stream-controller.ts:519 [log] > [stream-controller]: Loaded main sn: 1 of level 0
base-stream-controller.ts:1985 [log] > [stream-controller]: FRAG_LOADING->PARSING
transmuxer-interface.ts:393 [log] > [transmuxer.ts]: Flushed main sn: 1 of level 0
base-stream-controller.ts:1985 [log] > [stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [log] > [stream-controller]: Parsed main sn: 1 of level 0 (frag:[4.000-8.000])
base-stream-controller.ts:705 [log] > [audio-stream-controller]: Buffered audio sn: 1 of track 0 (frag:[4.011-8.000] > buffer:[0.000-8.000])
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: PARSED->IDLE
base-stream-controller.ts:898 [log] > [audio-stream-controller]: Loading audio sn: 2 of track 0 (frag:[8.000-12.011]) cc: 0 [0-7], target: 8
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:705 [log] > [stream-controller]: Buffered main sn: 1 of level 0 (frag:[4.000-8.000] > buffer:[0.000-8.000])
base-stream-controller.ts:1985 [log] > [stream-controller]: PARSED->IDLE
base-stream-controller.ts:898 [log] > [stream-controller]: Loading main sn: 2 of level 0 (frag:[8.000-12.000]) cc: 0 [0-6], target: 8
base-stream-controller.ts:1985 [log] > [stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:519 [log] > [audio-stream-controller]: Loaded audio sn: 2 of track 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: FRAG_LOADING->PARSING
transmuxer-interface.ts:393 [log] > [transmuxer.ts]: Flushed audio sn: 2 of track 0
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [log] > [audio-stream-controller]: Parsed audio sn: 2 of track 0 (frag:[8.000-12.011])
base-stream-controller.ts:519 [log] > [stream-controller]: Loaded main sn: 2 of level 0
base-stream-controller.ts:1985 [log] > [stream-controller]: FRAG_LOADING->PARSING
transmuxer-interface.ts:393 [log] > [transmuxer.ts]: Flushed main sn: 2 of level 0
base-stream-controller.ts:1985 [log] > [stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [log] > [stream-controller]: Parsed main sn: 2 of level 0 (frag:[8.000-12.000])
base-stream-controller.ts:705 [log] > [audio-stream-controller]: Buffered audio sn: 2 of track 0 (frag:[8.000-12.011] > buffer:[0.000-12.011])
base-stream-controller.ts:1985 [log] > [audio-stream-controller]: PARSED->IDLE
interstitials-controller.ts:1633 [log] > [interstitials]: buffered to boundary ["i0": 10.00-10.00] (10.00 remaining)
interstitials-controller.ts:1723 [log] > [interstitials]: Load interstitial asset 1/0 ["i0" 10.00-10.00]
base-stream-controller.ts:705 [log] > [stream-controller]: Buffered main sn: 2 of level 0 (frag:[8.000-12.000] > buffer:[0.000-12.000])
base-stream-controller.ts:1985 [log] > [stream-controller]: PARSED->IDLE
interstitials-controller.ts:1842 [log] > [interstitials]: create HLSAssetPlayer for ["i0-1-2756392424" 10.00-39.63]
logger.ts:102 [i0-1-2756392424] [log] > Debug logs enabled for "Hls instance" in hls.js version 1.6.0-beta.1
hls.ts:536 [i0-1-2756392424] [log] > stopLoad
hls.ts:477 [i0-1-2756392424] [log] > loadSource:https://cdn.mixwave.stream/package/3e57177f-aa7d-4e59-b174-133160cb7a1a/hls/master.m3u8?_HLS_primary_id=2a7e2805-09c1-4656-a090-5e011762f745
stream-controller.ts:604 [i0-1-2756392424] [log] > [stream-controller]: Trigger BUFFER_RESET
interstitials-controller.ts:1409 [log] > [interstitials]: INTERSTITIALS_UPDATED (1): ["i0" 10.00-10.00]
Schedule: [primary: 0.00-10.00],["i0": 10.00-10.00],[primary: 10.00-29.63]
level-controller.ts:347 [i0-1-2756392424] [log] > [level-controller]: manifest loaded, 1 level(s) found, first bitrate: 2878961
buffer-controller.ts:263 [i0-1-2756392424] [log] > [buffer-controller]: 2 bufferCodec event(s) expected.
level-controller.ts:390 [i0-1-2756392424] [log] > [level-controller]: auto startLoad with configured startPosition 0
hls.ts:520 [i0-1-2756392424] [log] > startLoad(0)
level-controller.ts:449 [i0-1-2756392424] [log] > [level-controller]: Switching to level 0 (480p SDR avc1,mp4a @2878961) from level -1
audio-track-controller.ts:186 [i0-1-2756392424] [log] > [audio-track-controller]: Updating audio tracks, 1 track(s) found in group(s): audio
audio-track-controller.ts:332 [i0-1-2756392424] [log] > [audio-track-controller]: Switching to audio-track 0 "ENGLISH" lang:undefined group:audio channels:2
base-stream-controller.ts:1825 [i0-1-2756392424] [log] > [audio-stream-controller]: Reset loading state
subtitle-track-controller.ts:285 [i0-1-2756392424] [log] > [subtitle-track-controller]: Updating subtitle tracks, 2 track(s) found in "text" group-id
level-controller.ts:647 [i0-1-2756392424] [log] > [level-controller]: Loading level index 0 with https://cdn.mixwave.stream/package/3e57177f-aa7d-4e59-b174-133160cb7a1a/hls/video_480_1500000_h264/playlist.m3u8
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [stream-controller]: STOPPED->IDLE
audio-track-controller.ts:422 [i0-1-2756392424] [log] > [audio-track-controller]: loading audio-track playlist 0 "ENGLISH" lang:undefined group:audio
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: STOPPED->WAITING_TRACK
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [subtitle-stream-controller]: STOPPED->IDLE
stream-controller.ts:662 [i0-1-2756392424] [log] > [stream-controller]: Level 0 loaded [0,6][part-6--1], cc [0, 0] duration:29.625
base-stream-controller.ts:898 [i0-1-2756392424] [log] > [stream-controller]: Loading main sn: initSegment of level 0 (frag:[0.000-0.000]) cc: 0 [0-6], target: 0
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [stream-controller]: IDLE->FRAG_LOADING
audio-track-controller.ts:100 [i0-1-2756392424] [log] > [audio-track-controller]: Audio track 0 "ENGLISH" lang:undefined group:audio loaded [0-7]
audio-stream-controller.ts:529 [i0-1-2756392424] [log] > [audio-stream-controller]: Audio track 0 loaded [0,7][part-7--1],duration:29.59
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: WAITING_TRACK->IDLE
base-stream-controller.ts:898 [i0-1-2756392424] [log] > [audio-stream-controller]: Loading audio sn: initSegment of track 0 (frag:[0.000-0.000]) cc: 0 [0-7], target: 0
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: FRAG_LOADING->IDLE
base-stream-controller.ts:898 [i0-1-2756392424] [log] > [audio-stream-controller]: Loading audio sn: 0 of track 0 (frag:[0.000-4.011]) cc: 0 [0-7], target: 0
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: IDLE->FRAG_LOADING
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [stream-controller]: FRAG_LOADING->IDLE
base-stream-controller.ts:898 [i0-1-2756392424] [log] > [stream-controller]: Loading main sn: 0 of level 0 (frag:[0.000-4.000]) cc: 0 [0-6], target: 0
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [stream-controller]: IDLE->FRAG_LOADING
transmuxer-interface.ts:87 [i0-1-2756392424] [log] > injecting Web Worker for "audio"
audio-stream-controller.ts:656 [i0-1-2756392424] [log] > [audio-stream-controller]: Unknown video PTS for cc 0, waiting for video PTS before demuxing audio frag 0 of [0 ,7],track 0
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: FRAG_LOADING->WAITING_INIT_PTS
base-stream-controller.ts:519 [i0-1-2756392424] [log] > [audio-stream-controller]: Loaded audio sn: 0 of track 0
86a8b007-d9be-42d0-8c9f-5fe52d8e74f9:1057 [log] > Debug logs enabled for "audio" in hls.js version 1.6.0-beta.1
transmuxer-interface.ts:87 [i0-1-2756392424] [log] > injecting Web Worker for "main"
transmuxer-interface.ts:237 [i0-1-2756392424] [log] > [transmuxer-interface, main]: Starting new transmux session for sn: 0 p: -1 level: 0 id: 1
        discontinuity: true
        trackSwitch: true
        contiguous: false
        accurateTimeOffset: true
        timeOffset: 0
        initSegmentChange: true
base-stream-controller.ts:519 [i0-1-2756392424] [log] > [stream-controller]: Loaded main sn: 0 of level 0
86a8b007-d9be-42d0-8c9f-5fe52d8e74f9:1057 [log] > Debug logs enabled for "main" in hls.js version 1.6.0-beta.1
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [stream-controller]: FRAG_LOADING->PARSING
stream-controller.ts:1452 [i0-1-2756392424] [log] > [stream-controller]: Init video buffer, container:video/mp4, codecs[level/parsed]=[avc1.4d401e/avc1.4D401E}]
buffer-controller.ts:582 [i0-1-2756392424] [log] > [buffer-controller]: BUFFER_CODECS: "video" (current SB count 0)
buffer-controller.ts:637 [i0-1-2756392424] [log] > [buffer-controller]: switching codec undefined to avc1.4D401E
audio-stream-controller.ts:136 [i0-1-2756392424] [log] > [audio-stream-controller]: InitPTS for cc: 0 found from main: 0/1
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: WAITING_INIT_PTS->FRAG_LOADING
transmuxer-interface.ts:237 [i0-1-2756392424] [log] > [transmuxer-interface, audio]: Starting new transmux session for sn: 0 p: -1 level: 0 id: 1
        discontinuity: true
        trackSwitch: true
        contiguous: false
        accurateTimeOffset: false
        timeOffset: 0
        initSegmentChange: true
transmuxer-interface.ts:393 [i0-1-2756392424] [log] > [transmuxer.ts]: Flushed main sn: 0 of level 0
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [i0-1-2756392424] [log] > [stream-controller]: Parsed main sn: 0 of level 0 (frag:[0.000-4.000])
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: FRAG_LOADING->PARSING
audio-stream-controller.ts:927 [i0-1-2756392424] [log] > [audio-stream-controller]: Init audio buffer, container:audio/mp4, codecs[level/parsed]=[mp4a.40.2/mp4a.40.2]
buffer-controller.ts:582 [i0-1-2756392424] [log] > [buffer-controller]: BUFFER_CODECS: "audio" (current SB count 0)
buffer-controller.ts:637 [i0-1-2756392424] [log] > [buffer-controller]: switching codec undefined to mp4a.40.2
transmuxer-interface.ts:393 [i0-1-2756392424] [log] > [transmuxer.ts]: Flushed audio sn: 0 of track 0
base-stream-controller.ts:1985 [i0-1-2756392424] [log] > [audio-stream-controller]: PARSING->PARSED
base-stream-controller.ts:1947 [i0-1-2756392424] [log] > [audio-stream-controller]: Parsed audio sn: 0 of track 0 (frag:[0.000-4.011])

Chrome media internals output

N/A
@matvp91 matvp91 added Bug Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix. labels Oct 10, 2024
@robwalch robwalch added this to the 1.6.0 milestone Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Interstitials Needs Triage If there is a suspected stream issue, apply this label to triage if it is something we should fix.
Projects
Status: In Progress
Development

No branches or pull requests

2 participants