Karl Tomlinson
78defe09b9
Bug 1712898 add a basic prompt for selectAudioOutput() r=jib,flod,pbz
...
This contains the code paths that are similar to the prompt for getUserMedia().
Permanent permissions and grace period are not included here and their model
may differ from that of getUserMedia().
See https://bugzilla.mozilla.org/show_bug.cgi?id=1712892
Differential Revision: https://phabricator.services.mozilla.com/D115994
2021-06-09 04:01:38 +00:00
Karl Tomlinson
b15c7ed974
Bug 1712898 rename audio/videoDevices to audio/videoInputDevices r=pbz
...
This will allow distinguishing from audioOutputDevices.
Depends on D115989
Differential Revision: https://phabricator.services.mozilla.com/D115990
2021-06-02 05:54:08 +00:00
Karl Tomlinson
9f60769705
Bug 1709474 move mozGetUserMediaDevices from Navigator to GetUserMediaRequest r=jib,webidl,geckoview-reviewers,smaug,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D111565
2021-05-06 05:16:49 +00:00
Csoregi Natalia
8cad1a2512
Backed out 2 changesets (bug 1709484, bug 1709474) for geckoview fails on testDeviceRecordingEventAudioAndVideo. CLOSED TREE
...
Backed out changeset 069415280f6d (bug 1709474)
Backed out changeset 3853186911c9 (bug 1709484)
2021-05-06 03:38:52 +03:00
Karl Tomlinson
10fe97e403
Bug 1709474 move mozGetUserMediaDevices from Navigator to GetUserMediaRequest r=jib,webidl,geckoview-reviewers,smaug,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D111565
2021-05-05 23:04:13 +00:00
Karl Tomlinson
42f47f0844
Bug 1698238 remove unused mozGetUserMediaDevices() constraints parameter r=pehrsons,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D108372
2021-03-30 07:52:12 +00:00
Alexandru Michis
1b37371a3f
Backed out 7 changesets (bug 1698238) for causing mda failures in mozGetUserMediaDevices.
...
CLOSED TREE
Backed out changeset ced3a595578f (bug 1698238)
Backed out changeset 9fbbeadcb724 (bug 1698238)
Backed out changeset 90315eae4c9d (bug 1698238)
Backed out changeset ef9119db5670 (bug 1698238)
Backed out changeset 936e27e7b234 (bug 1698238)
Backed out changeset 6f32420b1ca5 (bug 1698238)
Backed out changeset 39d307ba24d4 (bug 1698238)
2021-03-30 07:20:46 +03:00
Karl Tomlinson
52c860d12c
Bug 1698238 remove unused mozGetUserMediaDevices() constraints parameter r=pehrsons,webidl,smaug
...
Depends on D108371
Differential Revision: https://phabricator.services.mozilla.com/D108372
2021-03-29 23:42:49 +00:00
Mike Conley
15ad15a01c
Bug 1693677 - Add a 50s grace period for re-requesting a camera or microphone device in a tab. r=mconley,johannh
...
Depends on D106160
Differential Revision: https://phabricator.services.mozilla.com/D106043
2021-03-13 19:15:55 +00:00
Bogdan Tara
afa4e42330
Backed out 3 changesets (bug 1693677) for browser_devices_get_user_media_grace.js failures CLOSED TREE
...
Backed out changeset df230c366ab3 (bug 1693677)
Backed out changeset 816d2b917939 (bug 1693677)
Backed out changeset f9895c7f1b26 (bug 1693677)
2021-03-13 01:16:10 +02:00
Mike Conley
8ff4b701e4
Bug 1693677 - Add a 50s grace period for re-requesting a camera or microphone device in a tab. r=mconley,johannh
...
Depends on D106160
Differential Revision: https://phabricator.services.mozilla.com/D106043
2021-03-12 19:15:13 +00:00
Andreas Pehrson
c11959ec0e
Bug 1597451 - Remove IterateWindowListeners altogether. r=jib,geckoview-reviewers,agi
...
GeckoView is seemingly the last user depending on MediaManager iterating over
a all iframes of a window when queried for its capture state.
It is fine however, since GeckoViewMedia already iterates over all windows in
MediaManagerService.activeMediaCaptureWindows, which includes all subframes that
are actively captured.
This patch removes IterateWindowListeners altogether, and the last callsite is
simplified.
Differential Revision: https://phabricator.services.mozilla.com/D93079
2020-10-19 09:56:56 +00:00
Mike Conley
01fa52e2f5
Bug 1643027 - Add GlobalMuteListener to WebRTCChild for globally muting the microphone and camera. r=pbz
...
This listens to state changes set via SharedData. Those state changes are executed by
front-end code in a later patch in this series.
Depends on D87129
Differential Revision: https://phabricator.services.mozilla.com/D86719
2020-08-27 15:46:26 +00:00
Mike Conley
5cc3b2e692
Bug 1658353 - Add global mute/unmute capability for microphones, with tests. r=jib
...
Depends on D87679
Differential Revision: https://phabricator.services.mozilla.com/D86718
2020-08-27 15:46:59 +00:00
Bogdan Tara
f7dc3b755a
Backed out 6 changesets (bug 1643027, bug 1658353) for browser_parsable_css.js failures CLOSED TREE
...
Backed out changeset e50501b54674 (bug 1643027)
Backed out changeset aa5d33b0d0b5 (bug 1643027)
Backed out changeset 51c592eb4ebd (bug 1643027)
Backed out changeset fe37ed8ba008 (bug 1658353)
Backed out changeset acb933a440c7 (bug 1658353)
Backed out changeset 7aa764991e49 (bug 1658353)
2020-08-27 18:39:49 +03:00
Mike Conley
3c4a584106
Bug 1643027 - Add GlobalMuteListener to WebRTCChild for globally muting the microphone and camera. r=pbz
...
This listens to state changes set via SharedData. Those state changes are executed by
front-end code in a later patch in this series.
Depends on D87129
Differential Revision: https://phabricator.services.mozilla.com/D86719
2020-08-26 21:31:00 +00:00
Mike Conley
90e18673c3
Bug 1658353 - Add global mute/unmute capability for microphones, with tests. r=jib
...
Depends on D87679
Differential Revision: https://phabricator.services.mozilla.com/D86718
2020-08-26 21:35:46 +00:00
Jan-Ivar Bruaroey
27cba52636
Bug 1652884 - Add observer messages to mute/unmute all camera tracks. r=pehrsons
...
Add UA (user agent) muting, a spec-supported feature that somewhat mirrors
track enabling/disabling, except only the browser controls it. The effect
on track sinks is additive: must be unmuted and enabled for there to be
output.
Fire mute/unmute events on JS, and observably set track.muted independent
of track.enabled (reusing existing infrastructure already in use by
RTCPeerConnection tracks).
Low-level: add mDeviceMuted and SetMutedFor() modeled after mDeviceEnabled
and SetEnabledFor() as parallel device state for both camera and microphone for
symmetry and maintenance.
High-level: Only expose messages to mute/unmute camera at the moment, since
that is what is immediately required for Android in bug 1564451.
Differential Revision: https://phabricator.services.mozilla.com/D84222
2020-08-19 22:18:19 +00:00
Bogdan Tara
30eb420e4a
Backed out 14 changesets (bug 1652884) for test_peerConnection_trackDisabling.html failures CLOSED TREE
...
Backed out changeset f83951453e94 (bug 1652884)
Backed out changeset fc697986d538 (bug 1652884)
Backed out changeset 20a10128b5e1 (bug 1652884)
Backed out changeset c99c32323c76 (bug 1652884)
Backed out changeset 991e8975f03d (bug 1652884)
Backed out changeset 9e9511e32cdd (bug 1652884)
Backed out changeset 605c1ac3081a (bug 1652884)
Backed out changeset dd6edf636659 (bug 1652884)
Backed out changeset 74a2f5a9eea2 (bug 1652884)
Backed out changeset b9f419aed12d (bug 1652884)
Backed out changeset 84e82e25929f (bug 1652884)
Backed out changeset 876dbad27af5 (bug 1652884)
Backed out changeset 8f60e3af2a19 (bug 1652884)
Backed out changeset de7537bda499 (bug 1652884)
2020-08-20 01:13:29 +03:00
Jan-Ivar Bruaroey
56ba99fa77
Bug 1652884 - Add observer messages to mute/unmute all camera tracks. r=pehrsons
...
Add UA (user agent) muting, a spec-supported feature that somewhat mirrors
track enabling/disabling, except only the browser controls it. The effect
on track sinks is additive: must be unmuted and enabled for there to be
output.
Fire mute/unmute events on JS, and observably set track.muted independent
of track.enabled (reusing existing infrastructure already in use by
RTCPeerConnection tracks).
Low-level: add mDeviceMuted and SetMutedFor() modeled after mDeviceEnabled
and SetEnabledFor() as parallel device state for both camera and microphone for
symmetry and maintenance.
High-level: Only expose messages to mute/unmute camera at the moment, since
that is what is immediately required for Android in bug 1564451.
Differential Revision: https://phabricator.services.mozilla.com/D84222
2020-08-19 19:30:46 +00:00
Bogdan Tara
fd6c09249f
Backed out 14 changesets (bug 1652884) for VideoFrameConverter related failures CLOSED TREE
...
Backed out changeset 28c4e8c373f0 (bug 1652884)
Backed out changeset 658ba8f39abe (bug 1652884)
Backed out changeset 8e67fe040e4a (bug 1652884)
Backed out changeset 6f5833203763 (bug 1652884)
Backed out changeset 569ff85dfc2e (bug 1652884)
Backed out changeset eaa171643447 (bug 1652884)
Backed out changeset 6b37b60b6662 (bug 1652884)
Backed out changeset 438cce7456fb (bug 1652884)
Backed out changeset e6ed13952b67 (bug 1652884)
Backed out changeset e0b1266231bf (bug 1652884)
Backed out changeset 32f4aae2b5fe (bug 1652884)
Backed out changeset 76b4abccd61b (bug 1652884)
Backed out changeset 9010365ffa66 (bug 1652884)
Backed out changeset 763f39eb5c13 (bug 1652884)
2020-08-19 22:21:31 +03:00
Jan-Ivar Bruaroey
31c3ad60ff
Bug 1652884 - Add observer messages to mute/unmute all camera tracks. r=pehrsons
...
Add UA (user agent) muting, a spec-supported feature that somewhat mirrors
track enabling/disabling, except only the browser controls it. The effect
on track sinks is additive: must be unmuted and enabled for there to be
output.
Fire mute/unmute events on JS, and observably set track.muted independent
of track.enabled (reusing existing infrastructure already in use by
RTCPeerConnection tracks).
Low-level: add mDeviceMuted and SetMutedFor() modeled after mDeviceEnabled
and SetEnabledFor() as parallel device state for both camera and microphone for
symmetry and maintenance.
High-level: Only expose messages to mute/unmute camera at the moment, since
that is what is immediately required for Android in bug 1564451.
Differential Revision: https://phabricator.services.mozilla.com/D84222
2020-08-19 14:03:09 +00:00
Kris Maglione
3af8c4138c
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-08-17 20:20:50 +00:00
Neil Deakin
9d7e84034a
Bug 1656102, remove unneeded message manager workaround from WebRTCChild.jsm, r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D85348
2020-07-31 20:20:25 +00:00
Neil Deakin
0cae4293b6
Bug 1654127, move webrtc and about home cache handling out of ContentObservers.js framescript, r=mconley
...
Differential Revision: https://phabricator.services.mozilla.com/D84277
2020-07-22 10:14:26 +00:00
Dorel Luca
990d081d9f
Backed out 2 changesets (bug 1651519) for WPT failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 7b973a0e7be9 (bug 1651519)
Backed out changeset 55e9184c5617 (bug 1651519)
2020-07-22 02:47:34 +03:00
Kris Maglione
e7d942c77f
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 19:02:27 +00:00
Dorel Luca
d91c6dc40b
Backed out 2 changesets (bug 1651519) for wpt failures in webdriver/tests/switch_to_frame/switch.py. CLOSED TREE
...
Backed out changeset 52317abc5c68 (bug 1651519)
Backed out changeset 45448dca59a4 (bug 1651519)
2020-07-21 21:55:57 +03:00
Kris Maglione
9c2c147159
Bug 1651519: Remove nsIDOMWindowUtils::currentInnerWindowID. r=nika,remote-protocol-reviewers,webcompat-reviewers,whimboo
...
It has some properties which make it footgunny, especially in the face of
Fission. Callers should use WindowGlobalChild.innerWindowId instead.
Differential Revision: https://phabricator.services.mozilla.com/D82801
2020-07-21 16:59:28 +00:00
Mike Conley
0e4c101ea6
Bug 1642803 - Cancel notification silencing once the display share is over. r=pbz
...
Depends on D78120
Differential Revision: https://phabricator.services.mozilla.com/D78346
2020-06-09 23:37:37 +00:00
Razvan Maries
9f0ce65335
Backed out 2 changesets (bug 1642804, bug 1642803) for perma failures on browser_devices_get_user_media_in_xorigin_frame.js. CLOSED TREE
...
Backed out changeset 48f9a72a27a0 (bug 1642803)
Backed out changeset 53ec379c8e0e (bug 1642804)
2020-06-09 18:57:29 +03:00
Mike Conley
af9ad9dfd0
Bug 1642803 - Cancel notification silencing once the display share is over. r=pbz
...
Depends on D78120
Differential Revision: https://phabricator.services.mozilla.com/D78346
2020-06-05 11:03:29 +00:00
pbz
ab0ae62c5f
Bug 1562600 - WebRTCParent: Get document URI from WindowGlobalParent instead of child message. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D76121
2020-05-20 16:25:06 +00:00
Mike Conley
a316bd1675
Bug 1635257 - Add a checkbox to allow users to suppress notifications from the browser when sharing the screen. r=johannh,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D74244
2020-05-16 00:58:48 +00:00
Noemi Erli
573977550b
Backed out 4 changesets (bug 1635257, bug 1637336) fr causing failures in browser_all_files_referenced.js CLOSED TREE
...
Backed out changeset 732ef8965a6e (bug 1635257)
Backed out changeset e3b350425e08 (bug 1635257)
Backed out changeset 2052da1ed54c (bug 1635257)
Backed out changeset 01ea90534f02 (bug 1637336)
2020-05-16 03:21:32 +03:00
Mike Conley
716c233a84
Bug 1635257 - Add a checkbox to allow users to suppress notifications from the browser when sharing the screen. r=johannh,fluent-reviewers,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D74244
2020-05-15 18:02:17 +00:00
Mike Conley
66a6e86753
Bug 1634703 - Send the list of shared nsIMediaDevice devices up to the parent from WebRTCChild.jsm. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D73480
2020-05-12 14:49:59 +00:00
Mike Conley
e08905a04a
Bug 1634703 - Return nsIMediaDevice active devices list from mediaCaptureWindowState. r=jib,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D73479
2020-05-12 14:49:46 +00:00
Bogdan Tara
8c5c4f1dd7
Backed out 7 changesets (bug 1634703) for testDeviceRecordingEventAudioAndVideo failures CLOSED TREE
...
Backed out changeset b982f5d74610 (bug 1634703)
Backed out changeset 59229853930e (bug 1634703)
Backed out changeset e017380f5539 (bug 1634703)
Backed out changeset 47a3a96b969b (bug 1634703)
Backed out changeset b4af76cfbdaf (bug 1634703)
Backed out changeset 7ef57434b09d (bug 1634703)
Backed out changeset 9df87d346b0f (bug 1634703)
2020-05-11 23:04:54 +03:00
Mike Conley
3c136db2d3
Bug 1634703 - Send the list of shared nsIMediaDevice devices up to the parent from WebRTCChild.jsm. r=florian
...
Differential Revision: https://phabricator.services.mozilla.com/D73480
2020-05-08 22:30:56 +00:00
Mike Conley
f77df842d7
Bug 1634703 - Return nsIMediaDevice active devices list from mediaCaptureWindowState. r=jib,geckoview-reviewers,agi
...
Differential Revision: https://phabricator.services.mozilla.com/D73479
2020-05-11 17:34:10 +00:00
Jan-Ivar Bruaroey
19d42636a8
Bug 1616661 - Show raw device name to users in the gum prompt. r=achronop,snorp,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D63552
--HG--
extra : moz-landing-system : lando
2020-02-24 17:09:13 +00:00
Kris Maglione
ab5a99dd15
Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D56609
--HG--
extra : moz-landing-system : lando
2020-01-21 21:32:28 +00:00
Mihai Alexandru Michis
745c94b1df
Backed out changeset 006f4e50e8e5 (bug 1602898) for causing multiple failures.
...
CLOSED TREE
2020-01-21 22:55:37 +02:00
Kris Maglione
aa0306477e
Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D56609
--HG--
extra : moz-landing-system : lando
2020-01-21 18:48:26 +00:00
Cosmin Sabou
9b6e5f8e66
Backed out changeset 4c303f6ec2e6 (bug 1602898) for browser chrome failures on browser_ssb_windowlocation.
2020-01-18 01:06:34 +02:00
Kris Maglione
036e960542
Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre
...
Differential Revision: https://phabricator.services.mozilla.com/D56609
--HG--
extra : moz-landing-system : lando
2020-01-17 21:36:10 +00:00
Neil Deakin
16f95497b9
Bug 1601301, rework webrtc permission granting UI around JSWindowActor, performing the work of determining the ultimate state for the tab icon and menu in the parent rather than the content process, r=johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D56570
--HG--
rename : browser/modules/webrtcUI.jsm => browser/actors/WebRTCParent.jsm
extra : moz-landing-system : lando
2020-01-10 15:09:59 +00:00
Neil Deakin
f4cc73018c
Bug 1601301, add an 'include descendants' flag to mediaCaptureWindowState. With fission, need to handle each subframe separately, r=jib
...
The window will be supplied in the recording-device-events notification and mediaCaptureWindowState will be called on each window in turn.
Differential Revision: https://phabricator.services.mozilla.com/D56569
--HG--
extra : moz-landing-system : lando
2020-01-10 15:29:08 +00:00
Thomas Nguyen
b4435e40e5
Bug 1603674 - Add a new API to check if permission delegation and Feature Policy are enabled r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D57077
--HG--
extra : moz-landing-system : lando
2020-01-06 15:28:12 +00:00