https://addons.mozilla.org/en-US/firefox/addon/devtools-media-panel/
This a web extension adaption of the aboutmedia addon https://github.com/jyavenard/aboutmedia with additions for webrtc.
It creates a new 'Media-Webrtc' tab in the Firefox developer tools panel - currently supported in Firefox 54+
Instructions for building for release and submitting to Add-on Dev Hub:
- Run 'npm install'.
- Run './browserify_production.sh'
- Checkin extension/bundle.js if needed (anything changed in src/app)
- Update version number in extension/manifest.json
- Run './release_addon.sh'
- Run './release_code.sh'
- Login to Add-on Developer Hub (https://addons.mozilla.org/en-US/developers)
- Upload new version.
- Include these instructions with the source code:
The non-obfuscated/minified source code is included with this submission and also available here: https://github.com/mjfroman/media-devtools-panel-react
The bundle.js file can be reproduced by:
- run npm install
- run ./browserify_production.sh
Instructions for building for development:
- Run 'npm install'.
- Run './watchify_bundle.sh'
Instructions for installing manually:
- Clone/download repo
- Open Firefox
- Go to 'about:debugging'
- Click 'Load Temporary Add-on' button
- Navigate to 'extension' subdirectory in repo
- Open any file in this directory
- There should be a new 'Media Panel' addon listed under 'Extensions'
- Navigate to page with video element and/or webrtc and open developer tools (F12)
- For video: try https://youtube.com
- For webrtc: https://webrtc.github.io/samples/src/content/peerconnection/pc1/
- There should be a new 'Media-Webrtc' tab