Граф коммитов

673 Коммитов

Автор SHA1 Сообщение Дата
Jan-Ivar Bruaroey 6a80cdfeb9 Bug 1406988 - Assert MediaManager invariant where applicable, and check for existence everywhere else. r=pehrsons
MozReview-Commit-ID: KfGP96IE17G

--HG--
extra : rebase_source : d03aeea5f8809b07d2172ee706a616b863526505
2017-09-29 15:06:51 -04:00
Wes Kocher eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Andreas Farre 2e8f0b10d0 Bug 1403586 - Don't disble budget throttling due to gUM. r=smaug,padenot 2017-09-29 15:21:45 +02:00
Munro Mengjue Chiang e39858f1cd Bug 1402377 - Stop the corresponding track instead of the whole stream when an external device is plugged out. r=jib,pehrsons
MozReview-Commit-ID: 7gbB5sgn6xI

--HG--
extra : rebase_source : 9dc0b1cc8d1dd55c4fb71f444c165498f0e7f7ad
2017-09-27 10:16:46 +08:00
Andreas Pehrson d918302551 Bug 1319446 - DirectMediaStreamListener, you are dead to me. r=padenot
MozReview-Commit-ID: KwztE5ogSj9

--HG--
extra : rebase_source : e8e6bb3548c5697c5db901c0310ea5067a30c895
2017-09-27 12:01:46 +02:00
Chris Peterson 210c7f9690 Bug 870698 - Part 9: Replace Assign(NS_LITERAL_STRING("")) with AssignLiteral(u""). r=erahm
The NS_LITERAL_STRING macro creates a temporary nsLiteralString to encapsulate the char16_t string literal and its length, but AssignLiteral() can determine the char16_t string literal's length at compile-time without nsLiteralString.

MozReview-Commit-ID: 6vgQiU8zN3o

--HG--
extra : rebase_source : 1b536b92ef43f610db057ace6f108620e8d8b4d5
extra : source : 336e21386d5eeb16f1c9893c29377f23b67cc4b0
2017-09-06 01:43:13 -07:00
Nicholas Nethercote e3c9cbb969 Bug 1401813 - Rename Null[C]String() as Void[C]String(). r=erahm.
XPCOM's string API doesn't have the notion of a "null string". But it does have
the notion of a "void string" (or "voided string"), and that's what these
functions are returning. So the names should reflect that.

--HG--
extra : rebase_source : 4e3f982e0873877174a08a25413595ff66f7d20e
2017-09-22 14:35:46 +10:00
Jan-Ivar Bruaroey c0da003175 Bug 1381638 - Prevent sharing multiple input devices in the same process. r=jesup 2017-09-15 23:00:39 -04:00
Munro Mengjue Chiang bb4430fa36 Bug 1399395 - skip devicechange event handler in shutdown stage. r=pehrsons
MozReview-Commit-ID: 8skWP7LuGvR

--HG--
extra : rebase_source : 4003690eedd10ee1676aecfc8f304593004f66ce
2017-09-14 11:16:42 +08:00
Andreas Farre 2a3cdfc4f6 Bug 1393359 - Register active user media on top level window. r=smaug,jib 2017-09-04 14:40:30 +02:00
Andrew McCreight 78807d8776 Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.

MozReview-Commit-ID: 5agRGFyUry1

--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Matthew Gregan 2f8cc7804c Bug 1388236 - Remove B2G-only AudioChannel code from MSG. r=padenot 2017-08-10 13:00:08 +12:00
Eric Rahm 01f545fea7 Bug 1386825 - Part 1: Remove MOZ_B2G from dom. r=bkelly
MozReview-Commit-ID: 1zzP2r01B7U
2017-08-08 14:41:05 -07:00
Sebastian Hengst 915c63c332 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-31 11:28:37 +02:00
Nicholas Nethercote 72c884bf74 Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Munro Mengjue Chiang d92f208dba Bug 1364038 - Call SourceListener::StopTrack when the coresponding external device is disconnected. r=jib
MozReview-Commit-ID: EfpmXBJf7PP

--HG--
extra : rebase_source : b79b7969c6693ba980c5135784ddb1753e711ec4
2017-07-27 16:51:24 +08:00
Sebastian Hengst 5a483737cd Backed out changeset 0cce9f382987 (bug 1364038) for failing mda's dom/media/tests/mochitest/test_peerConnection_addSecondVideoStream.html. r=backout on a CLOSED TREE 2017-07-27 18:32:58 +02:00
Munro Mengjue Chiang dc857a8098 Bug 1364038 - Call SourceListener::StopTrack when the coresponding external device is disconnected. r=jib
MozReview-Commit-ID: EfpmXBJf7PP

--HG--
extra : rebase_source : 328b146ba3531f10a36147f820e84f4d8402ff8a
2017-07-27 16:51:24 +08:00
Nicholas Nethercote 90eaa02ea0 Bug 1382099 - Remove MOZ_WIDGET_GONK from dom/media/. r=gerald.
As well as the obvious #ifdefs, this allows DOMHwMediaStream to be
removed, and also the "phone-state-changed" observer.

--HG--
extra : rebase_source : 373280183e228bd4b9bd9d866959409f2444c77e
2017-07-24 10:08:55 +10:00
Carsten "Tomcat" Book daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Paul Adenot 404c800005 Bug 1341555 - Consolidate use of the MSG's AbstractMainThread, and stop having AbstractMainThread on MediaStreams. r=pehrsons
MozReview-Commit-ID: 5hGDQcfpH6a

--HG--
extra : rebase_source : 41bb678f37cfcdbc9912a25f45a5ca488084aabe
2017-06-29 11:30:57 -07:00
Paul Adenot 6e485889b8 Bug 1330360 - Create new MSGs for each nsPIDOMWindow. r=jesup
MozReview-Commit-ID: 5m1MGcLmT7J

--HG--
extra : rebase_source : b9c05464bb545c047b7718a048eb7e5de3fe275d
2017-06-23 16:18:34 -07:00
Alex Chronopoulos 41737dc1af Bug 1213414 - Implement channelCount audio constraint. r=jib,padenot
MozReview-Commit-ID: K95iBYOE1nR

--HG--
extra : rebase_source : 5c73eea4902933faec75e37d90e42a2f38c51b81
2017-06-29 21:01:17 -07:00
Andreas Pehrson 0a679e33cf Bug 1376885 - Add prefs for automatically denying camera/microphone gUM prompts. r=jib
MozReview-Commit-ID: ISWek1BcLss

--HG--
extra : rebase_source : cc55cdce0e90ab56de05a165b7e1438830006f30
2017-06-28 12:09:14 -07:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey 6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey 4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Carsten "Tomcat" Book 0aaf610c0f Merge mozilla-central to autoland 2017-06-13 12:14:05 +02:00
Bill McCloskey bd66079b0c Bug 1371127 - Use GetCurrentVirtualThread() in MediaManager (r=jesup)
MozReview-Commit-ID: 2Wf9Ln8TMOx
2017-06-12 20:21:43 -07:00
Bill McCloskey d6affd5261 Bug 1365098 - Convert NS_GetCurrentThread uses in dom/media (r=cpearce)
MozReview-Commit-ID: DUPt6xj49zz
2017-06-12 20:20:08 -07:00
Munro Mengjue Chiang ac029ed760 Bug 861716 - queue a gUM request if there has been a pending one. r=jib
MozReview-Commit-ID: 52KcsN27AR3

--HG--
extra : rebase_source : edd74624d32f964eee619e651be0c93dbaae0ac6
2017-05-12 11:32:14 +08:00
Jim Chen 378c61c98f Bug 1369108 - 1. Introduce optional device permission step; r=jesup
Right before `MediaManager::EnumerateRawDevices` posts its enumeration
task to the background thread, add the option to send out a
"getUserMedia:ask-device-permission" notification, whose purpose is to
give frontend UI a chance to ask for device permissions (e.g. permission
to enumerate cameras on Android).

The subject parameter of the notification is an `nsIRunnable` task,
which is passed back to `MediaManager`, after receiving permission,
through the `getUserMedia:got-device-permission` notification. The
notification listener then posts the task and enumeration proceeds as
before.

MozReview-Commit-ID: IhRXTdIplvN
2017-06-02 16:11:53 -04:00
Jan-Ivar Bruaroey 362c199aef Bug 1368875 - Count {video: true} and {audio: true} toward cam and mic counts respectively. r=jesup
MozReview-Commit-ID: BgdvRLpueit

--HG--
extra : rebase_source : 0e271bfd7547099586b3014e551bf6e3282c010a
2017-05-30 21:57:37 -04:00
Jan-Ivar Bruaroey 85b8864f71 Bug 1366415: Unprefix mozAutoGainControl and mozNoiseSuppression w/deprecation warnings. r=jesup,smaug
MozReview-Commit-ID: EdWjSsIhtIM

--HG--
extra : rebase_source : 373bf802ae7a0f957770f2f6ec18fa4cc6c736da
2017-05-19 20:57:44 -04:00
Benjamin Peterson d7205479b1 No bug - fix indentation DONTBUILD
--HG--
extra : rebase_source : 98b121a221b63f701e65536c602504d702945e0a
2017-05-09 22:19:23 -07:00
Munro Mengjue Chiang c8de52fd2d Bug 1363261 - Remove a callId from mCallIds when the corresponding GetUserMediaTask is removed from mActiveCallbacks. r=jib
MozReview-Commit-ID: DcSQ8O9MoCb
2017-04-24 15:11:51 +08:00
Andreas Pehrson 7b778ab6a6 Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB

--HG--
extra : rebase_source : 9276fc7db3566cf0d46a37811a044a25a19bfcbc
2017-03-29 12:07:45 +02:00
Andreas Pehrson 1fc0f176be Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8

--HG--
extra : rebase_source : 0170fb2dcf5856e04cb198eaeb7cbd6b296857b4
2017-03-29 12:06:49 +02:00
Andreas Pehrson 57c8cc22d0 Bug 1320994 - Refactor MediaManager's window management. r=jib
This in large does the following:

* Changes the model in MediaManager to align with that of chrome code, namely:
 - One GetUserMediaWindowListener *per window*, containing N SourceListeners for N gUM requests, and
 - GetUserMediaWindowListener replaces GetUserMediaStreamListener
 - So if two SourceListeners stop we can still send only one event
* Breaks a special event specific to B2G chrome

MozReview-Commit-ID: 3wbPFmc9yWj

--HG--
extra : rebase_source : dff76a1fa604962b45446d632ffb4da58853cfa0
2017-04-26 11:13:40 +02:00
Sebastian Hengst 82e2afb73a Backed out changeset b17aaf7a8689 (bug 1320994) 2017-05-03 13:14:18 +02:00
Sebastian Hengst 7211725673 Backed out changeset c60c97633ac8 (bug 1320994) 2017-05-03 13:14:09 +02:00
Sebastian Hengst 23ee24c08b Backed out changeset cf74f8bacbc1 (bug 1320994) 2017-05-03 13:14:05 +02:00
Andreas Pehrson ade3807eea Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB

--HG--
extra : rebase_source : 0e964f4b41ff53c678fa015001156f3af27563db
2017-03-29 12:07:45 +02:00
Andreas Pehrson 7bd84f27d8 Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8

--HG--
extra : rebase_source : cb702280e9b3fcfcd09a11feeb9f8dfbdf115580
2017-03-29 12:06:49 +02:00
Andreas Pehrson 5db9427abb Bug 1320994 - Refactor MediaManager's window management. r=jib
This in large does the following:

* Changes the model in MediaManager to align with that of chrome code, namely:
 - One GetUserMediaWindowListener *per window*, containing N SourceListeners for N gUM requests, and
 - GetUserMediaWindowListener replaces GetUserMediaStreamListener
 - So if two SourceListeners stop we can still send only one event
* Breaks a special event specific to B2G chrome

MozReview-Commit-ID: 3wbPFmc9yWj

--HG--
extra : rebase_source : 4ad324f6bb1be637da584f323a3e039c5b4f664d
2017-04-26 11:13:40 +02:00
Wes Kocher 2768cd5d15 Backed out 5 changesets (bug 1320994) for browser_downloads_panel_block.js permafails on Win7VM a=backout
Backed out changeset b744a070cafb (bug 1320994)
Backed out changeset 5766ba7143b4 (bug 1320994)
Backed out changeset 31afc3fcd61f (bug 1320994)
Backed out changeset 78e5f8775727 (bug 1320994)
Backed out changeset 6d4e1736fd69 (bug 1320994)

MozReview-Commit-ID: 9tPD6gwXttd

--HG--
extra : rebase_source : 56cb2ac6d2e057b171d74cd529b53e617c716b4c
2017-04-26 15:21:54 -07:00
Andreas Pehrson 0dcc290a85 Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB

--HG--
extra : rebase_source : 0e964f4b41ff53c678fa015001156f3af27563db
2017-03-29 12:07:45 +02:00
Andreas Pehrson 3294058c0a Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8

--HG--
extra : rebase_source : cb702280e9b3fcfcd09a11feeb9f8dfbdf115580
2017-03-29 12:06:49 +02:00
Andreas Pehrson edff555cf5 Bug 1320994 - Refactor MediaManager's window management. r=jib
This in large does the following:

* Changes the model in MediaManager to align with that of chrome code, namely:
 - One GetUserMediaWindowListener *per window*, containing N SourceListeners for N gUM requests, and
 - GetUserMediaWindowListener replaces GetUserMediaStreamListener
 - So if two SourceListeners stop we can still send only one event
* Breaks a special event specific to B2G chrome

MozReview-Commit-ID: 3wbPFmc9yWj

--HG--
extra : rebase_source : 4ad324f6bb1be637da584f323a3e039c5b4f664d
2017-04-26 11:13:40 +02:00
Jan-Ivar Bruaroey aa0a07c837 Bug 1354642 - Add MakeRefPtr<> helper class. r=Ehsan
MozReview-Commit-ID: es34uMTZ00

--HG--
extra : rebase_source : 8738a70a47cceece1b56b66f741e29275c066d92
2017-04-07 15:08:42 -04:00
Jan-Ivar Bruaroey ee60830406 Bug 1349480 - s/NotSupportedError/TypeError for getUserMedia({}) r=jesup
MozReview-Commit-ID: 7bJA01u7F0K

--HG--
extra : rebase_source : 383fcf039842bdefac682b4839a04ee8bf5e296c
2017-03-22 08:41:33 -04:00
Andrea Marchesini 507c00cb9f Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot
--HG--
rename : caps/nsPrincipal.cpp => caps/ContentPrincipal.cpp
rename : caps/nsPrincipal.h => caps/ContentPrincipal.h
2017-03-22 11:39:31 +01:00
Andrea Marchesini 1fd1bc3935 Bug 1343933 - Renaming Principal classes - part 2 - NullPrincipal, r=qdot
--HG--
rename : caps/nsNullPrincipal.cpp => caps/NullPrincipal.cpp
rename : caps/nsNullPrincipal.h => caps/NullPrincipal.h
rename : caps/nsNullPrincipalURI.cpp => caps/NullPrincipalURI.cpp
rename : caps/nsNullPrincipalURI.h => caps/NullPrincipalURI.h
2017-03-22 11:38:40 +01:00
Michael Layzell cab1a9949b Bug 1336510 - Part 4: Capture a strong reference to this in dom/media, r=jwwang
MozReview-Commit-ID: 4lVGrGzhVXh
2017-02-24 14:34:23 -05:00
Wes Kocher 7e8f316730 Backed out 8 changesets (bug 1336510) for windows debug mn-e10s failures a=backout
Backed out changeset 419ada2f9e81 (bug 1336510)
Backed out changeset 19239f566a93 (bug 1336510)
Backed out changeset c8aeead6fe83 (bug 1336510)
Backed out changeset 422e63b872b5 (bug 1336510)
Backed out changeset 21869174dfd3 (bug 1336510)
Backed out changeset 57476b9f342d (bug 1336510)
Backed out changeset e842cdaaa7e5 (bug 1336510)
Backed out changeset bd943b368ff7 (bug 1336510)

MozReview-Commit-ID: 2z3Wa9QFkX4
2017-02-23 16:07:41 -08:00
Michael Layzell 1d0870e2e1 Bug 1336510 - Part 4: Capture a strong reference to this in dom/media, r=jwwang
MozReview-Commit-ID: 4lVGrGzhVXh
2017-02-23 12:24:12 -05:00
Tom Tromey 5f8f360823 Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs

--HG--
extra : rebase_source : 2f1f0aa12493c44f352d9a7e8683e7bb72d2d75b
2016-12-15 20:16:31 -07:00
Boris Zbarsky 6e7bd78dc6 Bug 1335368 part 16. Remove the use of IsCallerChrome in GetUserMedia. r=jib 2017-02-01 15:43:38 -05:00
Boris Zbarsky 387da61c81 Bug 1335368 part 15. Remove the use of IsCallerChrome in ApplyConstraints. r=jib 2017-02-01 15:43:38 -05:00
Andrea Marchesini 98f845f364 Bug 1320170 - dom/media should use nsIPrincipal (and PrincipalInfo) instead origin as string, r=rjesup, r=ehsan 2017-01-28 18:29:13 +01:00
Bill McCloskey ec760e9fba Bug 1332494 - Move TaskCategory definition to xpcom/threads/TaskCategory.h (r=froydnj)
MozReview-Commit-ID: ET43PbGRgxl
2017-01-26 14:45:58 -08:00
Bevis Tseng 72d516ef01 Bug 1314833 - Part 2.2: Use AbstractThread::CreateDirectTaskDrainer() to Drain Direct Tasks Dispatched to MediaStreamGraph. f=rjesup,r=padenot,jwwang
MozReview-Commit-ID: 1KgE3uKu4CG

--HG--
extra : rebase_source : 2ad950afe84675fb9bc4c449e53e7c0d52270175
2016-12-07 22:00:12 -10:00
Munro Mengjue Chiang f0be461749 Bug 1270572 - allow un-prompted gUM access if the page has a live track connected to the same device; r=florian,gcp,smaug
MozReview-Commit-ID: EvATqR4NNTH

--HG--
extra : rebase_source : cf3b08d7f47e8239bdb6ed27a2eaacb491200d48
2017-01-19 12:24:59 +08:00
Chris Peterson faf39081ac Bug 1329562 - Part 2: Remove gUM screensharing.allow_on_old_platforms check for XP. r=jesup
MozReview-Commit-ID: GWCjf8mT3Wl

--HG--
extra : rebase_source : c6d267585114c8e82550dc8378596a26054dac8d
2017-01-08 12:12:03 -08:00
Chris Peterson 64471d9880 Bug 1329562 - Part 1: Remove WebRTC checks for Vista. r=jesup
MozReview-Commit-ID: IGv5weXLIwJ

--HG--
extra : rebase_source : 3bc86cba7cedf37395504f5792d0e8803df30676
2017-01-08 00:18:22 -08:00
Andrea Marchesini f7f5990527 Bug 1317927 - Media caching needs to use origin attributes, r=cpearce, r=jesup 2016-12-07 07:07:09 -10:00
Florian Quèze 0211bb62b9 Bug 1037438 - implement persistent deny permissions for screen sharing, r=jesup,past. 2016-11-28 12:29:31 +01:00
Carsten "Tomcat" Book aee9df5fff Backed out changeset ca8ca07756ab (bug 1037438) 2016-11-28 15:56:42 +01:00
Florian Quèze 10d60535cc Bug 1037438 - implement persistent deny permissions for screen sharing, r=jesup,past. 2016-11-28 12:29:31 +01:00
Randell Jesup 2c33546190 Bug 1317670 Part 1 - r=jib 2016-11-20 02:39:08 -05:00
Andrea Marchesini dd1d53bd2b Bug 1319045 - Get rid of nsPrincipal::GetOriginFromURI, r=qdot 2016-11-22 12:38:41 +01:00
Ehsan Akhgari eac76d9772 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-16 09:13:38 -05:00
Carsten "Tomcat" Book 3eacc680db Backed out changeset 7d1f7dd996f7 (bug 1310845) 2016-11-16 14:50:44 +01:00
Ehsan Akhgari cb369370b3 Bug 1310845 - Remove support for mozapp iframes; r=fabrice,jryans,baku,mcmanus
This patch removes support for mozapp iframes, leaving support for
mozbrowser iframes intact.  Some of the code has been rewritten in order
to phrase things in terms of mozbrowser only, as opposed to mozbrowser
or app.  In some places, code that was only useful with apps has been
completely removed, so that the APIs consumed can also be removed.  In
some places where the notion of appId was bleeding out of this API, now
we use NO_APP_ID.  Other notions of appId which were restricted to this
API have been removed.
2016-11-15 18:31:46 -05:00
Jan-Ivar Bruaroey f89ebba64a Bug 1315858 - Test ability to detect screensharing sources that are firefox. r=florian,jesup
MozReview-Commit-ID: K6Kkdaso7dd

--HG--
extra : rebase_source : e655b26439496af416bd7b1072c6f74cf20401a2
2016-11-07 12:20:41 -05:00
Phil Ringnalda b12005f643 Backed out changeset 621860d37e72 (bug 1315858) for WinXP failures in test_getUserMedia_scarySources.html 2016-11-08 20:50:53 -08:00
Jan-Ivar Bruaroey e67d93e9ca Bug 1315858 - Test ability to detect screensharing sources that are firefox. r=florian,jesup
MozReview-Commit-ID: K6Kkdaso7dd

--HG--
extra : rebase_source : 482d2802036e707997e3b72186e04489e2324dce
2016-11-07 12:20:41 -05:00
Jan-Ivar Bruaroey 3e374cf65b Bug 1315737 - Remove platform checking of screensharing whitelist r=jesup
MozReview-Commit-ID: IosWOvEsIF8

--HG--
extra : rebase_source : 6a54649593ed47057220d901f895fd5933c66a47
2016-11-07 13:39:20 -05:00
Phil Ringnalda 393b414467 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 48WAQwKUCpw
2016-11-02 19:28:38 -07:00
Andreas Pehrson 825d513165 Bug 1301675 - Rename BasicUnstoppableTrackSource to BasicTrackSource. r=jib
They are not unstoppable any longer. We just don't forward Stop() to the real source.

MozReview-Commit-ID: FdFccMsD3eb

--HG--
extra : rebase_source : e29a1abb8f2060cb72399d61d91ca3a00128f08c
2016-09-16 15:19:28 +02:00
Andreas Pehrson 159d4ead9e Bug 1301675 - Remove MediaStreamTrackSource::mIsRemote. r=jib
MediaStreamTrack.remote is no longer part of the spec.

MozReview-Commit-ID: BgHJ1zNIoWN

--HG--
extra : rebase_source : 11022eb420cbdb0c7aa5aa7814cf35330f4170b9
2016-09-12 15:59:58 +02:00
Jan-Ivar Bruaroey 2c03b58a19 Bug 1312030 - Remove MediaParent singleton to work with multi content processes. r=jesup
MozReview-Commit-ID: 8JONCRge6SU

--HG--
extra : rebase_source : ad30110ab35afb783291beee20cd5df2047d1149
2016-11-01 07:44:02 -04:00
Andreas Pehrson 0c1268b303 Bug 1312332 - Use stopVideo as intended. r=jib
MozReview-Commit-ID: JreGgjDwfam

--HG--
extra : rebase_source : 3bcf591250ea92e245446ddb2c34a937afd63939
2016-10-24 08:01:41 +02:00
Andreas Pehrson e53071bee0 Bug 1284102 - Notify chrome of stopped tracks in next stable state. r=jib
If content stops multiple gUM tracks in the same event loop we should only
notify chrome once to avoid unnecessary chrome updates.

MozReview-Commit-ID: 93aAPUvydPt

--HG--
extra : rebase_source : 685a842acce4970df9a495af1d7fac267b3d252b
extra : source : ed8face75a4664fa11eb64c62a289adf5bcca6db
2016-09-21 15:17:23 +02:00
Jan-Ivar Bruaroey fb49e07898 Bug 1284910 - Add scary boolean to mediaDeviceInfo. r=jesup
MozReview-Commit-ID: 2A7QZgUQH8l

--HG--
extra : rebase_source : 15f534bd11d1b8bb4e85de7bc8cac45c99654ce4
2016-09-29 15:37:25 -04:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Sebastian Hengst 2bd34f750f Bug 1306137 - remove b2g camera code: Remove MOZ_B2G_CAMERA. r=aosmond
MozReview-Commit-ID: D207i9boeTJ

--HG--
extra : rebase_source : 390031b8a74ba145008328129079dcb0dee5a6c1
2016-09-28 21:10:32 +02:00
Carsten "Tomcat" Book e90a683f18 Backed out changeset 9c7364b4579d (bug 1308615) for suspicion that this caused pgo windows test crashes 2016-10-14 14:59:36 +02:00
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
Eric Rahm e4b0439502 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-14 10:06:37 -07:00
Eric Rahm b9acba878d 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-14 10:06:27 -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