Skip to content

Safari HLS select audio track doesn't work #8856

@ChristiaanScheermeijer

Description

@ChristiaanScheermeijer

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

If the problem is related to FairPlay, have you read the tutorial?
No

What version of Shaka Player are you using?
4.15.5

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
I haven't tried yet

Are you using the demo app or your own custom app?
Custom app

If custom app, can you reproduce the issue using our demo app?
No

What browser and OS are you using?
Safari MacOS

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
N/a

What are the manifest and license server URIs?
https://cdn.jwplayer.com/manifests/89EYHu3d.m3u8
https://cdn.jwplayer.com/manifests/eYjpu0Os.m3u8

What configuration are you using? What is the output of player.getNonDefaultConfiguration()?
{}

What did you do?

  • Open URL (load video)
  • Start playback
  • Press the language icon in the controlbar
  • Select a different language track

What did you expect to happen?
The language track should change and the UI should update the active language track

What actually happened?
The language doesn't change using the Shaka UI or programmatically using selectAudioTrack. It does work when I use selectAudioLanguage, but this only works using a custom UI.

With mime type:
Image

Without mime type
Image

Are you planning to send a PR to fix it?
Not sure yet.

Additional information
I believe this only happens when the load mode is set to SRC_EQUALS, but we need this in order to support Airplay. I don't know why this is working correctly on the demo page.

Load method Airplay DRM Select audio track
player.load(src, undefined, 'application/x-mpegURL')
player.load(src)

Metadata

Metadata

Assignees

Labels

component: HLSThe issue involves Apple's HLS manifest formatpriority: P2Smaller impact or easy workaroundtype: bugSomething isn't working correctly

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions