Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLSParser: MEDIA_SEGMENT request in getMediaPlaylistBasicInfo_ causes load latency #6627

Closed
yyamaguchi93 opened this issue May 16, 2024 · 1 comment · Fixed by #6629
Closed
Assignees
Labels
component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@yyamaguchi93
Copy link

yyamaguchi93 commented May 16, 2024

Have you read the Tutorials? Yes

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

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

N/A

What version of Shaka Player are you using? v4.8.4

What browser and OS are you using? MacOS Sonoma 14.4.1 Google Chrome

Please ask your question
When loading a DRM HLS content to the Shaka Player, the second MEDIA_SEGMENT request made in getMediaPlaylistBasicInfo_ in HLS Parser causes significant delay when loading manifest by fetching the entire media segment.

In the screenshot, the second request with the size of 157MB is fetched. Is this necessary? Is there a way to workaround this?
Screenshot 2024-05-16 at 3 50 12 PM

Code Snippet:

player.configure(
drm: { 'com.widevine.alpha': <licenseServerURL> },
manifest: {
   hls: { mediaPlaylistFullMimeType: 'audio/mp4; codecs="mp4a.40.2"' }
}
}
player.load("https://test.com/v1/manifest-translator/manifests/hls/com.widevine.alpha/236a494a9b504d7f226234827468b62ac82f52a5/audio/10/master.m3u8");
...

Example manifest file:
master.m3u8.txt

@yyamaguchi93 yyamaguchi93 added the type: question A question from the community label May 16, 2024
@avelad avelad added type: bug Something isn't working correctly component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround and removed type: question A question from the community labels May 17, 2024
@avelad
Copy link
Collaborator

avelad commented May 17, 2024

There is a bug when load a Media Playlist that uses byterange.

@avelad avelad self-assigned this May 17, 2024
@shaka-bot shaka-bot added this to the v4.9 milestone May 17, 2024
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Jul 16, 2024
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Jul 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: HLS The issue involves Apple's HLS manifest format priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
3 participants