-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
HLS Manifest requests shown up in requestFilter as having "undefined" type #2156
Comments
If you load
There's no good way at the moment; the demo resets the filters every time it loads an asset, so adding one manually via the developer console is a no-go. I tried this out by modifying the code of the demo page, though, and it reports the correct type. |
This issue is happening to me as well. |
@CHaNGeTe Does it still happen for you in the latest master? (e g, if you try your content on our nightly demo page here: use the "+" button to try your manifest), are you still seeing the bug? |
This should be fixed on |
Previously, the Closure compiler was causing a strange problem in non-debug compiled builds in the HLS parser: when we make an alias for shaka.net.NetworkingEngine.RequestType, if we access RequestType.SEGMENT the value is undefined. However, if we store shaka.net.NetworkingEngine.RequestType.SEGMENT in a variable, it works. Looking at the compiled code, when shaka.net.NetworkingEngine.RequestType is defined, SEGMENT seems to be treated as some special case, which might explain this odd behavior. Fixes #2156 Change-Id: I272dbc8b8db08ef8f9067c535c25890adae32440
@ismena is there any quick way to install nightlies via npm? |
Thank you! it works on 2.5.6 |
Sorry, we only ship release builds (including betas) to npm, but not the nightly build. But I'm glad the new release is working for you! |
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
v2.5.5
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 app so I can add a request filter
If custom app, can you reproduce the issue using our demo app?
How can I add a request filter on the demo app?
What browser and OS are you using?
Chrome 76.0.3809.132 on Windows 10
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Not applicable for this issue.
What are the manifest and license server URIs?
https://storage.googleapis.com/shaka-demo-assets/bbb-dark-truths-hls/hls.m3u8
What did you do?
What did you expect to happen?
Manifest requests should have type
0
, as logged to console.What actually happened?
Actual test shows they have type
undefined
. Manifest requests property have type0
when I play a DASH content.The text was updated successfully, but these errors were encountered: