Does chromium support EME on Android now?

603 views
Skip to first unread message

Tao Liu

unread,
Jun 27, 2016, 4:49:30 AM6/27/16
to Chromium-dev
Hi
    I want to watch netflix with chromium on android, but with linux PC user agent, I got a "Missing WidevineCdm Component" Error on cr49. Does chromium support EME on  Android now? Can I bypass EME on Android with Linux PC UA?



Thanks,
Tao, Liu

PhistucK

unread,
Jun 27, 2016, 5:11:31 AM6/27/16
to Tao Liu, Chromium-dev
It does not support Widevine out of the box, which is required for non-ClearKey encryptions.

And if you could bypass the encryption, everyone would have done that. ;)


PhistucK

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.

Tao Liu

unread,
Jun 27, 2016, 5:49:33 AM6/27/16
to Chromium-dev, liuta...@gmail.com
Netflix will let you install app with android UA, but I want watch netflix with browser. Any ideas about that?

PhistucK

unread,
Jun 27, 2016, 6:58:38 AM6/27/16
to Tao Liu, Chromium-dev
Does Chrome work?

If not, no.


PhistucK

David Dorwin

unread,
Jun 27, 2016, 1:06:29 PM6/27/16
to PhistucK Productions, Tao Liu, Chromium-dev
Chrome for Android has supported unprefixed EME since M42 - the same as desktop (chromestatus).

That Netflix error message is likely intended to help desktop users who encounter EME failures, but it does not apply to and is not the reason that playback does not work on Android.

Christian Biesinger

unread,
Jun 27, 2016, 1:11:31 PM6/27/16
to David Dorwin, PhistucK Productions, Tao Liu, Chromium-dev
Chrome does but Chromium does not, I think?

-Christian

David Dorwin

unread,
Jun 27, 2016, 1:21:32 PM6/27/16
to Christian Biesinger, PhistucK Productions, Tao Liu, Chromium-dev
The EME APIs are available for all brandings on all platforms. On desktop, only Chrome has Widevine. On Android, Chrome uses the platform Widevine implementation, so Widevine is available for all brandings.

Tao Liu

unread,
Jun 27, 2016, 11:13:34 PM6/27/16
to Chromium-dev, cbies...@chromium.org, phis...@gmail.com, liuta...@gmail.com
Chrome maybe OK on android,but I can't change chrome user agent,so can't try with linux pc ua on android. I enable chromium widevine with "enable_widevine=1", and change chromium ua to fixed Linux pc. Chromium on android has no widevine compnonets, but use drm with widevine plugin. With linux pc ua, netflix will call EME api, so if chromium 49 on android support EME, it will no problem. 

David Dorwin

unread,
Jun 28, 2016, 12:37:53 AM6/28/16
to Tao Liu, Chromium-dev, Christian Biesinger, PhistucK Productions
Widevine is enabled for all builds by default on Android, and there is no component or plugin involved. You don't need to add enable_widevine=1; see the GN file in my previous email. I think Netflix checks more than the UA, so it is unlikely that changing the UA will make it work.

Tao Liu

unread,
Jun 28, 2016, 2:09:07 AM6/28/16
to Chromium-dev, liuta...@gmail.com, cbies...@chromium.org, phis...@gmail.com
Maybe,  but I'm failed to execute below js through devtools:

var a = [{
    distinctiveIdentifier: "not-allowed",
    videoCapabilities: [{
        contentType: 'video/mp4; codecs="avc1.640028"',
        robustness: "HW_SECURE_DECODE"
    }
    , {
        contentType: 'video/mp4; codecs="avc1.640028"',
        robustness: "SW_SECURE_DECODE"
    }
    ],
    audioCapabilities: [{
        contentType: 'audio/mp4; codecs="mp4a.40.5"',
        robustness: "SW_SECURE_CRYPTO"
    }
    ]
}
];
var b = navigator.requestMediaKeySystemAccess("com.widevine.alpha", a);

It will return "Unsupported keySystem".

Tao Liu

unread,
Jun 28, 2016, 5:24:02 AM6/28/16
to Chromium-dev, liuta...@gmail.com, cbies...@chromium.org, phis...@gmail.com
No widevine key system, only clear system in key_system_properties_map_.

Tao Liu

unread,
Jun 28, 2016, 7:51:39 AM6/28/16
to Chromium-dev, liuta...@gmail.com, cbies...@chromium.org, phis...@gmail.com
Sorry, I found content_shell doesn't add widevine in  shell_content_renderer_client.cc, I will try add it according chrome_content_renderer_client.cc.
Reply all
Reply to author
Forward
0 new messages