Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect if the HDMI port on an Android device has HDCP enabled?

Can't find anything definitive on Android Doc and Google.

If there is API to detect this, what is it and what is the API to enable/disable HDCP on the HDMI output?

If there is NO API to detect this, is there a device can be used to check the HDCP flag on HDMI port?

On some android devices (most notably Samsung devices), the HDMI port always has HDCP enabled. But how about other manufactures devices? Is HDCP mandatory on Google certified device? If it's not mandatory, how do major content providers's Android apps (from Big cable company teleco) prevent video output to non-HDCP protected HDMI port?

like image 920
Yi Wang Avatar asked Nov 12 '22 23:11

Yi Wang


1 Answers

You can try to check the Display flags: http://developer.android.com/reference/android/view/Display.html#getFlags()

FLAG_SECURE or FLAG_SUPPORTS_PROTECTED_BUFFERS (http://developer.android.com/reference/android/view/Display.html#FLAG_SECURE and http://developer.android.com/reference/android/view/Display.html#FLAG_SUPPORTS_PROTECTED_BUFFERS)

like image 134
Marcos Zolnowski Avatar answered Nov 15 '22 01:11

Marcos Zolnowski