Results 1 to 2 of 2

Thread: HLS live streaming secured with HLS - Change key on the fly

  1. #1
    Join Date
    Jan 2016

    Default HLS live streaming secured with AES - Change key on the fly

    Hi, I have multiple live streams on my wowza server. Streams are encrypted with AES-128. I would like to change the encryption key on the fly without resetting the stream or the application.

    Is it possible and how?

    Thanks guys
    Last edited by imthehell; 01-25-2016 at 01:21 PM.

  2. #2
    Join Date
    Sep 2011


    It's possible to change the encryption key on the fly when using AES-128 encryption for Apple HLS. For details please see The following article
    How to secure Apple HLS streaming using DRM encryption

    For key rotation with Cupertino AES-128, you must use the module APIs as discussed in the article.

    For live streaming, the onHTTPCupertinoEncryptionKeyLiveChunk() API will get called for each chunk just before the chunk is created.
    That is the opportunity for the module to modify the encryption settings to execute the key rotation.

    At a minimum you would need to make the following calls into the encInfo container passed to the API:
    The encInfo.setEncIVBytes() call is not strictly necessary since IV bytes will be generated automatically (if not provided) based on the chunkId.


Similar Threads

  1. Replies: 1
    Last Post: 03-06-2014, 12:08 PM
  2. Change encoding on the fly for outbound stream
    By amit79 in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 09-11-2013, 11:19 PM
  3. Secured RTMP authentication integration
    By tan-tan in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 09-09-2013, 03:31 AM
  4. media reader timecode change on fly
    By notreg in forum Server-side Modules and Code Samples Discussion
    Replies: 3
    Last Post: 10-15-2012, 05:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts