Commit Graph

531 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
fed18a42c0 Backed out changeset 5af415bbb107 (bug 1308615) 2016-10-14 14:58:51 +02:00
Eric Rahm
b8cfe3a083 Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva
2016-10-13 22:02:58 -07:00
Eric Rahm
441292eb71 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59
2016-10-13 22:02:47 -07:00
Jan-Ivar Bruaroey
cfc1a09d64 Bug 1308605 - Fail with OverconstrainedError on bad constraint. r=jesup
MozReview-Commit-ID: JJ1Y3G5b1wl

--HG--
extra : rebase_source : 0ac85ff7c2438aef4ea9e6230fb3816148993fb6
2016-10-12 17:31:20 -04:00
Phil Ringnalda
e6f43c4543 Backed out 2 changesets (bug 1308615) for failures in browser_devices_get_user_media.js
CLOSED TREE

Backed out changeset 85689c52301c (bug 1308615)
Backed out changeset ec8e67234efb (bug 1308615)
2016-10-07 19:42:01 -07:00
Eric Rahm
abd64af72d Bug 1308615 - Part 2: Stop using nsISupportsArray for observer messages. r=jesup
This removes the rest of the usage of nsISupportsArray in MediaManager.

MozReview-Commit-ID: EqXTRNyKiva

--HG--
extra : rebase_source : e41488b4ef7bc6a380a12aae402029d56c92c925
2016-10-07 14:52:52 -07:00
Eric Rahm
28dd079343 Bug 1308615 - Part 1: Use nsIArray in nsIMediaManagerService. r=jesup
This converts nsIMediaManagerService to use nsIArray rather than
nsISupportsArray. All usages of the interface are updated.

MozReview-Commit-ID: 1PLczEptf59

--HG--
extra : rebase_source : a8beed043989f6e69e89d17c0db1864c6d7258ac
2016-10-07 14:52:48 -07:00
Mark Banner
c4565f5765 Bug 1306631 - Remove old Loop telemetry hooks from WebRTC code. r=jesup
MozReview-Commit-ID: 1ctKZPDVEha

--HG--
extra : rebase_source : 530df82d85d87dd605289b8af8ce372ba6cd4ed9
2016-09-23 16:55:48 +01:00
Jan-Ivar Bruaroey
c85b098ed5 Bug 1307630 - Have videoTrack.getSettings() return settings for video, not audio, from source with both. r=jesup
MozReview-Commit-ID: LkJnBuf1Fl0

--HG--
extra : rebase_source : 9549a154659ee0b39d0e0f6fb3dd0063d31e4e66
2016-10-04 19:31:52 -04:00
Jan-Ivar Bruaroey
ad60fcbdf9 Bug 1284909 - Allow raw deviceId constraints in gUM when caller is chrome. r=jesup
MozReview-Commit-ID: IB0BhGKbdam

--HG--
extra : rebase_source : 29006317f365076717f88bdafc64366eb996913c
2016-08-19 16:39:54 -04:00
Ryan VanderMeulen
4460ee8698 Backed out changeset 5f43357fe5b4 (bug 1284909) for bustage on a CLOSED TREE. 2016-08-29 11:25:00 -04:00
Jan-Ivar Bruaroey
de3b766278 Bug 1284909 - Allow raw deviceId constraints in gUM when caller is chrome. r=jesup
MozReview-Commit-ID: IB0BhGKbdam

--HG--
extra : rebase_source : 9ed1f4218e66bd3c96d044cacce167cbde79e775
2016-08-19 16:39:54 -04:00
Munro Mengjue Chiang
7290087ca7 Bug 1297911 - followup: if block needs to be braced; r=jib
MozReview-Commit-ID: I44jAWKquTd

--HG--
extra : rebase_source : a59a286a63aa12ff8f10aae340d0ad7b6f028c98
2016-08-25 14:07:42 +08:00
Andreas Pehrson
83dcc7266e Bug 1259788 - Break out AddTrackInternal() from DOMMediaStream::CreateDOMTrack. r=jesup
Sometimes a track is added to a stream synchronously (before the stream is
exposed to script), and sometimes asynchronously (see the mediacapture-main spec
on the "addtrack" event).

In the latter case we might still need to create the MediaStreamTrack object
synchronously for tracking purposes. CaptureStream of Media element playing a
MediaStream wants this.

MozReview-Commit-ID: 7me8xzN7rwj

--HG--
extra : rebase_source : 4f129b127b855e47aad2ae9ab3981ffde057412d
2016-08-12 13:50:41 +02:00
Jan-Ivar Bruaroey
9e4998ef79 Bug 1284683 - add unanonymized nsIMediaDevice.rawId for browser-chrome use. r=jesup
MozReview-Commit-ID: A4RDfdZAF21

--HG--
extra : rebase_source : 0c1ca7b5a413daad31a95dd7eb42277a4e984f2f
2016-08-18 00:01:00 -04:00
Munro Mengjue Chiang
730a993044 Bug 1286429 - Fire fake devicechange event in Camera IPC thread for mochitest; r=jib
MozReview-Commit-ID: 9sDLnMGh3xL

--HG--
extra : rebase_source : 026891d00450b9bfd792708ab3d5d2e730f431f9
2016-08-09 16:37:04 +08:00
Munro Mengjue Chiang
4eb2d3e90d Bug 1286429 - implement mediaDevices.ondevicechange for Mac OSX; r=jib,smaug
MozReview-Commit-ID: D1Jr6I4qPyr

--HG--
extra : rebase_source : 0f4a97da80d25923c9b6f6550b94039aefa88de5
2016-08-12 01:04:49 +08:00
Nicholas Nethercote
ca40b738e4 Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.

The patch also removes a handful of redundant checks on infallible setters.

--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Igor
175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor
a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Nicholas Nethercote
e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Mark Banner
8fb8a69d5c Bug 1287827 - Part 5. Remove Loop's special permissions for about:loopconversation from MediaManager. r=jib 2016-07-30 08:48:34 +01:00
Mark Banner
37538ca14d Backed out changeset f5f1c014ca19 (bug 1287827) for breaking tests 2016-07-29 18:17:13 +01:00
Mark Banner
3dee065445 Bug 1287827 - Part 5. Remove Loop's special permissions for about:loopconversation from MediaManager. r=jib 2016-07-29 12:00:30 +01:00
Jan-Ivar Bruaroey
abbd438d8f Bug 1286096 - Wire up audio getSettings(). r=padenot,smaug
MozReview-Commit-ID: KH6xcAnd3DX

--HG--
extra : rebase_source : a473d25cec56ee5bf2cd7b5114d7038e45d6a9d8
2016-07-16 15:33:54 -04:00
Jan-Ivar Bruaroey
2982c3ee86 Bug 1286096 - Remove fakeTracks constraint. r=drno,smaug
MozReview-Commit-ID: I9ZsufufRYg

--HG--
extra : rebase_source : 6d3ace3a22ce34586da4899cc0f7b2727a5fc6e0
2016-07-11 19:27:43 -04:00
Chris Peterson
b175c9fdd5 Bug 1277106 - Part 2: Expand MOZ_UTF16() strings to u"" string literals. r=Waldo 2016-07-20 22:03:25 -07:00
Jan-Ivar Bruaroey
aa375cbaab Bug 1213517 - Fix static analysis for bug 1213517 landing: make constructor explicit. r=jesup
MozReview-Commit-ID: 6k38HgsFmL2

--HG--
extra : rebase_source : 47f1caa8cc7a39b1f4f49ae2c8744556122da45d
2016-07-18 02:56:22 -04:00
Jan-Ivar Bruaroey
72df8fa880 Bug 1213517 - Make applyConstraints() and getSettings() do nothing after stop and shutdown. r=jesup
MozReview-Commit-ID: Ez2Wmsoy617

--HG--
extra : rebase_source : b4efaab09652ce3cc5a421c47574c42c6c22f073
2016-07-06 16:55:58 -04:00
Jan-Ivar Bruaroey
b8a3459024 Bug 1213517 - Wire up getSettings(). r=padenot
MozReview-Commit-ID: EX5FIo3rCoi

--HG--
extra : rebase_source : c9a814eb3fbc0a7455ec7c290c3c074cf1b45e7e
2016-06-20 00:38:25 -04:00
Jan-Ivar Bruaroey
d67b712448 Bug 1213517 - Normalize even more of the constraints code. r=padenot
MozReview-Commit-ID: 1XjdHXKYOmP

--HG--
extra : rebase_source : 6e6c05b9ffe6722decb6918667b83a3f9d6bfd8b
2016-06-17 15:20:10 -04:00
Jan-Ivar Bruaroey
bd5e812679 Bug 1213517 - Report correct constraint in OverconstrainedError when constraints conflict directly. r=padenot
MozReview-Commit-ID: 2bVaSvntc8g

--HG--
extra : rebase_source : cf1724b5db8852ca05248b67380899e4a16c7725
2016-06-15 19:25:07 -04:00
Jan-Ivar Bruaroey
5d2ce17581 Bug 1213517 - Consider competing required constraints with OverconstrainedError. r=padenot
MozReview-Commit-ID: EHIY1hpaEQn

--HG--
extra : rebase_source : 0dc2ff54f4e1fb907074d4e71c96f25d50fad81a
2016-06-14 14:42:46 -04:00
Jan-Ivar Bruaroey
3c55d4bc05 Bug 1213517 - Use NormalizedConstraints in low-level code. r=jesup
MozReview-Commit-ID: 3F9ZmHMKAFZ

--HG--
extra : rebase_source : 83ed4e1d3bc13265a1bdef6e9e8d0ee876f42472
2016-05-25 01:52:15 -04:00
Jan-Ivar Bruaroey
03873bf4ff Bug 1213517 - Introduce AllocationHandle to MediaEngine::Allocate(). r=jesup
MozReview-Commit-ID: FKgK8OTwqbL

--HG--
extra : rebase_source : b9532bc739e0f7ec78e2b964f7cf074981354332
2016-06-30 15:43:24 -04:00
Jan-Ivar Bruaroey
594073da3e Bug 1213517 - make getUserMedia store initial constraints on resulting tracks. r=jesup
MozReview-Commit-ID: 291CrmVmq4x

--HG--
extra : rebase_source : d29e6996ee93b01c8abe3a98a3f6d05e98bce3c5
2015-11-24 23:42:26 -05:00
Jan-Ivar Bruaroey
9e1ebfb7eb Bug 1213517 - make track.applyConstraints() store constraints on success. r=jesup
MozReview-Commit-ID: CqTgWuBXSyD

--HG--
extra : rebase_source : c65cf51dfd3279820e2cb6262a369ce12490c946
2015-11-18 22:17:09 -05:00
Jan-Ivar Bruaroey
6c6a61c82b Bug 1213517 - split off MediaTaskUtils.h from MediaUtils.h to shed dependencies. r=jesup
MozReview-Commit-ID: DQz12SN0SU1

--HG--
rename : dom/media/systemservices/MediaUtils.h => dom/media/systemservices/MediaTaskUtils.h
extra : rebase_source : bd2b2a22b0bc5f92e071534bf13ef3a6880edbd9
2015-11-18 22:40:41 -05:00
Iris Hsiao
0d054175d7 Backed out changeset 3764e2fac765 (bug 1213517) 2016-07-18 15:42:06 +08:00
Iris Hsiao
3366ed3525 Backed out changeset 015cb0829df5 (bug 1213517) 2016-07-18 15:41:47 +08:00
Iris Hsiao
725d265c2c Backed out changeset 0fc93ec9ccd7 (bug 1213517) 2016-07-18 15:41:37 +08:00
Iris Hsiao
49a7efff23 Backed out changeset 6ed917c7d94d (bug 1213517) 2016-07-18 15:41:28 +08:00
Iris Hsiao
e028907323 Backed out changeset 05b370d75989 (bug 1213517) 2016-07-18 15:40:56 +08:00
Iris Hsiao
19bd7b2143 Backed out changeset c0c0d3eb6dc9 (bug 1213517) 2016-07-18 15:40:34 +08:00
Iris Hsiao
463c07d354 Backed out changeset e4829b553f9e (bug 1213517) 2016-07-18 15:40:20 +08:00
Iris Hsiao
7a103775dc Backed out changeset 85832c026282 (bug 1213517) 2016-07-18 15:40:03 +08:00
Iris Hsiao
d6cc817c38 Backed out changeset eca5b39db393 (bug 1213517) 2016-07-18 15:39:22 +08:00
Iris Hsiao
95230874f7 Backed out changeset 97d42349adb9 (bug 1213517) 2016-07-18 15:39:16 +08:00
Jan-Ivar Bruaroey
5466655711 Bug 1213517 - Make applyConstraints() and getSettings() do nothing after stop and shutdown. r=jesup
MozReview-Commit-ID: Ez2Wmsoy617

--HG--
extra : rebase_source : b4efaab09652ce3cc5a421c47574c42c6c22f073
2016-07-06 16:55:58 -04:00
Jan-Ivar Bruaroey
018c5b2f42 Bug 1213517 - Wire up getSettings(). r=padenot
MozReview-Commit-ID: EX5FIo3rCoi

--HG--
extra : rebase_source : c9a814eb3fbc0a7455ec7c290c3c074cf1b45e7e
2016-06-20 00:38:25 -04:00