martinbonnin / ExoPlayer

Apache License 2.0
22 stars 3 forks source link

DRM support #10

Closed hiteshgupta33 closed 10 years ago

hiteshgupta33 commented 10 years ago

Hey,

Can you please guide me how to implement my own DRM except Widevine. I have to use HLS or progressive download.

Thanks

martinbonnin commented 10 years ago

If you want to use HLS, there is already a preliminary support for AES encryption as defined in http://tools.ietf.org/html/draft-pantos-http-live-streaming-13#section-3.4.4. Then you could deliver the key over https with client certificates, passwords or stuff like that. Not a full fledged DRM but could be enough depending your needs.

hiteshgupta33 commented 10 years ago

@martinbonnin The app i am working for is going to be launched on a huge level. So, we are using a full DRM sdk.

So, i was wondering if we can use that with exo player.

martinbonnin commented 10 years ago

For DASH/SmoothStreaming, the demo application has some Playready and Widevine examples. For HLS, the situation is less clear. The draft mentions AES encryption. For other DRMs, I am not aware of any open specification.