HLSParser: MEDIA_SEGMENT request in getMediaPlaylistBasicInfo_ causes load latency #6627
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
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/AWhat 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](https://cdn.statically.io/img/private-user-images.githubusercontent.com/132605593/331405918-b471269b-903d-4677-b31a-1615afa52aaa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NTYxOTgsIm5iZiI6MTcyMTQ1NTg5OCwicGF0aCI6Ii8xMzI2MDU1OTMvMzMxNDA1OTE4LWI0NzEyNjliLTkwM2QtNDY3Ny1iMzFhLTE2MTVhZmE1MmFhYS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMFQwNjExMzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0zMDllYzFmNjY2OTE4MTE3MzRlMGExNzcxYjEzNzM2NDRlNmM5MTE2ZWYyODg1OGVjNjRhOTViNzJlN2ZkNDU2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.HXtWbGZl1Gz_iOHSQQgNbgi1xjZC2H2VLM1eLzvBpDo)
Code Snippet:
Example manifest file:
master.m3u8.txt
The text was updated successfully, but these errors were encountered: