Closed WINOFFRG closed 12 months ago
Tried debugging the issue found that HLS Parser filters outs the HLS Tags where uri
is missing, In the case above instead of URI it's assigned via GROUP-ID
this function below skips the respective #EXT-X-MEDIA
tag
As per RFC8216 the URI attribute is optional which we are forcing here https://github.com/shaka-project/shaka-player/blob/main/lib/hls/hls_parser.js#L1795-L1796 Not sure but that's all what I could find.
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.
@theodab can you review it?
@WINOFFRG can you provide a public url? Thanks!
Hi! Sorry I don't have any public sample at the moment. However I can share it with you over Slack if that's okay with you. However, it's Geo Restricted for India.
Public sample stream: https://s3.amazonaws.com/qa.jwplayer.com/~alex/121628/new_master.m3u8
Yes this is similar, The issue is same here tags aren't parsed.
Hi! Any updates on this issue?
Have you read the FAQ and checked for duplicate open issues? Yes
What version of Shaka Player are you using? v4.3.8 (uncompiled)
Can you reproduce the issue with our latest release version? Yes
Can you reproduce the issue with the latest code from
main
? YesAre you using the demo app or your own custom app? Demo
If custom app, can you reproduce the issue using our demo app? NA
What browser and OS are you using? Windows 11, Chrome v115
For embedded devices (smart TVs, etc.), what model and firmware version are you using? NA
What are the manifest and license server URIs?
Sent over mail
What configuration are you using? What is the output of
player.getConfiguration()
?Default Configuration
What did you do?
Loaded the Manifest
What did you expect to happen? HLS Manifest has the
#EXT-X-MEDIA
tag however it isn't parsed properly attributes like Name, Deault, Language ... Tag:What actually happened?
I see language as
und
and rest values asnull