-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Cannot read property 'numEvicted' of null #3323
Comments
We think the issue was introduced by this commit: 78357ed#diff-92459c1ec7439406243574f6cd8513afcce5b68cd6f2f14c549e25025677069c |
@matejpolak, I get an HTTP 404 error when I try to load the content you sent us privately. Can you please check that it is still available? |
Looking at the backtrace, it seems to be this assertion's reference to numEvicted in appendSegmentIndex(segmentIndex) {
goog.asserts.assert(
this.indexes_.length == 0 || segmentIndex.numEvicted == 0,
'Cannot have evicted segments in non-first Periods');
this.indexes_.push(segmentIndex);
} Which is in turn called by this line in output.segmentIndex.appendSegmentIndex(input.segmentIndex); This implies that calls to In fact, looking higher in the console, you can see the failed assertion "Input segment index should have been created by now!" Can you please provide us with a full log instead of just the end? The earlier failures are likely to be more closely tied to the root cause. |
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 |
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
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?
Both
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36
What are the manifest and license server URIs?
Send by email.
What configuration are you using? What is the output of
player.getConfiguration()
?What did you do?
Tried to load and play provided asset.
What did you expect to happen?
A loaded MPD stream without any TypeError.
What actually happened?
When loading the provided asset following exception is triggered:
Cannot read property 'numEvicted' of null
. The error message itself mentionsat shaka.media.MetaSegmentIndex.appendSegmentIndex (segment_index.js:493)
.The text was updated successfully, but these errors were encountered: