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.

1h+ DASH videos on Xbox One throw Error 4001

See original GitHub issue

Related to #2186

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

What version of Shaka Player are you using? v2.5.9

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? N/A

For embedded devices (smart TVs, etc.), what model and firmware version are you using? Xbox One, OS v.10.0.18363.9135 February 2020

What are the manifest and license server URIs?

Any DASH manifest which is big enough (1K+ lines) will work, this is the manifest which was provided by Shaka Player Team in previous issue #2186 https://storage.googleapis.com/wvtemp/modmaker/long-segment-timeline.mpd

What did you do?

I tried to play the video with a duration of over 1h on the Xbox One. In our case, our manifests include SegmentTimeline tag.

What did you expect to happen? The video will start playback.

What actually happened?

Player throws an error when we try to play the video:

Can not load manifest: shaka.util.Error { "severity": 2, "category": 4, "code": 4001, "data": [ "https://example-site.com/master.mpd" ], "handled": false }

Which is DASH_INVALID_XML, 4001, The DASH Manifest contained invalid XML markup.

Also, we found that this issue is only reproducible with Compiled (Release) code, it’s playing fine in the Compiled (Debug) and Uncompiled modes. In the compiled code, the line which is testing the device buffer size is missing https://github.com/google/shaka-player/blob/master/lib/util/string_utils.js#L220

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
joeyparrishcommented, Mar 17, 2020

I’ve been working on cherry-picks for the v2.5.10 release. I hope to have it completed this week.

2reactions
theodabcommented, Mar 11, 2020

Okay, the fix has now been released. Sorry about the delay, the regression test ended up being unexpectedly complicated! If you have any further problems, feel free to bring them up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error 4001 for 1h+ DASH videos on Xbox One #2186 - GitHub
Error 4001 for 1h+ DASH videos on Xbox One #2186 ... Player throws an error when we try to play the video: Can...
Read more >
Find your error code - Xbox Support
This page features a list of common error codes and solutions. Learn how to find your error code quickly.
Read more >
SOLUTION to 0x80a4001a Sign-in error on Xbox One
1. Press the Xbox button to open the guide. · 2. Select System > Settings > Account > Remove accounts. · 3. Select...
Read more >
On the IMDb TV app for xbox 1 it plays for a few min then I get ...
On the IMDb TV app for xbox 1 it plays for a few min then I get a error code 4001 been doing...
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