Results 1 to 6 of 6

Thread: Encrypt MPEG-DASH track separately

  1. #1
    Join Date
    Jul 2011
    Posts
    7

    Question Encrypt MPEG-DASH track separately

    Hi,

    How can I use different encryption key for each MPEG-DASH tracks?

    For example:
    - key for audio track
    - key for video track

    And even better, how to inspect the resolution of current stream so encryption key specific for HD content could be used.

    I could not find a way to make it work with:

    PHP Code:
    public void onHTTPMPEGDashEncryptionKeyVODChunk(HTTPStreamerSessionMPEGDash httpSessionIHTTPStreamerMPEGDashIndex indexCencInfo cencInfolong chunkId
    Best Regards,
    Chaiwat

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    Hello Chaiwat

    Currently we only support per session encryption. Please see the following for further implementation level details.

    Thanks,

    Matt

  3. #3
    Join Date
    Jul 2011
    Posts
    7

    Default

    Hi Matt,

    So per-session encryption is using the same key for both video and audio tracks, right? (I saw a single call to "onHTTPMPEGDashEncryptionKeyVODChunk" method for each session).

    Do you have any plan to support different key for each track? Since Widevine provides HD, SD, and AUDIO key.

    Best,
    Chaiwat

  4. #4
    Join Date
    May 2013
    Posts
    680

    Default

    Hello Chaiwat

    The per track encryption is now in our backlog list. There is no timeframe for its inclusion, however.

    One thing you did mention was that you'd like to inspect the resolution of the current stream such that encryption key is specific for HD content etc. Since you are defining the source stream names, you could filter on the source stream name in onHTTPMPEGDashEncryptionKeyVODChunk api event handler and provide the corresponding key by it.

    Thanks,

    Matt

  5. #5

    Default

    Any update on this issue?

    Widevine is enforcing usage of different track keys for audio and video tracks (see more), so it's more relevant now.

    Widevine would like to reinforce our recommendation of using separate content keys to encrypt each video and audio track. In particular, the emphasis is on using separate content keys for each SD, HD, UHD and Audio stream.

  6. #6
    Join Date
    Jan 2016
    Posts
    80

    Default

    Hi,

    There is no update to this backlog feature request. I have passed on your interest. Thanks for the feedback.

    Regard,
    Andy_E

Similar Threads

  1. Reset HLS and RTSP streams separately.
    By manu844 in forum General Forum
    Replies: 3
    Last Post: 11-16-2012, 09:24 AM
  2. encrypt the files using AES-128 encryption
    By bobmane in forum Video On Demand Streaming Discussion
    Replies: 5
    Last Post: 05-30-2012, 03:45 PM

Posting Permissions

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