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
CMCD fields names are being mangled #3839
Comments
@joeyparrish It looks like the property names are being mangled when closure compiler's optimization mode is |
Property names either need to be quoted or defined in externs to avoid renaming. In this case, I think externs would be appropriate, as the field names are part of an externally-defined interface. |
Looks to me like |
Move CMCD type definition to externs to avoid minifying property names Co-authored-by: Dan Sparacio <daniel.sparacio@cbsinteractive.com> Fixes #3839
Move CMCD type definition to externs to avoid minifying property names Co-authored-by: Dan Sparacio <daniel.sparacio@cbsinteractive.com> Fixes #3839
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?
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
Safari, Chrome, Firefox
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?
What configuration are you using? What is the output of
player.getConfiguration()
?What did you do?
Load any stream with the player configured for
cmcd
.What did you expect to happen?
The CMCD data appears in the manifest/segment requests with the correct field names.
What actually happened?
The CMCD field names are mangled:
http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd?CMCD=Ea%3D%22m%22%2CZc%3D1%2CZf%3D1%2Cdf%3D%22CONTENT_ID%22%2Cqg%3D%22d%22%2Crg%3D%227af3be4f-0bfa-4029-80b2-59d0b57e8328%22%2Cvb
Decoded:
CMCD: Ea="m",Zc=1,Zf=1,df="CONTENT_ID",qg="d",rg="7af3be4f-0bfa-4029-80b2-59d0b57e8328",vb
The text was updated successfully, but these errors were encountered: