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

Cannot read property 'segmentIndexSource' of #179

Closed
sanbornhilland opened this issue Sep 10, 2015 · 1 comment
Closed

Cannot read property 'segmentIndexSource' of #179

sanbornhilland opened this issue Sep 10, 2015 · 1 comment
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@sanbornhilland
Copy link
Contributor

Using the most up-to-date build off the master branch:

  1. Open the sample app and play "Oops" Multi-DRM
  2. Set the minBandwidth to filter out some tracks (e.g. 702000)
  3. Click the Load Stream button again, to reload the "Oops" video

I get the following errors:

Assertion failed: Each StreamSetInfo should contain at least one usable StreamInfo
Uncaught TypeError: Cannot read property 'segmentIndexSource' of null

@joeyparrish joeyparrish added the type: bug Something isn't working correctly label Sep 10, 2015
@joeyparrish joeyparrish added this to the v1.5.0 milestone Sep 10, 2015
@tdrews
Copy link
Contributor

tdrews commented Sep 10, 2015

StreamVideoSource is applying the restrictions to the audio tracks, which it should not be. We'll have a patch up shortly.

However, we'll defer handling the case where no audio or video tracks are available (during playback or at startup) until later (we can address this issue along with #170).

@tdrews tdrews closed this as completed in 35d4c5e Sep 10, 2015
tdrews pushed a commit that referenced this issue Sep 15, 2015
* Fire an error event when all audio/video tracks are restricted
  during playback.
* Fire an error event and fail gracefully when all audio/video tracks
  are restricted before playback (requires calling player.unload() when
  the VideoSource's attach promise gets rejected).
* Rework AbrManager so that getInitialVideoTrack() can be called before
  starting bandwidth monitoring.

Closes #170
Issue #179

Change-Id: I4ac6cdf2a4c862e0d0560dff2f2d7bb6801bbc38
@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