shaka-player icon indicating copy to clipboard operation
shaka-player copied to clipboard

"Changing tracks while abr manager is enabled" warning clarification.

Open Kerryliu opened this issue 9 months ago • 0 comments

Have you read the Tutorials? Yes

Have you read the FAQ and checked for duplicate open issues? Yes

What version of Shaka Player are you using? 4.8.5

What browser and OS are you using? Chrome 125.0.6422.61. Windows 11.

Please ask your question I'm getting the following warning when calling player.selectAudioLanguage. E.g.: player.selectAudioLanguage("en", "public.accessibility.describes-video");. Other than the warning, the audio track changes, as expected.

Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().

If this is the incorrect method to use for changing audio tracks, please let me know. However, this warning seems to also occur on the Shaka Player Demo site when changing audio tracks, so I'm not sure if this is a harmless warning or something that I should investigate further.

Kerryliu avatar May 24 '24 00:05 Kerryliu