• SEARCH
  • DOWNLOADS
  • MY ACCOUNT
  • Buy (0)
  • CONTACT
  • Free Trial
Wowza Logo
  • PRODUCTS
    • Products

      • Wowza ClearCaster
      • Facebook Live appliance
      • Wowza Streaming Cloud
      • Cloud streaming services
      • Wowza Streaming Engine
      • Streaming server software
      • Wowza GoCoder & SDK
      • Mobile capture and encoding app
    • Capabilities

      • CDN
      • Ultra Low Latency
      • SRT
      • Player
      • WebRTC
      • Live Transcoding
      • See All Capabilities
  • DOCS & APIS

      Docs & APIs

      • Getting Started
      • User Guides
      • Technical Articles
      • Video Tutorials
      • API & SDK Docs
  • SOLUTIONS
    • Streaming Types

      • Live Video Streaming
      • Video on Demand
      • Audio-Only Streaming
      • IP Camera Streaming
      • VR and 360° Streaming
      • Chat
    • Industries

      • Broadcast & OTT
      • Education
      • Enterprise
      • Government
      • Live Events
      • Live Sports
      • Religious Organizations
    • Streaming Solutions

      • MediaDS—Integrated Streaming Device
      • Streaming Service Providers
      • Live Mobile Broadcasting
  • PRICING
    • Wowza ClearCaster

      • Facebook Live appliance
      • Starting at $2,995
      • Add to Cart
      • Request a Demo
    • Wowza Streaming Cloud

      • Cloud streaming services
      • Starter Plan: $49/month
      • Add to Cart
      • See All Plans
    • Wowza Streaming Engine

      • Streaming server software
      • Annual Plan: $65/month
      • Add to Cart
      • See All Plans
    • Wowza GoCoder SDK

      • SDK for mobile streaming
      • Talk to a Streaming Expert
      • Contact Us
      • Free Trial
  • RESOURCES

      Resources

      • Blog
      • Case Studies
      • Webinars
      • Videos
      • Podcasts
      • Test Players
      • Developer Tools
  • SUPPORT
    • Support

      • Forums
      • Software Updates
      • Open a Support Ticket
    • Plans & Services

      • Support Plans
      • Advisory Services
      • Live Event Support
  • My Account
  • Buy (0)
  • SEARCH
  • Ask a question
  • Forums
    • Wowza ClearCaster
    • Wowza Streaming Engine
    • Wowza Streaming Cloud
    • Wowza Player
    • Wowza GoCoder SDK
    • Wowza Developer Dojo
    • Topics
    • Questions
    • Users
    • Badges
  • Sign in
  • Community Home /
  • Wowza Streaming Engine /
  • Wowza DRM /
avatar image
Question by CW Shue · Sep 07, 2015 at 03:48 PM · wowza drm

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]public void onHTTPMPEGDashEncryptionKeyVODChunk(HTTPStreamerSessionMPEGDash httpSession, IHTTPStreamerMPEGDashIndex index, CencInfo cencInfo, long chunkId)[/PHP]

Best Regards,

Chaiwat
Comment

People who like this

0 Show 0
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image

Answer by Matt Young · Sep 22, 2015 at 03:47 AM

Hello Chaiwat

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

Thanks,

Matt
Comment

People who like this

0 Show 4 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image CW Shue · Sep 22, 2015 at 04:03 PM 0
Share
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
avatar image Matt Young CW Shue · Sep 29, 2015 at 01:11 PM 0
Share
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
avatar image Alexey R Matt Young · Aug 03, 2016 at 04:15 PM 0
Share
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.
avatar image Wendong Li Matt Young · Apr 17, 2017 at 09:01 AM 0
Share

Hi @Matt Young,

In sentence "you could filter on the source stream name in onHTTPMPEGDashEncryptionKeyVODChunk api event handler and provide the corresponding key by it", by "source stream name", do you mean the published stream name, like "myStream.smil", or the source streams for each bitrate, like "myStream_720p"?

If it's "myStream_720p", that means we can still apply different keys for different bitrates, and therefore apply different keys for different tracks. Is this understanding correct?

Thanks,
Wendong

avatar image

Answer by Andy Engberson · Sep 09, 2016 at 12:56 AM

Hi,

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

Regard,

Andy_E
Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Wendong Li · Apr 17, 2017 at 09:21 AM

As mentioned by @Alexey R, using different encryption keys for SD and HD bitrate variants is a strong recommendation from Widevine. This recommendation comes from the concerns from the content provider on the security of the HD content.

If this is currently not achievable in Wowza streaming engine, for service providers with HD contents, it is a blocking issue, and it will be helpful if you can share the plan on adding this support.

Thanks,

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Wendong Li · Apr 18, 2017 at 02:48 AM

Any response please...

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by Wendong Li · Apr 19, 2017 at 07:09 AM

By testing, we confirmed that callback

onHTTPMPEGDashEncryptionKeyLiveChunk

comes once per bitrate source (for each chunk), and by checking parameter "streamName" in the callback we can differentiate different bitrates and apply different keys. This also works for audio if you use a separate source for audio.

However, this doesn't work for VOD as callback

onHTTPMPEGDashEncryptionKeyVODChunk

comes only once (for each chunk), and there doesn't seem to be a way to apply different keys.

Comment

People who like this

0 Show 0 · Share
10 |600 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

DRM in offline mode? 2 Answers

MPEG-DASH Encryption Without DRM Integration 1 Answer

Any experience with BuyDRM ? 1 Answer

Using Wowza DRM AddOn with another DRM provider 2 Answers

Samsung smart TV and SmoothStreaming 1 Answer

Hot Topics
  • AWS Hosting
  • Mobile SDK
  • Deployment Options
  • Load Balancing
  • Content Security
Product Sign-in
  • Wowza Streaming Cloud
  • Wowza Player
Under the Hood
  • Developer Tools
  • Wowza System Status
  • Test Players
  • Developer IDE
Resellers
  • Find a Reseller
  • Reseller Portal
  • Become a Reseller
Company
  • About Us
  • Blog
  • News
  • Events
  • Careers
  • Customers
  • Partners
  • Contact Us
Stay Connected
Get Monthly Newsletter
Select a Language
  • English
    • English
    • Español
    • 日本語
    • 한국어
    • हिन्दी भाषा
    • 中文
    • русский язык

© 2005–2018 Wowza Media Systems, LLC. All rights reserved.   Terms | Privacy | Trademarks | Legal


Enterprise
Social Q&A

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Forums
  • Wowza ClearCaster
  • Wowza Streaming Engine
  • Wowza Streaming Cloud
  • Wowza Player
  • Wowza GoCoder SDK
  • Wowza Developer Dojo
  • Explore
  • Topics
  • Questions
  • Users
  • Badges