Hi all,
Our team is using CEF in a windows application that will require very high resolution video and chromium's current decoders aren't quite getting us the consistent playback that we need. We're looking at alternatives and hoping to get some feedback / advice from this community before continuing down any one path.
One approach we've been exploring is to add a custom MIME handler / plug-in that uses Direct Show / Direct3D 11 to decode and render the video with hardware acceleration. It looks like the 'official' way to add plug-ins is to use Native Client, however I've read (in this native-client-discuss post) that, we don't have access to the HWND's so this won't be possible. Can we get around this?
This relatively old pepper / PPAPI documentation suggests that if we declare the plug-in as 'trusted' then we can get around the sandbox, however I don't really know how to utilize this or if / how it'd allow us to get the HWND handle we need.
Can anyone advise on how to connect the dots here? Seems there are a few magic raw pointers and handles floating around in the pepper api, but I can't make much of them yet. Our other options don't have the nice and tight integration that this route would have (we'd get to use keep using html5 video tags). Although I'm open to others opinions if they know a decent route for getting accelerated video playback on Windows.
thanks,
Rich