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

Streaming engine error when switching video streams and no text tracks #640

Closed
ckelsey opened this issue Dec 31, 2016 · 1 comment
Closed
Assignees
Labels
status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@ckelsey
Copy link

ckelsey commented Dec 31, 2016

I'm using v2.0.2 and am getting an error when switching video streams by calling Player.selectTrack() which I believe is caused by not having a text track. Here is the stacktrace:

TypeError: Cannot read property 'mimeType' of undefined
at shaka-player/lib/media/streaming_engine.js:554:15
at shaka-player/lib/util/map_utils.js:62:16
at Array.reduce (native)
at Object.shaka.util.MapUtils.map (shaka-player/lib/util/map_utils.js:60:30)
at shaka.media.StreamingEngine.initStreams_ (shaka-player/lib/media/streaming_engine.js:552:29)
at shaka.media.StreamingEngine.notifyNewStream (shaka-player/lib/media/streaming_engine.js:399:15)
at shaka.media.StreamingEngine.switch (shaka-player/lib/media/streaming_engine.js:416:10)
at shaka.Player.deferredSwitch_ (shaka-player/lib/player.js:1322:35)

If I do supply a text track and switch video streams, no error at all and everything is fine.

@TheModMaker TheModMaker self-assigned this Jan 4, 2017
@TheModMaker TheModMaker added the type: bug Something isn't working correctly label Jan 4, 2017
@joeyparrish joeyparrish added this to the v2.1.0 milestone Jan 4, 2017
joeyparrish pushed a commit that referenced this issue Jan 7, 2017
Closes #640

Change-Id: I62d14348491a8b2820a42d34e3e12cc6b5742214
@joeyparrish
Copy link
Member

The fix for this has just been released in v2.0.3.

@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

4 participants