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.

Cannot load HLS live stream due to error

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.4.6

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? Custom app.

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

What browser and OS are you using? Google Chrome 71.0.3578.98 on Mac OSX 10.13.6

For embedded devices (smart TVs, etc.), what model and firmware version are you using? Samsung Tizen 2017 TV (UN43MU6300 Model) (3.0 Platform) w/ retail T-KTMAKUC-1250.5 Firmware

What are the manifest and license server URIs?

HLS Manifest: https://rcavlive.akamaized.net/hls/live/664044/cancbft/master.m3u8?hdnts=st=1548776386~exp=1548776506~acl=/hls/live/664044/cancbft*~hmac=decbed6e6be38b1f0a96d2d15c36592864c58c308285c8044e90cc654f42fdb3

What did you do?

Tried to load an unencrypted HLS live stream manifest.

Fiddle: https://jsfiddle.net/t4s1ko9u

What did you expect to happen? I expected that the HLS live stream would load and begin playing.

I have also tested this same live stream manifest on both Tizen’s built in video player on both 2017 and 2018 TVs and the HLS reference player, and it plays without error.

What actually happened?

The HLS live stream failed to load with MANIFEST.HLS_COULD_NOT_PARSE_SEGMENT_START_TIME / 4030 error on Shaka 2.4.6.

On Shaka 2.5.0-beta2 the error message appears to be different: Shaka Error MANIFEST.HLS_REQUIRED_ATTRIBUTE_MISSING (URI) / 4023

I also saw additional output in the console when using Shaka 2.4.6:

Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_dv/00008/master_dv_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_dv/00008/master_dv_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_dv/00008/master_dv_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_128/00008/master_128_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_128/00008/master_128_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_128/00008/master_128_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_128/00008/master_128_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_128/00008/master_128_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_128/00008/master_128_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_dv/00008/master_dv_01043.aac
Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive!  Your server should support Range requests and CORS preflights. https://rcavlive.akamaized.net/hls/live/664044/cancbft/20190128T093659/master_dv/00008/master_dv_01043.aac

It seems to me like this is partially a manifest issue, but also something that is possibly not being handled correctly. Any help on this would be much appreciated. Thank you!

EDIT: Formatting.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
chrisfillmorecommented, Feb 8, 2019

@kevinscroggins-youi I am in Ontario so I took a look at your content and reproduced your issue using Shaka v2.4.6.

HlsParser#getStartTime_ throws HLS_COULD_NOT_PARSE_SEGMENT_START_TIME because mimeType is audio/aac, which is apparently not supported (see issue #1083). @vaage does this make sense? If you have any follow-up questions let me know and I’m happy to test again.

See the state of HlsParser at the point of the error below:

screen shot 2019-02-08 at 3 52 05 pm

1reaction
vaagecommented, Feb 5, 2019

@kevinscroggins-youi We will need the content hosted or else won’t be able to reproduce the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Troubleshoot Your HLS Live Stream - Dacast
The first step in troubleshooting an HLS live stream error is to check your encoder. Encoder settings can cause a number of different...
Read more >
Fixes 2022: Cannot Load M3U8 in Google Chrome on Windows
Here are several good solutions to these three types of M3U8 playback errors: Crossdomain access denied, 404 not Found, and No levels to...
Read more >
Though m3u8 playlist is updating, hls.js will not load new ts ...
The other issue you are probably both facing is your streams try to start loading the first segment in the playlist. This is...
Read more >
Unable to play the HLS stream. Player Error "Manifest is not a ...
Error message like Manifest is not a valid M3U8 file on player while loading the stream. The manifest file will be delivered with...
Read more >
Cannot Load Video Error M3U8 In Windows 10/8/7 ... - YouTube
Fix: Cannot Load Video Error M3U8 In Windows 10/8/7 and Google Chrome [Tutorial]The “ Cannot Load M3U8 ″ Error can occur while trying...
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