Hi there
I’m having a problem on webOS where the stream freezes whenever I switch to an audio track with a different codec.
Given are the three audio tracks below
- Switching from
trackA
totrackB
→ works fine - Changing from
trackB
totrackA
→ works fine - Change from
trackA
totrackC
→ Stream freezes - Moving from
trackC
totrackA
→ Stream freezes
Setting the audio track is done with the setAudio()
method. webOS module is added to the player. The same implementation works fine on Tizen.
Has anyone experienced the same behaviour and has a solution for me?
Best,
Marc
const trackA = {
id: "audio/mp4-1",
label: "de",
lang: "de"
role: undefined
getQualities: () => [{
bitrate: 12800,
codec: "mp4a.40.2",
id: "2",
label: "128kbps"
}]
}
const trackB = {
id: "audio/mp4-2",
label: "en",
lang: "en"
role: undefined
getQualities: () => [{
bitrate: 12800,
codec: "mp4a.40.2",
id: "4",
label: "128kbps"
}]
}
const trackC = {
id: "audio/mp4-3",
label: "de",
lang: "de"
role: undefined
getQualities: () => [{
bitrate: 256000,
codec: "ec-3",
id: "3",
label: "256kbps"
}]
}