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

Microsoft DASH live stream errors #339

Closed
br0adcast opened this issue Apr 15, 2016 · 3 comments
Closed

Microsoft DASH live stream errors #339

br0adcast opened this issue Apr 15, 2016 · 3 comments
Assignees
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@br0adcast
Copy link

I'm trying to paly (shaka player v2.0.0-beta) live DASH stream from Microsoft - http://b028.wpc.azureedge.net/80B028/Samples/a38e6323-95e9-4f1f-9b38-75eba91704e4/5f2ce531-d508-49fb-8152-647eba422aec.ism/Manifest(format=mpd-time-csf), https://azure.microsoft.com/en-us/blog/live-247-reference-streams-available/ , and get following errors:

  1. Assertion failed: Calculated $Time$ values must be close to integers!
  2. Error: Shaka Error STREAMING.SEGMENT_DOES_NOT_EXIST

1.6.x version plays it without errors

@tdrews tdrews added the type: bug Something isn't working correctly label Apr 15, 2016
@tdrews tdrews added this to the v2.0.0 milestone Apr 15, 2016
@tdrews tdrews self-assigned this Apr 15, 2016
@tdrews
Copy link
Contributor

tdrews commented Apr 15, 2016

Thanks for the report. We'll take a look.

@hoimingw
Copy link

Hi @TheModMaker ,

I found the following code at your commit at cc243fa

At mpd_utils.js,

  • goog.asserts.assert(Math.abs(time - Math.round(time)) < 0.2,
    'Calculated $Time$ values must be close to integers!');

Why $Time$ must be close to integer? From DASH spec I couldn't find this constraint.

Thanks,
Hoi Ming

@TheModMaker
Copy link
Contributor

$Time$ refers to the current time in timescale units (for example SegmentTimeline@t). So it must be an integer. However, since we convert it from timescale units, to seconds, then back to timescale, there are rounding errors. We have that check to verify that there are only rounding errors.

@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
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

5 participants