You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have you read the FAQ and checked for duplicate open issues?
Yes
If the question is related to FairPlay, have you read the tutorial?
No
What version of Shaka Player are you using?
4.10.9
What browser and OS are you using?
Chrome on iOS
Please ask your question
I am trying to play a HLS manifest where the segment URIs on it does not have a extension, which makes shaka to try to retrieve the segment basic info from the segment request content-type header. In my case, this will return application/octet-stream. When that happens, none of the conditions regarding mimeType and extension will be satisfied and shaka will return a basic info where the type will be application/octet-stream back to convertParsedPlaylistIntoStreamInfo_ method. Shaka will then call makeStreamObject_ passing application/octet-stream as the type and, within makeStreamObject_ method, shaka will call guessMimeTypeFallback_ which will throw an error TypeError: Cannot read properties of undefined (reading 'get') because shaka.hls.HlsParser.EXTENSION_MAP_BY_CONTENT_TYPE_[contentType] map does not have an entry to application/octet-stream.
This issue does not happen on 4.9.x versions.
4.9.x versions will use mime type set in HlsManifestConfiguration.mediaPlaylistFullMimeType instead of throwing an error.
The text was updated successfully, but these errors were encountered:
We need the following information in order to help you.
**What are the manifest and license server URIs?**
<!-- NOTE:
You can send the URIs to <[email protected]> instead,
but please use GitHub and the template for the rest.
A copy of the manifest text or an attached manifest will **not** be
enough to reproduce your issue, and we **will** ask you to send a
URI instead. You can copy the URI of the demo app to send us the
exact asset, licence server, and settings you have selected there.
Avoid geo-blocked content if at all possible, as the contributors who diagnose
Shaka Player issues may not be able to access it.
If you send the URIs to email, the response time and resolution
will be much higher.
-->
Closing due to inactivity. If this is still an issue for you or if you have further questions, the OP can ask shaka-bot to reopen it by including @shaka-bot reopen in a comment.
Re-opening unresolved bug that was archived: #7119
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?
No
What version of Shaka Player are you using?
4.10.9
What browser and OS are you using?
Chrome on iOS
Please ask your question
I am trying to play a HLS manifest where the segment URIs on it does not have a extension, which makes shaka to try to retrieve the segment basic info from the segment request content-type header. In my case, this will return
application/octet-stream
. When that happens, none of the conditions regarding mimeType and extension will be satisfied and shaka will return a basic info where the type will beapplication/octet-stream
back toconvertParsedPlaylistIntoStreamInfo_
method. Shaka will then call makeStreamObject_ passingapplication/octet-stream
as the type and, withinmakeStreamObject_
method, shaka will callguessMimeTypeFallback_
which will throw an errorTypeError: Cannot read properties of undefined (reading 'get')
becauseshaka.hls.HlsParser.EXTENSION_MAP_BY_CONTENT_TYPE_[contentType]
map does not have an entry toapplication/octet-stream
.This issue does not happen on 4.9.x versions.
4.9.x versions will use mime type set in
HlsManifestConfiguration.mediaPlaylistFullMimeType
instead of throwing an error.The text was updated successfully, but these errors were encountered: