Comments (4)
Turns out after checking around that a key id set to all 0
indicate that the stream is unencrypted IF the "Is encrypted" value is also set to 0
(it is set to 1
in your case) and IV size to 0
(it is set to 8
in your case).
Anyway, tenc
parsing was added to improve our player's compatibility as some streams "forget" to add ContentProtection in their MPD or more frequently do not communicate the key id inside it, which is a central information in our strategy of only avoiding undecipherable contents when some Representations are decipherable and some not.
Because it was added for resilience, and because a 0x0
key id is fishy anyway, I guess we can ignore it when found in a tenc
like you did.
You may do a Pull request with your modification (maybe with a comment added), or I can do it instead if you're OK with it.
from rx-player.
This issue is related to #1183
I've managed to correctly manage the DRM sessions by setting singleLicensePer
to content
.
from rx-player.
Hi,
Is a full-0 key id documented somewhere as not valid (or maybe it means here that the following media is unencrypted)?
I'll have to check specs and what others are doing here.
from rx-player.
I don't think the zero key is not valid, but it's more about the fact that the key in TENC is not present in the ContentProtection
makes all streams undecipherable. I've digged a bit on the key update algorithm when I posted the issue #1183 but the other errors I was facing made it hard to get further.
All of our media are encrypted, it is just the TENC key which filled with zero.
from rx-player.
Related Issues (20)
- Check Dolby Atmos and Dolby Vision in current stream HOT 3
- Unable to play some streams in Edge browser on RxPlayer v3.30.0 HOT 11
- Streams freeze on first frame with audio only playback on Edge browser (and probably Chrome) HOT 6
- Safari 17 brings MSE to iOS HOT 10
- Some DASH/Widevine streams are looping on a Vestel MB130 HOT 3
- First playback of PlayReady content fails on EDGE browsers HOT 3
- PIPELINE_ERROR_DECODE error observed in Edge browser when zapping live channels HOT 2
- Safari 17.1 issue with playback DRM content HOT 3
- playing MKV VOD with multi Audio track HOT 7
- Infinity loading state on Safari Mobile when autoplay is false HOT 17
- Arrêt brutal du player en Replay sur le mycanal sur HOT 4
- PIPELINE_ERROR_INVALID_STATE error when using Playready/Dash stream (mixed encrypted/unecrypted content) HOT 4
- fromFirstPosition does not start from actual first position in live DASH manifest (multi period live with SSAI) HOT 2
- Freezed VOD stream and lot of audio discontinuities on Samsung Tizen 2017 HOT 11
- Pre-fetching DRM licenses for current and future content
- Widevine LD fallback not triggering in RxPlayer HOT 7
- dashif:laurl not parsed after recent changes
- Resolve base url not correct when root MPD base url start with `/` HOT 1
- MEDIA_ERR_DECODE errors are being thrown by rxPlayer when starting the stream HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rx-player.