android - Widevine Video Playback -


the chromecast sdk states widevine content supported. through testing determined widevine browser plugin not installed on browser running on chromecast device. knowing that, how 1 play widevine video content using chromecast sdk? i'm running down path of working subclassing mediaprotocolmessagestream , trying figure out contentmetadata needs passed loadmedia(). guidance great!

currently, have write own (javascript) player scratch support drm content, including widevine. chrome browser (in chromecast devices) supports eme can take advantage of that.

to further clarify, here high level process needs happen: need register listener video element "needkey" event fired when protected content detected browser. have call video.generatekeyrequest(..) , pass appropriate "key system" , "initialization data" (initdata). needkey event contains initdata applications can modify before calling generatekeyrequest(). after going through content decryption module (cdm), browser fires "keymessage" event contains request key application needs capture , send license server. if goes fine, license server returns key application should pass browser calling video.addkey(). browser pass key content decryption module (cdm) used decrypting frames passed it.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -

php - Accessing static methods using newly created $obj or using class Name -