|
|
| Line 1: |
Line 1: |
| getUserMedia permission proposal.
| |
|
| |
|
| * Add 3 permissions, ‘camera-front’, ‘camera-back’ and ‘microphone’.
| |
| ** these permissions setting on B2G will be:
| |
| {
| |
| app: PROMPT_ACTION,
| |
| privileged: PROMPT_ACTION,
| |
| certified: ALLOW_ACTION
| |
| }
| |
|
| |
| * Add indicator on notification bar to let user knows audio/video is recording.
| |
| ** each iframe will have one indicator on notification bar when audio/video is recording.
| |
| ** the indicator will dismiss when stops recording.
| |
| ** when user presses the indicator, it will bring the corresponding iframe to top.
| |
| ** a button to close the corresponding iframe on each indicator.
| |
|
| |
| * Regular web content
| |
| ** always prompt for each request without ‘remember my choice’ option.
| |
| ** iframe can continuing recording if it loses focus.
| |
|
| |
| * Trusted (authenticated by publisher)
| |
| ** prompt to user with ‘remember my choice’ when a iframe is pointed to different origin.
| |
| ** iframe can continuing recording if it loses focus.
| |
|
| |
| * Certified (vouched for by trusted 3rd party)
| |
| ** implicit to grant permission
| |
| ** iframe can continuing recording if it loses focus.
| |
|
| |
|
| |
| Ref:
| |
|
| |
| 1. https://bugzilla.mozilla.org/show_bug.cgi?id=853356#c8
| |
|
| |
| 2. https://groups.google.com/forum/?hl=en&fromgroups=#!searchin/mozilla.dev.webapi/getUserMedia/mozilla.dev.webapi/IDrK6WaQph4/JS71O5AKJ1YJ
| |
|
| |
|
| |
|
| |
| {{VerifiedUser}}
| |