Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CAS support #5804

Open
jonasevcik opened this issue Apr 25, 2019 · 19 comments
Open

CAS support #5804

jonasevcik opened this issue Apr 25, 2019 · 19 comments
Assignees

Comments

@jonasevcik
Copy link

jonasevcik commented Apr 25, 2019

[REQUIRED] Searched documentation and issues

[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.

@google-oss-bot

This comment has been minimized.

@AquilesCanta
Copy link
Contributor

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

@noamtamim
Copy link
Contributor

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

@AquilesCanta
Copy link
Contributor

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?

@noamtamim
Copy link
Contributor

noamtamim commented Jul 9, 2019

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
Copy link
Contributor

noamtamim commented Oct 24, 2019

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.

@AquilesCanta
Copy link
Contributor

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.

@noamtamim
Copy link
Contributor

noamtamim commented Oct 24, 2019

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.

@Al-Rasel
Copy link

any update on this issue?

@KarlGallagher
Copy link

KarlGallagher commented Dec 17, 2019

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

@ojw28
Copy link
Contributor

ojw28 commented Dec 19, 2019

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

@noamtamim
Copy link
Contributor

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

@ojw28
Copy link
Contributor

ojw28 commented Apr 27, 2020

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

@Zeno-Zhou
Copy link

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

@davydovvladimir
Copy link

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

@mpBee
Copy link

mpBee commented Jul 22, 2022

Hello @ojw28

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

@AquilesCanta AquilesCanta assigned tonihei and unassigned AquilesCanta Jul 22, 2022
@AquilesCanta
Copy link
Contributor

@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].

@deano2390
Copy link

deano2390 commented Apr 5, 2023

@AquilesCanta @tonihei Any updates on this?

@hwang072
Copy link

hwang072 commented Jan 3, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests