[Webkit-unassigned] [Bug 188068] New: Safari HLS playback ignores DEFAULT attribute for audio tracks, selects first listed in manifest
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 26 11:54:03 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=188068
Bug ID: 188068
Summary: Safari HLS playback ignores DEFAULT attribute for
audio tracks, selects first listed in manifest
Product: WebKit
Version: Safari 11
Hardware: Macintosh
OS: OS X 10.11
Status: NEW
Severity: Normal
Priority: P2
Component: Media Elements
Assignee: webkit-unassigned at lists.webkit.org
Reporter: gesinger at gmail.com
With Safari's native HLS playback, if a master manifest contains demuxed audio and video, Safari will ignore the DEFAULT attribute on audio tracks and instead start playback with the first listed track.
This can be seen with the following manifest: http://d2zihajmogu5jn.cloudfront.net/elephantsdream/hls/ed_hd_ad.m3u8
Steps to Reproduce:
1) Create a simple video player on a page, e.g.,
<video controls>
<source src="http://d2zihajmogu5jn.cloudfront.net/elephantsdream/hls/ed_hd_ad.m3u8" type="application/x-mpegURL" />
</video>
2) Load the page in Safari and play the video
Expected Behavior:
If the audio group with ID "ed_audio_64k" is chosen, then the track with NAME="Main" should be chosen, as it has DEFAULT=YES.
Seen Behavior:
The audio group with ID "ed_audio_64k" is chosen, but the first listed track, with NAME="Audio Described" is chosen, even though it has DEFAULT=NO.
Other observations:
We've also seen this behavior when the AUTOSELECT attributes were removed, and we've seen it with and without CHARACTERISTICS="public.accessibility.describes-video" added to to the described audio track.
The first track listed in the manifest is always chosen.
Although the HLS specification says that the DEFAULT attribute only "SHOULD" be considered, in the absence of other hints from the manifest or gleaned by the player, the DEFAULT attribute should probably be considered and the track with YES chosen over the track with NO, regardless of order.
Please let me know if you need any more information, and thank you.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180726/961939c7/attachment.html>
More information about the webkit-unassigned
mailing list