Git Product home page Git Product logo

Comments (4)

peaBerberian avatar peaBerberian commented on July 1, 2024 1

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.

el-gringo avatar el-gringo commented on July 1, 2024

This issue is related to #1183
I've managed to correctly manage the DRM sessions by setting singleLicensePer to content.

from rx-player.

peaBerberian avatar peaBerberian commented on July 1, 2024

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.

el-gringo avatar el-gringo commented on July 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.