Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Miko Mynttinen
65c6bee9d6
Bug 1445302 - Replace TArray.RemoveElementAt(TArray.Length() - 1) pattern with TArray.RemoveLastElement() or TArray.PopLastElement() r=froydnj
...
MozReview-Commit-ID: rGjabnP2iz
--HG--
extra : rebase_source : 1ef6c5ce028ac9ebd9f3176d57835c43fe46bada
2018-03-13 14:51:33 +01:00
Andreas Pehrson
0d112b8fad
Bug 1434628 - Unbust --disable-webrtc builds. r=padenot, a=me
...
MozReview-Commit-ID: Ef8LOr1YymV
2018-01-31 16:59:53 +01:00
Andreas Pehrson
d09d284893
Bug 1299515 - Drive by touchups in MediaTrackConstraints. r=jib
...
MozReview-Commit-ID: EBztQ99CKQ4
--HG--
extra : rebase_source : 3ca504ada622a7db9a6e97dc23ff88558a66795d
2017-11-21 15:53:02 +01:00
Andreas Pehrson
3ceaba23ab
Bug 1299515 - Flatten MediaEngineSource class hierarchy. r=jib
...
The scope of flattening this hierarchy quickly grows large, so this patch does
a couple more things:
- Creates a pure interface MediaEngineSourceInterface and a base class
MediaEngineSource with common defaults and refcount support (no state!)
- Breaks out some of the helper classes to dedicated files, e.g.,
AllocationHandle, MediaEnginePrefs.
- Clarifies the threading model (written on one thread *and* under lock,
read under either)
- Fixes style, indentation, include-sorting in the affected files
- Adds comments, especially for clarifying what responsibilities methods have,
and thread usage of class members
- Changes Monitors to Mutexes since we only use them as Mutexes anyhow
- Makes MediaEngineRemoteVideoSource no longer a shared source since we now
support scaling in this source and CamerasChild can act as a broker of frames.
This greatly simplifies it. The only shared source is now
MediaEngineWebRTCMicrophoneSource, so the sharing specific common methods have
been moved to that source.
MozReview-Commit-ID: KeVZQo6gLm2
--HG--
rename : dom/media/webrtc/MediaEngine.h => dom/media/webrtc/MediaEnginePrefs.h
extra : rebase_source : c785a5feb896312912170475d6b8d997e712e48f
2018-01-24 16:49:13 +01:00
Munro Mengjue Chiang
e782a0379f
Bug 1388219 - add a nsTArray mTargetCapability to record each track target capability. r=jib
...
MozReview-Commit-ID: E8ZCmXEDxKs
--HG--
extra : rebase_source : 5cab9cdb5cc1a67d6cf4c0b5c5c7caef5cfe7ea0
2017-11-30 15:44:20 +08:00
Ryan VanderMeulen
5395ec18d2
Backed out 3 changesets (bug 1421025, bug 1388219) for causing bug 1421706 on a CLOSED TREE.
...
Backed out changeset 1a69438ec05f (bug 1421025)
Backed out changeset 213c2c200c08 (bug 1388219)
Backed out changeset 341aaeb4ce69 (bug 1388219)
2017-11-29 17:00:27 -05:00
Munro Mengjue Chiang
f02f21154e
Bug 1388219 - add a nsTArray mTargetCapability to record each track target capability. r=jib
...
MozReview-Commit-ID: 476kNk16VKR
--HG--
extra : rebase_source : c0718f640acdebaad9c314441e217f43377e12de
2017-11-23 15:46:25 +08:00
Sylvestre Ledru
d938e24c4c
Bug 1387002 - Replace .size() by .empty() when applicable in webrtc & mtransport r=jesup
...
MozReview-Commit-ID: 4DyftBRDEcU
--HG--
extra : rebase_source : 92b00b313060c0631e087216c6a30b421b58199d
2017-08-04 09:36:19 +02: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
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
Jan-Ivar Bruaroey
7e9dbcd83e
Bug 1341409: Fix omission of advanced constraints in applying camera constraints. r=jesup
...
MozReview-Commit-ID: 2qhuv5e6lv9
--HG--
extra : rebase_source : a25747eb160ddd71a241e0f479c7b226cd0e0a6d
2017-02-21 14:41:58 -05:00
Randell Jesup
ac570b16c4
Bug 1250356: rollup of changes for webrtc after applying webrtc.org v49 update r=pkerr,ng,pehrsons,etc
...
See ssh://hg.mozilla.org/users/paulrkerr_gmail.com/webrtc49_merge/ for the
patch development history.
2016-12-27 19:41:02 -05: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
Jan-Ivar Bruaroey
44c9f33c25
Bug 1289857 - Fix MediaTrackConstraints.cpp to compile with --disable-webrtc again. r=mjf
...
MozReview-Commit-ID: GgVNQSbPCwf
--HG--
extra : rebase_source : ac3a7c53c3ac8c5b98e05b6d72ddb2badd58617a
2016-07-28 12:03:40 -04:00
Jan-Ivar Bruaroey
b7cd70aebe
Bug 1213517 - Fix static analysis for bug 1213517 landing: Avoid non-memmovable nsTArray<NormalizedConstraintSet>. r=jesup
...
MozReview-Commit-ID: GGJ6BGlLa4n
--HG--
extra : rebase_source : 94a9df3f2cedb6e37f48dcd87667e129f2fc78ec
2016-06-29 14:52:19 -04:00
Jan-Ivar Bruaroey
7949ae2a64
Bug 1213517 - Take highest ideal value from competing width, height and frameRate. r=jesup
...
MozReview-Commit-ID: JkR2rDDeFz1
--HG--
extra : rebase_source : aa2d61cddb17d316e43404efe6a8643cf4cbf22c
2016-07-07 08:36:05 -04:00
Jan-Ivar Bruaroey
9be5951bd8
Bug 1213517 - Clamp competing ideal values before considering them to avoid outliers distorting result. r=jesup
...
MozReview-Commit-ID: 3RNgKfDpJxL
--HG--
extra : rebase_source : c681489a6bb1687484d1eb694c066f95a17fdca1
2016-07-07 10:45:34 -04:00
Jan-Ivar Bruaroey
48ae827040
Bug 1213517 - Lift correct constraint out of lower-level code for OverconstrainedError. r=padenot
...
MozReview-Commit-ID: EWUjVBUrAps
--HG--
extra : rebase_source : 9c747e8d98af973dfefe873ea65fb01ffb180be2
2016-06-20 20:15:39 -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
ea417c69e0
Bug 1213517 - optimize for maintenance of constraints (member pointer approach). r=padenot
...
MozReview-Commit-ID: 4JYb6QnMtVk
--HG--
extra : rebase_source : 6ecab6312fd647e85f3dfea5b0c5ec53b6c04b24
2016-06-27 10:03:27 -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
534b6e3dd7
Bug 1213517 - Add a way to merge multiple NormalizedConstraints. r=jesup
...
MozReview-Commit-ID: LfB9QviCNxU
--HG--
extra : rebase_source : eb93a91a4f96191efa80b10fb2546eab8283e20c
2016-07-02 00:16:37 -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
27fd33e96c
Bug 1213517 - Add an un-flattened NormalizedConstraints type for downstream use. r=jesup
...
MozReview-Commit-ID: 1ZUN21mgfXh
--HG--
extra : rebase_source : ac158d5a7d265649bcf04952e138a1a86a5222a4
2016-06-30 16:08:45 -04:00
Jan-Ivar Bruaroey
591cbabcaf
Bug 1213517 - Normalize all the constraints internally, not just some. r=jesup
...
MozReview-Commit-ID: BfTleKUxiVU
--HG--
extra : rebase_source : b9879959606961baa687e594846ff953956d1a23
2016-06-30 15:46:07 -04:00
Iris Hsiao
12ec456c48
Backed out changeset 6ee4fac755f4 (bug 1213517)
2016-07-18 15:41:11 +08:00
Iris Hsiao
83bf356b5d
Backed out changeset e6ac385fd969 (bug 1213517)
2016-07-18 15:41:04 +08:00
Iris Hsiao
e028907323
Backed out changeset 05b370d75989 (bug 1213517)
2016-07-18 15:40:56 +08:00
Iris Hsiao
8e95b17fde
Backed out changeset 9701bb4384d8 (bug 1213517)
2016-07-18 15:40:48 +08:00
Iris Hsiao
463c07d354
Backed out changeset e4829b553f9e (bug 1213517)
2016-07-18 15:40:20 +08:00
Iris Hsiao
6684ba44a3
Backed out changeset 97cfe28779d9 (bug 1213517)
2016-07-18 15:40:09 +08:00
Iris Hsiao
7a103775dc
Backed out changeset 85832c026282 (bug 1213517)
2016-07-18 15:40:03 +08:00
Iris Hsiao
e4b92aada9
Backed out changeset abf811706099 (bug 1213517)
2016-07-18 15:39:56 +08:00
Iris Hsiao
2e0e0b9212
Backed out changeset 6f3e405706ef (bug 1213517)
2016-07-18 15:39:06 +08:00
Iris Hsiao
e15ea15da3
Backed out changeset 93b1deb435f2 (bug 1213517) for Static Checking Build bustage
2016-07-18 15:38:49 +08:00
Jan-Ivar Bruaroey
3b48ca5b21
Bug 1213517 - Take highest ideal value from competing width, height and frameRate. r=jesup
...
MozReview-Commit-ID: JkR2rDDeFz1
--HG--
extra : rebase_source : aa2d61cddb17d316e43404efe6a8643cf4cbf22c
2016-07-07 08:36:05 -04:00
Jan-Ivar Bruaroey
3fb9c2132d
Bug 1213517 - Clamp competing ideal values before considering them to avoid outliers distorting result. r=jesup
...
MozReview-Commit-ID: 3RNgKfDpJxL
--HG--
extra : rebase_source : c681489a6bb1687484d1eb694c066f95a17fdca1
2016-07-07 10:45:34 -04:00
Jan-Ivar Bruaroey
f37fd4bb58
Bug 1213517 - Lift correct constraint out of lower-level code for OverconstrainedError. r=padenot
...
MozReview-Commit-ID: EWUjVBUrAps
--HG--
extra : rebase_source : 9c747e8d98af973dfefe873ea65fb01ffb180be2
2016-06-20 20:15:39 -04:00
Jan-Ivar Bruaroey
e99934e5ab
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
5aac06d091
Bug 1213517 - optimize for maintenance of constraints (member pointer approach). r=padenot
...
MozReview-Commit-ID: 4JYb6QnMtVk
--HG--
extra : rebase_source : 6ecab6312fd647e85f3dfea5b0c5ec53b6c04b24
2016-06-27 10:03:27 -04:00
Jan-Ivar Bruaroey
357d904c2e
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
c3604a045d
Bug 1213517 - Add a way to merge multiple NormalizedConstraints. r=jesup
...
MozReview-Commit-ID: LfB9QviCNxU
--HG--
extra : rebase_source : eb93a91a4f96191efa80b10fb2546eab8283e20c
2016-07-02 00:16:37 -04:00
Jan-Ivar Bruaroey
0cf2bc99b9
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
56fa623989
Bug 1213517 - Add an un-flattened NormalizedConstraints type for downstream use. r=jesup
...
MozReview-Commit-ID: 1ZUN21mgfXh
--HG--
extra : rebase_source : ac158d5a7d265649bcf04952e138a1a86a5222a4
2016-06-30 16:08:45 -04:00
Jan-Ivar Bruaroey
bc9cdf5b15
Bug 1213517 - Normalize all the constraints internally, not just some. r=jesup
...
MozReview-Commit-ID: BfTleKUxiVU
--HG--
extra : rebase_source : b9879959606961baa687e594846ff953956d1a23
2016-06-30 15:46:07 -04:00
Randell Jesup
f138ca68d1
Bug 987186 - remove AudioConfig, send agc/aec/noise from prefs r=jib,smaug
...
(Reland squashed)
Respect echoCancellation constraint in GetUserMedia
Support echoCancellation constraint, pass test
--HG--
extra : commitid : 7Bq2u1yamMf
2016-01-22 16:46:38 -05:00
Kyle Huey
0fbc58d746
Backed out 3 changesets (bug 987186) for build bustage. CLOSED TREE
...
Backed out changeset 00cb175253b9 (bug 987186)
Backed out changeset deaf45c9ad2a (bug 987186)
Backed out changeset bc3d6c21f5ed (bug 987186)
2016-01-22 10:35:23 -08:00