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.

Live stream using SegmentURL is not working

See original GitHub issue

I’m trying to use the SegmentURL but it seems that shaka-player is not able to play it. It’s showing the message:

streaming_engine.js:1368 (audio:3) cannot find segment: currentPeriod.startTime=0 lookupTime=839769.003000021

The funny thing is, when I change to my SegmentTimeline representation (to the same data) it works.

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

What version of Shaka Player are you using?: Latest (master)

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?: the shaka’s demo

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

What browser and OS are you using?: Chrome 67

What are the manifest and license server URIs?:

<?xml version="1.0" encoding="utf-8"?>
<MPD xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="urn:mpeg:dash:schema:mpd:2011" xsi:schemaLocation="urn:mpeg:dash:schema:mpd:2011 http://standards.iso.org/ittf/PubliclyAvailableStandards/MPEG-DASH_schema_files/DASH-MPD.xsd" type="dynamic" publishTime="2018-07-20T14:48:09Z" minimumUpdatePeriod="PT5S" availabilityStartTime="2018-07-10T21:32:44Z" minBufferTime="PT5S" suggestedPresentationDelay="PT5.00S" timeShiftBufferDepth="PT60.00S" profiles="urn:hbbtv:dash:profile:isoff-live:2012,urn:mpeg:dash:profile:isoff-live:2011">
  <UTCTiming schemeIdUri="urn:mpeg:dash:utc:direct:2014" value="2018-07-20T14:48:09Z" />
  <Period start="PT0.00S" id="0">
    <AdaptationSet mimeType="video/mp4" segmentAlignment="true" subsegmentAlignment="true" startWithSAP="1" subsegmentStartsWithSAP="1" bitstreamSwitching="true" id="4" contentType="video" par="16:9" maxWidth="768" maxHeight="432">
      <Representation id="1" width="512" height="288" frameRate="30/1" bandwidth="529000" codecs="avc1.64001F" sar="1:1">
        <SegmentList duration="5" startNumber="25528">
          <Initialization sourceURL="dash-coelhao_529-init.mp4"/>
          <SegmentURL media="dash-coelhao_529-25528.mp4"/>
          <SegmentURL media="dash-coelhao_529-25529.mp4"/>
          <SegmentURL media="dash-coelhao_529-25530.mp4"/>
          <SegmentURL media="dash-coelhao_529-25531.mp4"/>
          <SegmentURL media="dash-coelhao_529-25532.mp4"/>
          <SegmentURL media="dash-coelhao_529-25533.mp4"/>
          <SegmentURL media="dash-coelhao_529-25534.mp4"/>
          <SegmentURL media="dash-coelhao_529-25535.mp4"/>
          <SegmentURL media="dash-coelhao_529-25536.mp4"/>
          <SegmentURL media="dash-coelhao_529-25537.mp4"/>
          <SegmentURL media="dash-coelhao_529-25538.mp4"/>
          <SegmentURL media="dash-coelhao_529-25539.mp4"/>
          <SegmentURL media="dash-coelhao_529-25540.mp4"/>
          <SegmentURL media="dash-coelhao_529-25541.mp4"/>
          <SegmentURL media="dash-coelhao_529-25542.mp4"/>
          <SegmentURL media="dash-coelhao_529-25543.mp4"/>
          <SegmentURL media="dash-coelhao_529-25544.mp4"/>
          <SegmentURL media="dash-coelhao_529-25545.mp4"/>
          <SegmentURL media="dash-coelhao_529-25546.mp4"/>
          <SegmentURL media="dash-coelhao_529-25547.mp4"/>
          <SegmentURL media="dash-coelhao_529-25548.mp4"/>
          <SegmentURL media="dash-coelhao_529-25549.mp4"/>
          <SegmentURL media="dash-coelhao_529-25550.mp4"/>
        </SegmentList>
      </Representation>
      <Representation id="2" width="768" height="432" frameRate="30/1" bandwidth="1388000" codecs="avc1.64001F" sar="1:1">
        <SegmentList duration="5" startNumber="25528">
          <Initialization sourceURL="dash-coelhao_1388-init.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25528.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25529.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25530.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25531.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25532.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25533.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25534.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25535.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25536.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25537.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25538.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25539.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25540.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25541.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25542.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25543.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25544.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25545.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25546.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25547.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25548.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25549.mp4"/>
          <SegmentURL media="dash-coelhao_1388-25550.mp4"/>
        </SegmentList>
      </Representation>
    </AdaptationSet>
    <AdaptationSet mimeType="audio/mp4" segmentAlignment="true" lang="por" id="5" contentType="audio">
      <Representation id="3" bandwidth="96000" audioSamplingRate="48000" codecs="mp4a.40.5">
        <AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></AudioChannelConfiguration>
        <SegmentList duration="5" startNumber="25528">
          <Initialization sourceURL="dash-coelhao_audio-init.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25528.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25529.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25530.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25531.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25532.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25533.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25534.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25535.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25536.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25537.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25538.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25539.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25540.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25541.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25542.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25543.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25544.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25545.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25546.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25547.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25548.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25549.mp4"/>
          <SegmentURL media="dash-coelhao_audio-25550.mp4"/>
        </SegmentList>
      </Representation>
    </AdaptationSet>
  </Period>
</MPD>

What did you do? Just tried to play it.

What did you expect to happen? Play it.

What actually happened? It didn’t start to play and it shows the following message streaming_engine.js:1368 (audio:3) cannot find segment: currentPeriod.startTime=0 lookupTime=839769.003000021

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
joeyparrishcommented, Jul 20, 2018

Hi Leandro,

We are going to need a manifest URI (and license server URI, if applicable) that we can use to reproduce the error. The contents of the manifest are not sufficient to reproduce a bug. If you can’t post a URI publicly, you can send one to shaka-player-issues@google.com. Anything you send there will be kept confidential.

Thanks!

0reactions
leandromoreiracommented, Jul 30, 2018

@joeyparrish we should keep this closed, the TV we were testing is playing regular HLS but maybe in the future we can come back to this, thank you very much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Live stream using SegmentURL is not working #1502 - GitHub
I'm trying to use the SegmentURL but it seems that shaka-player is not able to play it. It's showing the message: streaming_engine.js:1368 ...
Read more >
Issues with using FFmpeg to generate MPEG-DASH files
I am using the following ffmpeg command to generate MPEG DASH files and manifest. I use single_file 1 to have a single file...
Read more >
How to Troubleshoot Live Streaming Issues with Broadcasting
Live streaming has a lot of moving parts. If things go wrong, here are ten ways for troubleshooting streaming issues right away.
Read more >
MPEG-DASH feed not working and freezes and reboot my TV
Hello, I am creating a player for DASH streaming. I have already tested several samples from github and several feeds as well, and...
Read more >
Setting up adaptive streaming media sources - MDN Web Docs
Various bitrate streams are broken into segments and placed in ... Other reasons to use LIVE profile over Ondemand for VOD content may...
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