question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HLS variant wrongly guessed as video (it is audio)

See original GitHub issue

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

What version of Shaka Player are you using? 2.5.0-beta3

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

Can you reproduce the issue with the latest code from master? yes

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

If custom app, can you reproduce the issue using our demo app?

What browser and OS are you using? Mac with Chrome and Safari

For embedded devices (smart TVs, etc.), what model and firmware version are you using?

What are the manifest and license server URIs? sent via email

What did you do?

load manifest in demo app

What did you expect to happen? content play with video and audio

What actually happened? only audio is playing no video

apparently the “guess audio” / “guess video” part of the code is not working for our manifest it wrongly guess that an audio only variant is a video variant as a side effect, when choosing best codec, it removes all the video codec and only keep mp4a audio ones

maybe our manifest dont respect best practice i don’t know

thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:13 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
vaagecommented, Apr 2, 2019

@fadomire we will be investing resources in HLS in our 2.7 release. Our initial implementation has grown old and if I remember correctly was only meant to cover the core elements of HLS, not all. The best way to get the spec-issue resolved, will be to file an issue citing the part of the spec that we are not respecting. This will make it easier for us to allocate resources to. In this case, I would actually suggest that you file it as a feature request since it would be extending our implementation to include an additional spec detail.

As for skipping variants, I would suggest that you open another issue that focuses on that. If you can host a copy of your manifest with the Audiodescription uris included and file a bug saying that variants are being skipped, we will be more able to dedicate resources to investigating that issue.

0reactions
shaka-botcommented, Jul 15, 2019

Closing due to inactivity. If this is still an issue for you or if you have further questions, you can ask us to reopen or have the bot reopen it by including @shaka-bot reopen in a comment.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HLS variant wrongly guessed as video (it is audio) · Issue #1850
With media source initialized for audio and video, if either stream was not appending data, the player would stall, it is not doing...
Read more >
HLS AVPlayerItem producing unknown error, -15419
We're using 3 tracks; Media, Audio, and IFrame. It appears to happen when we're seeking. However, it appears the seek succeeds, we just...
Read more >
HLS with different audio and video quality - ffmpeg
Perhaps the player opens the first Variant Stream, then guessing from (because there are no CODEC attributes) that it assumes all Variants ......
Read more >
How to encode one input file to multiple HLS streams with ...
A sample snippet that will produce three variant HLS renditions, assuming that the incoming video stream has a frame rate of 29.97 fps, ......
Read more >
HLS playback in ExoPlayer - Medium
In the case of a variant switch, ExoPlayer prevents playback discontinuities by ... An incorrect guess can cause position jumps in playback, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found