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

HLS Manifest is not detected #769

Closed
boredom2 opened this issue Apr 30, 2017 · 8 comments
Closed

HLS Manifest is not detected #769

boredom2 opened this issue Apr 30, 2017 · 8 comments
Assignees
Labels
component: HLS The issue involves Apple's HLS manifest format status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@boredom2
Copy link

  • What version of Shaka Player are you using?
    2.1.0

    • Can you reproduce the issue with our latest release version?
      yes

    • Can you reproduce the issue with the latest code from master?
      didnt try

  • Are you using the demo app or your own custom app?
    both

    • If custom app, can you reproduce the issue using our demo app?
      yes
  • What browser and OS are you using?
    Safari 10, MacOS 10.12.4

  • What did you do?
    Testing HLS with our Azure CDN, which is able to playout HLS

  • What did you expect to happen?
    The Manifest gets accepted and played (like Safari itself does)

  • What actually happened?
    DASH ERROR occured - MANIFEST.UNABLE_TO_GUESS_MANIFEST_TYPE
    I agree, that this is a rather ununsual File Extension in the URL :P, but the Content Type, submitted by the CDN seems to be correct, thats why its unclear for me, why this Manifest could not get identified?

@ismena
Copy link
Contributor

ismena commented May 1, 2017

Hi @boredom2,
The mime type of the file is "application/vnd.apple.mpegurl", and our parser didn't recognize it as HLS. (That's the first time I see the mime type like this as well :)).
Let me try adding it to HLS mime types and see how it goes.

@ismena
Copy link
Contributor

ismena commented May 1, 2017

Okay, so registering it as HLS helps, but then the parser starts getting trouble with guessing the mime type of the media segments. It will take a bit of time to figure out how to approach this best, but we're on it!

@TheModMaker TheModMaker added type: bug Something isn't working correctly component: HLS The issue involves Apple's HLS manifest format labels May 1, 2017
@TheModMaker TheModMaker added this to the v2.2.0 milestone May 1, 2017
@boredom2
Copy link
Author

boredom2 commented May 2, 2017

Thanks for looking into this. Thats the default HLS Output from Microsoft Azure Media Services - who would have thought, that they make it so difficult :)

@ismena ismena self-assigned this May 2, 2017
@ismena
Copy link
Contributor

ismena commented May 3, 2017

Okay, it should work now.
Please note that the manifest lacks some other info as well (they don't provide language info for audio, for example, so the tracks will have language set to undefined ('und')).

@boredom2
Copy link
Author

boredom2 commented May 3, 2017

Thanks!

joeyparrish pushed a commit that referenced this issue May 8, 2017
Closes #769.

Change-Id: I8692fb0e9e851a31f38d04ab3bfeece0a1ea3375
@joeyparrish
Copy link
Member

This is being cherry-picked to v2.1.1.

@geniusq1981
Copy link

is this bug fixed in 2.3.0? but I still meet same error for some URL : "Unable to guess manifest type by file extension or by MIME type. undefined application/vnd.apple.mpegurl;charset=utf-8"

@joeyparrish
Copy link
Member

@geniusq1981, this was fixed in v2.1.1 and v2.2.0 back in May. If you are having issues with the latest release, please file a new issue and provide a content URL so that we can reproduce the issue. If you cannot provide a manifest URL publicly, the issue template contains an email address where you can send the link privately, in addition to your public bug report. Thanks!

@shaka-project shaka-project locked and limited conversation to collaborators Mar 22, 2018
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Apr 15, 2021
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 status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
Development

No branches or pull requests

6 participants