Media/WebRTC/Privacy: Difference between revisions

(→‎Prefs that control ICE Candidate generation: Update Prefs to account for changes introduced in 1297416)
Line 46: Line 46:


===Hooks to control access to createOffer/createAnswer===
===Hooks to control access to createOffer/createAnswer===
Firefox 43 (uplifted to 42) supports hooks that allow an extension to allow or deny calls to createOffer and createAnswer -- {{Bug|1189060}}
With the removal of old-style add-ons in Firefox 57, the following information is no longer applicable. An equivalent WebExtensions API is under development, but not yet complete. See {{Bug|1281833}} for details.
 
<s>Firefox 43 (uplifted to 42) supports hooks that allow an extension to allow or deny calls to createOffer and createAnswer -- {{Bug|1189060}}
  <nowiki>
  <nowiki>
   // Add-ons can override stock permission behavior by doing:
   // Add-ons can override stock permission behavior by doing:
Line 63: Line 65:
   // See browser/modules/webrtcUI.jsm for detail</nowiki>
   // See browser/modules/webrtcUI.jsm for detail</nowiki>


Example extension: http://hancke.name/tmp/verhueterli.xpi (source: https://github.com/fippo/plumber).  Note: unsigned extensions require flipping a pref to use (and can't be used in Beta 41).
Example extension: http://hancke.name/tmp/verhueterli.xpi (source: https://github.com/fippo/plumber).  Note: unsigned extensions require flipping a pref to use (and can't be used in Beta 41).</s>
Confirmed users
632

edits