Hi Felipe, You can run the OpenH264 plugin on Aurora now. Here's how to make it work on OSX or Linux:
Pull down the 'v1.1-Firefox32' branch from here - https://github.com/cisco/openh264 Running 'make gmp-bootstrap && make plugin' on that tree and it should make you a libgmpopenh264.so/dylib. Put that library plus the gmpopenh264.info file into a directory named "/usr/lib/mozilla/plugins/gmp-gmpopenh264" (Linux) or "~/Library/Internet Plug-Ins/gmp-gmpopenh264" (OSX). Then when you run Aurora go to about:config and create the setting "media.peerconnection.video.h264_enabled" and set it to true. Then you can test with this page - http://mozilla.github.io/webrtc-landing/pc_test_h264.html That should give you loopback video encoded with the plugin. Make sure that you see H264 in the SDP dump below the screens since the page will fall back to VP8 if H264 is not enabled. >From there you should be able to edit the code and create your own crashes. I'm using Aurora in this example because the GMP API is changing in Nightly (probably today). -EH On Thu, Jul 10, 2014 at 12:25 PM, Benjamin Smedberg <[email protected]> wrote: > > On 7/10/2014 12:20 PM, Felipe Gomes wrote: > >> Hey, could I get a starter or bug 1009760? What are these plugins? Do I >> need to do something special to compile and use them? How do I get one to >> test it crashing? Thanks >> >> (ps.: I'll be in airports all day today, working offline) >> > > I expect the hard part of this is going to be associating the crash with > the DOM window. The code which should notice that the GMP plugin stopped is > http://mxr.mozilla.org/mozilla-central/source/content/media/gmp/GMPParent. > cpp#244 > > ekr said in https://bugzilla.mozilla.org/show_bug.cgi?id=1009764#c1 that > we should be able to associate that with a webrtc JS context, and from > there it should be easy to get the DOM window and fire a DOM event at it. > But I don't know how all that is hooked up. > > After that it should be straightforward to listen for the DOM event at > http://mxr.mozilla.org/mozilla-central/source/ > browser/base/content/browser.js#764 and handle it at > http://mxr.mozilla.org/mozilla-central/source/ > browser/base/content/browser-plugins.js#309 > > I hope. > > --BDS > > _______________________________________________ > dev-media mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-media > _______________________________________________ dev-media mailing list [email protected] https://lists.mozilla.org/listinfo/dev-media

