Key rotation for HLS TS

Rotate keys over time based on CPIX documents

This demonstrates how a CPIX document can be used to rotate the encryption key every 10 seconds, for a Sample-AES protected HLS TS livestream.

The benefits of this solution:

  • Implement temporal rights management
  • Achieve maximum security by rotating encryption keys at set intervals
  • Satisfy the DRM requirements of content owners
  • Leave a lead in the clear, or any other specific part of the stream
  • Enforce restricted access to premium content in a livestream (i.e., a sports match or recently released movie)
  • Key rotation can be used with different keys for different tracks to guarantee maximum flexibility
Input (.cpix)

        
>
Output (.m3u8)