Mihai Alexandru Michis
4e1448e7e6
Backed out 2 changesets (bug 1510226) for causing xpcshell crashes and xpcshell failures in test_TelemetrySession.js CLOSED TREE
...
Backed out changeset cb739de6606d (bug 1510226)
Backed out changeset b6f670610dc3 (bug 1510226)
2019-09-25 04:25:07 +03:00
Doug Thayer
65be2b22c1
Bug 1510226 - Remove vestigial references to cooperative scheduling r=froydnj
...
GetCurrentPhysicalThread and GetCurrentVirtualThread are, in practice,
identical, as the TLS override that GetCurrentVirtualThread depends on
is never actually set. This simply removes that and renames some things/
deletes some comments.
Differential Revision: https://phabricator.services.mozilla.com/D41247
--HG--
extra : moz-landing-system : lando
2019-08-20 18:03:11 +00:00
Edgar Chen
5bc0854d2b
Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45168
--HG--
extra : moz-landing-system : lando
2019-09-20 20:51:25 +00:00
Daniel Varga
bc19cdb06d
Backed out 3 changesets (bug 1578355) for build bustage at build/src/dom/base/nsSyncLoadService.h:48:21. On a CLOSED TREE
...
Backed out changeset d50ad759f129 (bug 1578355)
Backed out changeset 339ab54ca471 (bug 1578355)
Backed out changeset 284299dac42c (bug 1578355)
2019-09-20 14:05:12 +03:00
Edgar Chen
5b6fe53148
Bug 1578355 - Part 1: Move user-activation code from EventStateManager to UserActivation; r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D45168
--HG--
extra : moz-landing-system : lando
2019-09-20 10:31:55 +00:00
Alex Chronopoulos
192023066e
Bug 1572281 - In DeviceChangeCallback class separate the observer from the subject functionality. r=pehrsons
...
DeviceChangeCallback class implements the observer pattern. However, the role of the observer and the subject is integrated into the same class which makes use of virtual methods to allow a separation of the roles. This makes code reading difficult. Also, it does not allow from a class to inherit only the observer role or the subject role. This patch breaks the DeviceChangeCallback class into two classes according to the observer or subject functionality.
Differential Revision: https://phabricator.services.mozilla.com/D46270
--HG--
extra : moz-landing-system : lando
2019-09-20 10:11:31 +00:00
Karl Tomlinson
78bb2541b3
Bug 834505 undef GetCurrentTime() from windows-h-wrapper.template.h r=glandium
...
GetCurrentTime is declared in WinBase.h
https://github.com/tpn/winsdk-10/blob/master/Include/10.0.10240.0/um/WinBase.h#L91
Documentation for functions declared in winbase.h instruct to include
Windows.h. e.g.
https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-copyfile
Other macro declarations in winbase.h such as CopyFile() are already adjusted
with this wrapper via windows-h-unicode.decls.h
A similar, but different, static inline could be provided but is not required.
Differential Revision: https://phabricator.services.mozilla.com/D45288
--HG--
extra : moz-landing-system : lando
2019-09-18 02:52:20 +00:00
Andreas Pehrson
b59ffd8e4c
Bug 1579526
- Allow deviceId and groupId constraints for privileged getDisplayMedia callers. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D45175
--HG--
extra : moz-landing-system : lando
2019-09-10 19:22:11 +00:00
Thomas Nguyen
6945142351
Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
...
Differential Revision: https://phabricator.services.mozilla.com/D42958
--HG--
extra : moz-landing-system : lando
2019-09-05 20:09:28 +00:00
Coroiu Cristina
5f190b63ff
Backed out 2 changesets (bug 1548087) for wpt failures at audio-output/setSinkId.https.html on a CLOSED TREE
...
Backed out changeset 6f9782261d63 (bug 1548087)
Backed out changeset 044e224f7011 (bug 1548087)
2019-09-05 20:00:26 +03:00
Thomas Nguyen
db7ab2a061
Bug 1548087 - enumerateDevices should only expose devices which are allowed to use by FeturePolicy r=baku,jib
...
Differential Revision: https://phabricator.services.mozilla.com/D42958
--HG--
extra : moz-landing-system : lando
2019-09-05 14:53:07 +00:00
Andreas Pehrson
0005a9e68a
Bug 1571667 - Lift constraint checking of deviceId and groupId out of MediaEngineSources. r=jib
...
Before this patch, it was unclear who was responsible for checking deviceId and
groupId constraints for devices. MediaManager was doing it through one path for
getUserMedia, with the help of the devices, as part of selecting the
best-fitting device. However, Reconfigure() took another path where the regular
backends for camera and microphone were implemented correctly, but fake devices
were left out so automated tests for applyConstraints were failing.
This patch lifts the responsibility for checking deviceId and groupId
constraints out of the MediaEngineSources into MediaDevice, which already is the
owner of the anonymized ids that MediaEngineSources are unaware of.
This makes constraints checking a two-staged approached where deviceId and
groupid goes first. If they satisfy the constraints, the underlying device is
queried for whether the constraints fit.
As a bonus, this unclutters a lot of the MediaEngineSource interface.
Differential Revision: https://phabricator.services.mozilla.com/D40834
--HG--
extra : moz-landing-system : lando
2019-08-28 08:39:57 +00:00
Andreas Pehrson
a6e5ed4ab7
Bug 1573536 - Allow gUM with audio:{mediaSource:audioCapture} and video:true simultaneously. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D42531
--HG--
extra : moz-landing-system : lando
2019-08-26 14:54:22 +00:00
Andreas Pehrson
49244b4fad
Bug 1571705 - Clarify mInputStream guarantees in MediaStreamTrack. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D41508
--HG--
extra : moz-landing-system : lando
2019-08-19 19:26:25 +00:00
Ciure Andrei
2443b6b31a
Backed out 2 changesets (bug 1571705) for causing liux debug gtest asertion failures CLOSED TREE
...
Backed out changeset 3d33cae2d9f9 (bug 1571705)
Backed out changeset decff7a230b7 (bug 1571705)
2019-08-19 19:48:25 +03:00
Andreas Pehrson
2c2d552b7b
Bug 1571705 - Clarify mInputStream guarantees in MediaStreamTrack. r=karlt
...
Differential Revision: https://phabricator.services.mozilla.com/D41508
--HG--
extra : moz-landing-system : lando
2019-08-19 12:46:43 +00:00
Andreas Pehrson
466372ade8
Bug 1014393 - Use undef-after-def pattern in MediaRecorder and related files. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D37700
--HG--
extra : moz-landing-system : lando
2019-08-05 10:05:28 +00:00
Andreea Pavel
d95d878a50
Backed out 15 changesets (bug 1014393) for causing test_mediarecorder_record_gum_video_timeslice_mixed.html a=backout
...
Backed out changeset 83a1758bc6fa (bug 1014393)
Backed out changeset be1f1f82f92c (bug 1014393)
Backed out changeset 21ec9e104912 (bug 1014393)
Backed out changeset ea6314a61a77 (bug 1014393)
Backed out changeset e35a1a354bb5 (bug 1014393)
Backed out changeset 5c4b5620be2e (bug 1014393)
Backed out changeset 579d7f15d4f2 (bug 1014393)
Backed out changeset f9a9b2fc3335 (bug 1014393)
Backed out changeset c49241bad727 (bug 1014393)
Backed out changeset fc24872739e4 (bug 1014393)
Backed out changeset fd846ac16731 (bug 1014393)
Backed out changeset 4b11f19aa613 (bug 1014393)
Backed out changeset 4a57b865b461 (bug 1014393)
Backed out changeset 147d5aeaab46 (bug 1014393)
Backed out changeset c58e17df9c99 (bug 1014393)
--HG--
rename : dom/media/encoder/EncodedFrame.h => dom/media/encoder/EncodedFrameContainer.h
2019-08-03 20:23:02 +03:00
Andreea Pavel
5f860a304f
Backed out changeset 6954782553c7 (bug 1014393) for build bustages a=backout
2019-08-03 20:09:29 +03:00
Gurzau Raul
3d31a9b7c0
Backed out 15 changesets (bug 1014393) for permafailing at test_mediarecorder_record_gum_video_timeslice_mixed.html a=backout
2019-08-03 19:22:18 +03:00
Tom Schuster
88855a7ee5
Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D40108
--HG--
extra : source : 3da6e9e86be4a4a9eeaceec222398475b6679193
2019-08-02 08:54:18 +00:00
Mihai Alexandru Michis
0cc257addd
Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE
...
Backed out changeset e44c9fd81e5b (bug 1558915)
Backed out changeset 3da6e9e86be4 (bug 1558915)
2019-08-02 12:17:42 +03:00
Tom Schuster
f115dd9113
Bug 1558915 - Use infallible nsIURI::SchemeIs in dom/. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D40108
--HG--
extra : moz-landing-system : lando
2019-08-02 08:54:18 +00:00
Andreas Pehrson
217959703e
Bug 1014393 - Use undef-after-def pattern in MediaRecorder and related files. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D37700
--HG--
extra : moz-landing-system : lando
2019-08-01 08:48:39 +00:00
Gurzau Raul
bcc3fa9613
Backed out 15 changesets (bug 1014393) for build bustage at TestMuxer.cpp on a CLOSED TREE.
...
Backed out changeset e6d834f3786e (bug 1014393)
Backed out changeset 2d880ea6e67c (bug 1014393)
Backed out changeset 9a087b7459cc (bug 1014393)
Backed out changeset 0dd76879ff03 (bug 1014393)
Backed out changeset b88188e0d590 (bug 1014393)
Backed out changeset 24f244ea8fff (bug 1014393)
Backed out changeset 0e85d193f8ff (bug 1014393)
Backed out changeset 12f932aeb3e9 (bug 1014393)
Backed out changeset 8bcbc931942b (bug 1014393)
Backed out changeset a16bcc633362 (bug 1014393)
Backed out changeset bf46f2a2e519 (bug 1014393)
Backed out changeset aa508d83a2c3 (bug 1014393)
Backed out changeset 085fb3e97aaa (bug 1014393)
Backed out changeset e872361b9f3b (bug 1014393)
Backed out changeset b4fb228c8624 (bug 1014393)
--HG--
rename : dom/media/encoder/EncodedFrame.h => dom/media/encoder/EncodedFrameContainer.h
2019-07-31 23:28:47 +03:00
Dan Minor
97c5db53eb
Bug 1561923 - Remove expired WebRTC telemetry; r=drno,bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D37757
--HG--
extra : moz-landing-system : lando
2019-07-31 19:57:55 +00:00
Andreas Pehrson
0123e701dd
Bug 1014393 - Use undef-after-def pattern in MediaRecorder and related files. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D37700
--HG--
extra : moz-landing-system : lando
2019-07-31 11:30:26 +00:00
Andreas Pehrson
b2dd965a2d
Bug 1493613 - Remove TracksCreatedListener. r=padenot
...
It could lead to a ref-cycle leak if it was added as listener to a
MediaStreamTrack but the underlying track in the graph was never created, so
that the TracksCreatedListener never received NotifyOutput or NotifyRemoved
events.
Differential Revision: https://phabricator.services.mozilla.com/D39658
--HG--
extra : moz-landing-system : lando
2019-07-30 14:56:19 +00:00
Andreas Pehrson
4b3fa9c67e
Bug 1493613 - Move MediaStream control from DOMMediaStream to MediaStreamTrack. r=padenot
...
This is inherently large, because modifying these bits of DOMMediaStream and
MediaStreamTrack affects all consumers and producers of all DOMMediaStreams and
MediaStreamTracks.
Things are generally much simpler now.
Producers of tracks now create a MediaStream in the graph, add it to a
MediaStreamTrackSource subclass that takes ownership of it, and add the source
to a MediaStreamTrack. Should the producer need a DOMMediaStream it is now much
simpler to create as the only thing needed is the current window. The stream is
a rather simple wrapper around an array of MediaStreamTracks.
HTMLMediaElement is still not as straight forward as other consumers since it
consumes the DOMMediaStream directly, as opposed to a set of tracks.
The new MediaStreamRenderer helper class helps bridge the gap between this fact
and the new track-based MediaStreamGraph interface, as it needs to juggle
registering multiple audio tracks for audio output. This hooks into existing
HTMLMediaElement logic and brings a welcome simplification to all the glue
previously needed there.
Differential Revision: https://phabricator.services.mozilla.com/D37934
--HG--
extra : moz-landing-system : lando
2019-07-31 07:58:17 +00:00
Andreas Pehrson
10202bfc64
Bug 1561254 - Support groupId in constraints. r=achronop,jib,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D37692
--HG--
extra : moz-landing-system : lando
2019-07-30 16:28:44 +00:00
Kannan Vijayan
3fb6190ec6
Bug 1559414 - Rename unaudited pre-fission methods with SameProcess for future audit burndown. r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D39378
--HG--
extra : moz-landing-system : lando
2019-07-26 16:48:31 +00:00
Andreas Pehrson
59a2b619f0
Bug 1565374 - Reset state. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D37784
--HG--
extra : moz-landing-system : lando
2019-07-17 19:57:31 +00:00
Mihai Alexandru Michis
e0b0dfa5eb
Backed out 15 changesets (bug 1014393) for causing bustages in TestMuxer.cpp and gmock-internal-utils.h CLOSED TREE
...
Backed out changeset 0ddbdbfa87f6 (bug 1014393)
Backed out changeset 37399c83d3bf (bug 1014393)
Backed out changeset fe652475a785 (bug 1014393)
Backed out changeset 2812ca77d87d (bug 1014393)
Backed out changeset 6755ef7b361c (bug 1014393)
Backed out changeset 72e545bdcce3 (bug 1014393)
Backed out changeset 2f030ee55722 (bug 1014393)
Backed out changeset e9416b502170 (bug 1014393)
Backed out changeset 5a01d6d44634 (bug 1014393)
Backed out changeset 3457a5065dc4 (bug 1014393)
Backed out changeset 2a4999e0475b (bug 1014393)
Backed out changeset 0be3804dc04e (bug 1014393)
Backed out changeset 234994d8f136 (bug 1014393)
Backed out changeset d17f91ff2014 (bug 1014393)
Backed out changeset 25f58baa8159 (bug 1014393)
--HG--
rename : dom/media/encoder/EncodedFrame.h => dom/media/encoder/EncodedFrameContainer.h
2019-07-12 17:18:23 +03:00
Andreas Pehrson
221a8dfeca
Bug 1014393 - Use undef-after-def pattern in MediaRecorder and related files. r=bryce
...
Differential Revision: https://phabricator.services.mozilla.com/D37700
--HG--
extra : moz-landing-system : lando
2019-07-12 13:42:00 +00:00
Andreas Pehrson
83ae7ef921
Bug 1565317 - Handle missing mMediaSource in ReduceConstraint. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D37778
--HG--
extra : moz-landing-system : lando
2019-07-12 13:04:14 +00:00
Andreas Pehrson
2283c81baa
Bug 1560907 - Remove default value for mediaSource constraint. r=jib,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D36087
--HG--
extra : moz-landing-system : lando
2019-07-10 09:45:26 +00:00
Jan-Ivar Bruaroey
79e118fb86
Bug 1552571: Optimize GetUserMediaWindowListener's source listener iteration and ownership. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D31687
--HG--
extra : moz-landing-system : lando
2019-06-20 16:43:21 +00:00
Dorel Luca
bdd441ea2d
Backed out changeset 350091c5dde1 (bug 1552571) for mda failures in /builds/worker/workspace/build/src/dom/media/MediaManager.cpp
2019-06-05 05:14:15 +03:00
Jan-Ivar Bruaroey
612f805223
Bug 1552571: Optimize GetUserMediaWindowListener's source listener iteration and ownership. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D31687
--HG--
extra : moz-landing-system : lando
2019-06-04 22:39:14 +00:00
Andreas Pehrson
f7fd39e39f
Bug 1537986 - Remove dom:: prefixes in MediaManager. r=jib
...
Depends on D32965
Differential Revision: https://phabricator.services.mozilla.com/D33260
--HG--
extra : moz-landing-system : lando
2019-05-31 22:04:13 +00:00
Andreas Pehrson
d80077c20a
Bug 1537986 - Add deviceId and groupId to all camera and microphone settings. r=jib,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D32964
--HG--
extra : moz-landing-system : lando
2019-06-04 12:07:31 +00:00
Jan-Ivar Bruaroey
98192deae0
Bug 1550955 - Make StopTrack() API require a hard reference. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D31555
--HG--
extra : moz-landing-system : lando
2019-05-17 19:38:44 +00:00
Jim Mathies
596063b9b7
Bug 1541186 - Switch to using TYPE_MOZILLA_NONMAINTHREAD for MediaManager. r=jesup
...
Differential Revision: https://phabricator.services.mozilla.com/D25925
--HG--
extra : moz-landing-system : lando
2019-05-01 18:16:55 +00:00
Jan-Ivar Bruaroey
6f1f1f6d20
Bug 1546865 - Retry gUM on mic process limit collision after 200 ms. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D30290
--HG--
extra : moz-landing-system : lando
2019-05-10 16:06:09 +00:00
Jan-Ivar Bruaroey
a8cc07510f
Bug 1547381 - Call StopTrack() in the right order. r=padenot
...
Differential Revision: https://phabricator.services.mozilla.com/D29924
--HG--
extra : moz-landing-system : lando
2019-05-06 09:14:38 +00:00
Jan-Ivar Bruaroey
2a2f7640e3
Bug 1407415 - Add a CamerasParent shutdown blocker. r=dminor,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D29701
--HG--
extra : moz-landing-system : lando
2019-05-03 21:08:45 +00:00
Jan-Ivar Bruaroey
e52e8837ef
Bug 1407415 - Consolidate media::GetShutdownBarrier() use and return a RefPtr r=dminor
...
Differential Revision: https://phabricator.services.mozilla.com/D29700
--HG--
extra : moz-landing-system : lando
2019-05-03 21:08:42 +00:00
Dan Minor
4d0f83f387
Bug 1497559 - Remove Application from mediaCaptureWindowState; r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D28093
--HG--
extra : moz-landing-system : lando
2019-04-30 15:06:23 +00:00
Dan Minor
522725a730
Bug 1497559 - Remove application capture support; r=ng
...
This removes all references to application capture except from MediaSourceEnum.
That was left in place so as to not change the enumerated values used
for WEBRTC_GET_USER_MEDIA_TYPE telemetry.
Differential Revision: https://phabricator.services.mozilla.com/D28089
--HG--
extra : moz-landing-system : lando
2019-04-26 16:35:39 +00:00
Jan-Ivar Bruaroey
51b1caf0cd
Bug 1335740 - getUserMedia() Add 2 prefs to control A) NotAllowedError in http (pref'd on), and B) [SecureContext] navigator.mediaDevices (pref'd off) r=bzbarsky,pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D19549
--HG--
extra : moz-landing-system : lando
2019-04-30 15:20:59 +00:00