Race condition error while switching audio tracks #5614
Labels
component: DASH
The issue involves the MPEG DASH manifest format
priority: P2
Smaller impact or easy workaround
status: archived
Archived and locked; will not be updated
type: bug
Something isn't working correctly
Milestone
What version of Shaka Player are you using?
4.4.1
Are you using the demo app or your own custom app?
Custom
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Chrome macOS
What are the manifest and license server URIs?
https://player-static-server-assets.mediafe-prd.s.joyn.de/media/vod/multi-audio/dash/manifest.mpd
What did you do?
The error seems to be caused by a race condition when
.release()
is called before.createUrisCb()
:shaka-player/lib/dash/segment_template.js
Lines 679 to 684 in d4dca2a
shaka-player/lib/dash/segment_template.js
Lines 870 to 880 in d4dca2a
The issue was introduced via #5061
What did you expect to happen?
The audio track is selected and no error is thrown.
What actually happened?
The audio track is selected and the player throws the error:
The text was updated successfully, but these errors were encountered: