How does HLS auto play when it's in the queue? #1546
Unanswered
anasqadrei
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My tracks list is something like this:
I initialised my player like this:
I have a Play button that runs
TrackPlayer.play()
and a Next button that runsTrackPlayer.skipToNext()
They all work fine except track 2 does not auto play when track 1 finishes (or when I click next from track 1). It moves to track 2 but does not play. I have to press on play for track 2 to actually play.
That doesn't happen to track 3. When track 2 finishes (or when I press next), it goes automatically to track 3 and auto plays it.
I tried with different tracks. It only has this behaviour with hls/m3u8 tracks. Is that the normal behaviour? Am I missing something? I tried adding
"type": "hls"
in the above array and have"hls": true
intrack-player.json
but nothing changed.I ran it on iOS simulator and a real iPhone device. Same behaviour. Haven't tried on android yet.
Beta Was this translation helpful? Give feedback.
All reactions