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

Parsing EMSG for HLS CMAF streams fails with TypeError, missing null check #3886

Closed
pcruiksh opened this issue Jan 20, 2022 · 0 comments · Fixed by #3887 or #4009
Closed

Parsing EMSG for HLS CMAF streams fails with TypeError, missing null check #3886

pcruiksh opened this issue Jan 20, 2022 · 0 comments · Fixed by #3887 or #4009
Labels
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Milestone

Comments

@pcruiksh
Copy link
Contributor

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

What version of Shaka Player are you using?
3.3.0

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

If custom app, can you reproduce the issue using our demo app?
y

What browser and OS are you using?
Chrome+MacOS

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
n/a

What are the manifest and license server URIs?
n/a

What configuration are you using? What is the output of player.getConfiguration()?
dispatchAllEmsgBoxes

What did you do?
play HLS/CMAF stream

What did you expect to happen?
Stream plays and EMSG boxes are parsed

What actually happened?
TypeError due to null emsgSchemeIdUris (default value set by HLS parser). There is a null check in the streaming engine before calling parseEMSG_ but the config option dispatchAllEmsgBoxes supersedes it.

@pcruiksh pcruiksh added the type: bug Something isn't working correctly label Jan 20, 2022
@shaka-bot shaka-bot added this to the v3.3 milestone Jan 20, 2022
@TheModMaker TheModMaker added the priority: P2 Smaller impact or easy workaround label Jan 21, 2022
joeyparrish pushed a commit that referenced this issue Feb 9, 2022
Add null check for emsgSchemeIdUris when EMSG boxes are parsed, as this value is null for HLS streams

Fixes #3886
joeyparrish pushed a commit that referenced this issue Feb 16, 2022
Add null check for emsgSchemeIdUris when EMSG boxes are parsed, as this value is null for HLS streams

Fixes #3886
joeyparrish pushed a commit that referenced this issue Feb 16, 2022
Add null check for emsgSchemeIdUris when EMSG boxes are parsed, as this value is null for HLS streams

Fixes #3886
joeyparrish pushed a commit that referenced this issue Feb 16, 2022
Add null check for emsgSchemeIdUris when EMSG boxes are parsed, as this value is null for HLS streams

Fixes #3886
joeyparrish pushed a commit that referenced this issue Feb 16, 2022
Add null check for emsgSchemeIdUris when EMSG boxes are parsed, as this value is null for HLS streams

Fixes #3886
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Apr 10, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 10, 2022
@avelad avelad modified the milestones: v3.3, v4.0 May 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: P2 Smaller impact or easy workaround status: archived Archived and locked; will not be updated type: bug Something isn't working correctly
Projects
None yet
4 participants