Replies: 1 comment 4 replies
-
Can you share the teststream? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
Im trying to enable support for key rotation in CMAF. The media segments contains an senc box and the saio points to this senc . The playback works without any issues. This was without the sbgp and sgpd boxes. Now since we wanted to add key rotation support to CMAF and as per the understanding we were forced to add sbgp and sgpd boxes to provide the new KID's. In this case:
With saio pointing to senc and the media segments just containing sgpd/sbgp + pssh boxes with new KID's, here is my observation with dash.js player:
Since we are doing key rotation, we are adding all 0's in tenc > default KID, but adding the actual KID in the pssh box as well as the sgpd box in media segment.
To verify if it is the correct KID with which the segment is encrypted I extracted the KID from segment and manually decrypted the segment. The init + this segment playback works fine.
Is there anything missing?
Beta Was this translation helpful? Give feedback.
All reactions