ExoPlayer icon indicating copy to clipboard operation
ExoPlayer copied to clipboard

CAS support

Open jonasevcik opened this issue 6 years ago • 19 comments

[REQUIRED] Searched documentation and issues

  • https://google.github.io/ExoPlayer/
  • Source codes of this repository
  • Issues section of this repository

[REQUIRED] Question

Is there a time frame/plan for adding CAS support? With Widevine CAS announced, it makes sense to provide an implementation for CA systems in general. Android already exposes all the necessary APIs since API lvl 26.

jonasevcik avatar Apr 25 '19 10:04 jonasevcik

This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Apr 25 '19 10:04 google-oss-bot

Hi @jonasevcik, we are working on this. I can't provide an ETA yet, though.

AquilesCanta avatar Apr 29 '19 09:04 AquilesCanta

Hi @AquilesCanta / @ojw28. Two months later, is there an ETA for Widevine CAS support?

noamtamim avatar Jul 04 '19 13:07 noamtamim

Not yet, sorry. I'd be interested in learning how you plan to use MediaCAS:

  1. Do you know what codecs you'll be using?
  2. Do you have protected content? How do you (plan to, if you don't have) produce protected content? Which parts of the stream are / will be encrypted?
  3. How will you/do you stream protected content? OTT?

AquilesCanta avatar Jul 09 '19 11:07 AquilesCanta

We need a solution to the following use case, which by my understanding is the point of Widevine CAS.

The potential customer already has a legacy CA-protected stream. It is broadcast to existing set-top-boxes using UDP multicast. As a legacy CA system, the stream has ECMs in it (so far, from their existing CA provider -- our Widevine-based ECMs will be added too). They want to start using Android TV instead (or in addition) to the legacy STBs.

The content is being generated by an existing encoder and streamed via UDP to the network.

So, if I understand correctly, ExoPlayer would have to join the multicast (which it can already do for clear streams) and use MediaCas to descramble the stream.

noamtamim avatar Jul 09 '19 11:07 noamtamim

Widevine CAS is now GA and the integration docs are published:

Is there a plan to implement CAS support in ExoPlayer in the near future?

EDIT: access to these docs is restricted to CWIP licensees.

noamtamim avatar Oct 24 '19 11:10 noamtamim

I don't have access to those docs. If you can grant that, that would be great. I will also try to contact widevine on my side.

AquilesCanta avatar Oct 24 '19 11:10 AquilesCanta

Sorry, I was under the impression that they don't need authorization because the links are published in the public-facing page https://www.widevine.com/news. I guess I can only access them because I'm logged in to my CWIP-enabled Google account. Unfortunately this means that I can't upload them here because it will probably violate the CWIP terms. However, I'm pretty sure that since they put the links on the public site, they also intended to remove the required authorization.

EDIT: I see they've attached the following text to the announcement:

Note: Access to Widevine documentation is now restricted to licensees. If you are unable to view the document links, please contact us.

Which means I'm definitely not allowed to share these docs, and you will have to get them from Widevine.

noamtamim avatar Oct 24 '19 11:10 noamtamim

any update on this issue?

Al-Rasel avatar Nov 26 '19 07:11 Al-Rasel

Hello all,

It would be good to know what the immediate plans are from the dev team here. This feature would be quite useful / important in enabling operators to switch from legacy systems to AndroidTV

KarlGallagher avatar Dec 17 '19 09:12 KarlGallagher

We don't have any plans for this for at least the first three months of 2020, sorry.

ojw28 avatar Dec 19 '19 16:12 ojw28

Hi @ojw28, is there a plan to work on this feature in the near future?

noamtamim avatar Apr 26 '20 14:04 noamtamim

We don't have any time allocated to this in Q2, sorry. I doubt we'll have time in Q3 either.

ojw28 avatar Apr 27 '20 13:04 ojw28

Hi @ojw28 do you have some plan for the CAS support now? thanks.

Zeno-Zhou avatar Jul 03 '20 10:07 Zeno-Zhou

Hi @ojw28 Do you have any updates for this issue?

davydovvladimir avatar Jan 05 '21 21:01 davydovvladimir

Hello @ojw28

Are there any plans to support CAS in ExoPlayer in 2022/2023?

mpBee avatar Jul 22 '22 10:07 mpBee

@tonihei CAS v1 is probably no longer relevant, but it might be worth asking the TV team what we can do on our side. You can find points of contact in [internal ref: b/239731089].

AquilesCanta avatar Jul 22 '22 13:07 AquilesCanta

@AquilesCanta @tonihei Any updates on this?

deano2390 avatar Apr 05 '23 09:04 deano2390

Does ExoPlayer not support MediaCas? Is there a guide available on how to play CAS-encrypted files using MediaCas in ExoPlayer?

hwang072 avatar Jan 03 '24 04:01 hwang072