Commit Graph
622 Commits
Author SHA1 Message Date
Wes Kocher 32c77eed4a Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Andreas Farre c0153ce59d Bug 1403586 - Don't disble budget throttling due to gUM. r=smaug,padenot 2017-09-29 15:21:45 +02:00
Munro Mengjue Chiang 5c62a74eee 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
2017-09-27 10:16:46 +08:00
Andreas Pehrson d6259111fd Bug 1319446 - DirectMediaStreamListener, you are dead to me. r=padenot
MozReview-Commit-ID: KwztE5ogSj9
2017-09-27 12:01:46 +02:00
Chris Peterson 8b885bcc5c 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
2017-09-06 01:43:13 -07:00
Nicholas Nethercote e8236888ee 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.
2017-09-22 14:35:46 +10:00
Jan-Ivar Bruaroey 683f7db3e4 Bug 1381638 - Prevent sharing multiple input devices in the same process. r=jesup 2017-09-15 23:00:39 -04:00
Munro Mengjue Chiang a9becf7bb3 Bug 1399395 - skip devicechange event handler in shutdown stage. r=pehrsons
MozReview-Commit-ID: 8skWP7LuGvR
2017-09-14 11:16:42 +08:00
Andreas Farre f912b82fb5 Bug 1393359 - Register active user media on top level window. r=smaug,jib 2017-09-04 14:40:30 +02:00
Andrew McCreight 84ee98de3c 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
2017-08-29 16:02:48 -07:00
Matthew Gregan 732e0cc4ee Bug 1388236 - Remove B2G-only AudioChannel code from MSG. r=padenot 2017-08-10 13:00:08 +12:00
Eric Rahm 0c7237960f 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 74df0dca4f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-07-31 11:28:37 +02:00
Nicholas Nethercote 09493fcbcf Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj. 2017-07-31 14:28:48 +10:00
Munro Mengjue Chiang 9f073ccf1b Bug 1364038 - Call SourceListener::StopTrack when the coresponding external device is disconnected. r=jib
MozReview-Commit-ID: EfpmXBJf7PP
2017-07-27 16:51:24 +08:00
Sebastian Hengst ef194ad6dd 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 f2ebf92424 Bug 1364038 - Call SourceListener::StopTrack when the coresponding external device is disconnected. r=jib
MozReview-Commit-ID: EfpmXBJf7PP
2017-07-27 16:51:24 +08:00
Nicholas Nethercote d4dada6a3b 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.
2017-07-24 10:08:55 +10:00
Carsten "Tomcat" Book 8f40d14bcc merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Paul Adenot aadd3c3a24 Bug 1341555 - Consolidate use of the MSG's AbstractMainThread, and stop having AbstractMainThread on MediaStreams. r=pehrsons
MozReview-Commit-ID: 5hGDQcfpH6a
2017-06-29 11:30:57 -07:00
Paul Adenot b501ebc61e Bug 1330360 - Create new MSGs for each nsPIDOMWindow. r=jesup
MozReview-Commit-ID: 5m1MGcLmT7J
2017-06-23 16:18:34 -07:00
Alex Chronopoulos 0839dd5fa7 Bug 1213414 - Implement channelCount audio constraint. r=jib,padenot
MozReview-Commit-ID: K95iBYOE1nR
2017-06-29 21:01:17 -07:00
Andreas Pehrson ed3084a582 Bug 1376885 - Add prefs for automatically denying camera/microphone gUM prompts. r=jib
MozReview-Commit-ID: ISWek1BcLss
2017-06-28 12:09:14 -07:00
Bill McCloskey ce42826bdf 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 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 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 bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b 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 a26d6890be Merge mozilla-central to autoland 2017-06-13 12:14:05 +02:00
Bill McCloskey 7466d3a2fb Bug 1371127 - Use GetCurrentVirtualThread() in MediaManager (r=jesup)
MozReview-Commit-ID: 2Wf9Ln8TMOx
2017-06-12 20:21:43 -07:00
Bill McCloskey 44974a4452 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 c9b3716a4b Bug 861716 - queue a gUM request if there has been a pending one. r=jib
MozReview-Commit-ID: 52KcsN27AR3
2017-05-12 11:32:14 +08:00
Jim Chen 74e35e538f 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 f66a335da2 Bug 1368875 - Count {video: true} and {audio: true} toward cam and mic counts respectively. r=jesup
MozReview-Commit-ID: BgdvRLpueit
2017-05-30 21:57:37 -04:00
Jan-Ivar Bruaroey 554c8e88d1 Bug 1366415: Unprefix mozAutoGainControl and mozNoiseSuppression w/deprecation warnings. r=jesup,smaug
MozReview-Commit-ID: EdWjSsIhtIM
2017-05-19 20:57:44 -04:00
Benjamin Peterson 380d2b89c5 No bug - fix indentation DONTBUILD 2017-05-09 22:19:23 -07:00
Munro Mengjue Chiang c74344c119 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 892f55f192 Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB
2017-03-29 12:07:45 +02:00
Andreas Pehrson bda4fd237b Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8
2017-03-29 12:06:49 +02:00
Andreas Pehrson 4d3464ab30 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
2017-04-26 11:13:40 +02:00
Sebastian Hengst c767584178 Backed out changeset b17aaf7a8689 (bug 1320994) 2017-05-03 13:14:18 +02:00
Sebastian Hengst 7ae9b5a29b Backed out changeset c60c97633ac8 (bug 1320994) 2017-05-03 13:14:09 +02:00
Sebastian Hengst d20d092d1c Backed out changeset cf74f8bacbc1 (bug 1320994) 2017-05-03 13:14:05 +02:00
Andreas Pehrson 20add79a73 Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB
2017-03-29 12:07:45 +02:00
Andreas Pehrson ec9b55229d Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8
2017-03-29 12:06:49 +02:00
Andreas Pehrson 3e5a759750 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
2017-04-26 11:13:40 +02:00
Wes Kocher 96d3bfe615 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
2017-04-26 15:21:54 -07:00
Andreas Pehrson 8f0110e1a8 Bug 1320994 - Improve SourceListener logging. r=jib
MozReview-Commit-ID: 1xuLwpMHMQB
2017-03-29 12:07:45 +02:00
Andreas Pehrson a681eab95b Bug 1320994 - Unify MediaManager logging macros. r=jib
MozReview-Commit-ID: 14b6cXgOqP8
2017-03-29 12:06:49 +02:00
Andreas Pehrson 57d4f219ac 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
2017-04-26 11:13:40 +02:00