i-rinat / freshplayerplugin

ppapi2npapi compatibility layer
MIT License
728 stars 52 forks source link

Playback of DRM test is failing. #340

Closed Zombie-Ryushu closed 6 years ago

Zombie-Ryushu commented 8 years ago

Playback of Protected content under Flash is failing. I'd like to know if there is a work around required such as installing ChromeOS Flash.

i-rinat commented 8 years ago

PepperFlash from desktop Chrome doesn't have DRM support, while PepperFlash from ChromeOS does.

If you have libpepflashplayer.so file, you can check for support by calling

strings -a libpepflashplayer.so | grep PPB_Flash_DRM

Version from ChromeOS have output like:

PPB_Flash_DRM;1.1
PPB_Flash_DRM;1.0

while for desktop one there is nothing.

Zombie-Ryushu commented 8 years ago

Adobe is now offering Pepper Flash as an independent download from Chromium. Is this Pepper Flash unable to do DRM?

i-rinat commented 8 years ago

Is this Pepper Flash unable to do DRM?

Unable.

Test is the same, there should be string PPB_Flash_DRM inside a binary. Both i386 and x86-64 versions I tried have no such string inside.

You still can download ChromeOS recovery image directly from Google. It has PepperFlash inside.

i-rinat commented 6 years ago

This issue was about Flash plugin itself unable to do DRM-related computations. It's required to use version at from ChromeOS, since PepperFlash for desktop Chrome have no DRM-related code compiled in.

Additionally, there is another issue with DRM, #359. Reason is unknown. Probably, something Firefox-related, since drm test page works in Firefox 52 ESR on my machine.