Description
Based on the HLS spec
The URI attribute of the EXT-X-MEDIA tag is REQUIRED if the media
type is SUBTITLES, but OPTIONAL if the media type is VIDEO or AUDIO.
If the media type is VIDEO or AUDIO, a missing URI attribute
indicates that the media data for this Rendition is included in the
Media Playlist of any EXT-X-STREAM-INF tag referencing this EXT-
X-MEDIA tag. If the media TYPE is AUDIO and the URI attribute is
missing, clients MUST assume that the audio data for this Rendition
is present in every video Rendition specified by the EXT-X-STREAM-INF
tag.
There is a missing logic in Shaka-player HLS parser which is the URI attribute should be optional if the media type is VIDEO or AUDIO. Current Shaka-player(version:2.2.4) sees them are all REQUIRED.
Please let me know if the above statements are true. If it's true, is there any plan to add this missing logic to the HLS parser? I might be able to help for creating PR for this. Thanks!
Activity