Open nkkrishna opened 2 years ago
The module calls the DRM server for each sequence in the set. In this case, you've set vod_drm_request_uri
to an empty string, so all these requests end up identical. If you will remove this directive, you'll get the original URI on the DRM request, and you could use that to return different keys.
That said, we had issues in the past when using multiple keys in a single playback set, not sure if the issues were in Widevine or PlayReady, but anyway, we don't currently do it - a single key per set.
Is it possible to apply different DRM encryptionKey(s) for different bitrates like [apply SD key for 240p, 360p profiles and apply HD Key for 1080p profile]. I have configured different encryptionKey(s) in my adaptive set json file (test.json). But i have mentioned only one pssh, key and key_id in the DRM Server response json (1123456711.json). Not sure if different encrytion keys are being used for different bitrates?
`location /media/ { root /test1/vod_test/;
` _cat drmdashfile/1123456711.json [{ "pssh": [{ "data": "IgURABCDEUjj3JWbBg==", "uuid": "edef8ba9-79d6-4ace-a3c8-27dcd51d21ed" }], "key": "K8zlrt4YvMSoJ+8gg6ToVw==", "key_id": "xgeDM/5iX+ClQcFTqUo62w==" }]
cat test.json { "sequences": [ { "clips": [ { "type": "source", "path": "test_240.mp4", "encryptionKey": "K8zlrt4YvMSoJ+8gg6ToVw==" } ] }, { "clips": [ { "type": "source", "path": "test_360.mp4", "encryptionKey": "K8zlrt4YvMSoJ+8gg6ToVw==" } ] }, { "clips": [ { "type": "source", "path": "test2492.mp4", "encryptionKey": "cvb8n040gzOl505URjpFKw==" } ] } ] }