Multi-DRM live stream demo
Watch a DoveRunner Multi-DRM protected live stream play in your browser. A video file loops through AWS Elemental MediaLive as a stand-in for a live feed, and AWS Elemental MediaPackage encrypts it on the fly.
Checking the live stream…
The stream stops after 10 minutes without viewers.
Checking DRM support in this browser…
No session events yet.
From the token
No license request observed yet.
Observed by the player
No key status observed yet.
Player error
No error.
How the stream is packaged
- Big Buck Bunny (MP4) loops as a MediaLive input and is sent with CMAF Ingest to a MediaPackage v2 channel.
- MediaPackage encrypts the CMAF output on the fly and requests keys from the DoveRunner key server over SPEKE v2. The audio track is left unencrypted.
- Two endpoints: CENC DASH with multi-key video (separate SD and HD keys) for Widevine and PlayReady, and CBCS HLS with a single video key for FairPlay. The single FairPlay key keeps the Safari test simple.
- Key rotation: MediaPackage changes the keys every 300 seconds, the minimum for MediaPackage v2. Each rotation needs a new license for the player.
Token policy
- Preset policy. Widevine and PlayReady get one security policy per video key (SD and HD); FairPlay gets one policy for the single video key. The audio track is unencrypted and needs no policy. The demo uses relaxed values so it plays on any browser.
- Key rotation is on (key_rotation: true in the token), which lets the license server issue the new keys at each rotation.
- No license duration: for live streams the DRM license token guide advises keeping the unlimited default.