Commit Graph

6081 Commits

Author SHA1 Message Date
arthur.iakab
fb18cb09bd Merge mozilla inbound to central a=merge 2018-05-31 01:05:10 +03:00
Cameron Kaiser
af336fb099 Bug 1465274 - Add ppc64 to webrtc, regenerate moz.build to remove SSE2 dependency for Linux. r=froydnj
--HG--
extra : source : 3a2d42c1c0d47e11a1efc666cce491f3064469ef
2018-05-27 22:21:07 -07:00
Ryan VanderMeulen
7978cab95f Backed out changeset 3a2d42c1c0d4 for landing with the wrong bug number in the commit message. 2018-05-30 12:44:07 -04:00
Dan Minor
50a3ab6cd4 Bug 1450658 - Should bring window to front when screen-sharing a window; r=pehrsons
This adds a FocusOnSelectedSource method to PCameras and uses it to focus the
selected window while window sharing. We can't just focus the window as soon as
it is shared because we have a live preview in the getUserMedia permissions
prompt which would cause the prompt to lose focus. Instead, this only focuses the
window when the sharing is not done from a chrome context.


MozReview-Commit-ID: 5jre75E3JLi

--HG--
extra : rebase_source : 5f5154fc9fc7590cc02eb25146e5bc20b2243fa3
2018-05-08 15:55:36 -04:00
Christian Holler
570031d38c Bug 1464202 - Improve and centralize libFuzzer flag management. r=froydnj
MozReview-Commit-ID: HFrQDAZWtpo

--HG--
extra : rebase_source : ab1da001d7e9280fbfb37858505f1d0d0caf7d54
2018-05-24 21:11:46 +02:00
Dan Minor
e6ea8ef7b6 Bug 1464069 - Check for null message in nr_stun_decode_message; r=drno
MozReview-Commit-ID: B1SHDte4miv

--HG--
extra : rebase_source : e60dc6b48319f3cfcff2b3411f7eb8cd8928408e
2018-05-25 11:57:18 -04:00
Dorel Luca
8e1a0ee1c6 Backed out changeset c13ca75c9bcb (bug 1450658) for Browser-Chrome failures on browser/base/content/test/webrtc/browser_devices_get_user_media_screen.js 2018-05-23 17:07:33 +03:00
Cameron Kaiser
fbc0928677 Bug 1434589: Add ppc64 to webrtc, regenerate moz.build to remove SSE2 dependency for Linux. r=froydnj
--HG--
extra : rebase_source : 7915ec4e623b3e35fcdf84b21a4f8a869044bac8
2018-05-27 22:21:07 -07:00
Dan Minor
40fcbf60d9 Bug 1450658 - Should bring window to front when screen-sharing a window; r=pehrsons
This adds a FocusOnSelectedSource method to PCameras and uses it to focus the
selected window while window sharing. We can't just focus the window as soon as
it is shared because we have a live preview in the getUserMedia permissions
prompt which would cause the prompt to lose focus. Instead, this only focuses the
window when the sharing is not done from a chrome context.


MozReview-Commit-ID: 5jre75E3JLi

--HG--
extra : rebase_source : 97f472f6ed1c5d6bed1af01fb7243a82b2629b03
2018-05-08 15:55:36 -04:00
Byron Campen [:bwc]
d2641f7ceb Bug 1461904: Make sure to call disconnect_all on STS. r=drno
MozReview-Commit-ID: 2WZxajc4FZz

--HG--
extra : rebase_source : 042476cea953c8abeaba9b208dfbba0ab84c8b2e
2018-05-16 15:53:15 -05:00
Mike Hommey
af5ff10060 Bug 1462873 - Link chromium_atomics to webrtc tests. r=froydnj
This redoes bug 1257888 which bug 1393119 undid.

--HG--
extra : rebase_source : 1f2e9225c1548d34d7b0d46a4c754ef594c44ee3
2018-05-19 13:00:56 +09:00
Jim Chen
4053e24872 Bug 1458020 - 3. Set JavaVM when actually using video capture; r=jib
We currently set the Android JavaVM pointer in MediaEngineWebRTC.
However, because of that, we end up setting the pointer in the child
process, even though we really want to set the pointer in the parent
process because that's where the camera will be accessed.

This patch makes us set JavaVM inside VideoEngine itself, where we
actually access the camera in the parent process.

MozReview-Commit-ID: 3TeLiiK2vyh
2018-05-18 10:16:04 -04:00
Sylvestre Ledru
4f43e5effe Bug 1461614 - Use _DEFAULT_SOURCE on top of _BSD_SOURCE to remove a warning caused by the glibc r=drno
MozReview-Commit-ID: 5Vso0zCzSBx

--HG--
extra : rebase_source : 06ab0c54b70647ab3befde9cf692d1030662be37
2018-05-15 11:54:22 +02:00
Sylvestre Ledru
dd58b60c98 Bug 1460966 - lib/apiwrapper.c & lib/decapiwrapper.c are unused r=cpearce
Remove them

MozReview-Commit-ID: G1ku9mvus3D

--HG--
extra : rebase_source : d455f914ba0a51e74d7157d1eb7d6b5559c6715d
2018-05-11 21:17:59 +02:00
Margareta Eliza Balazs
4f9a2ba08e Merge inbound to mozilla-central. a=merge 2018-05-11 12:36:02 +03:00
Randell Jesup
947f304784 Bug 1346291: remove accidentally committed diff file rs=jesup NPOTB 2018-05-11 00:55:41 -04:00
Matthew Gregan
c34ad7d35b Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 6e8cf15241b0282406322cce29220a677edd1585
2018-05-10 12:11:51 +12:00
Coroiu Cristina
b11f8e3794 Backed out changeset b5fac38dc791 (bug 1457359) for build bustage on a CLOSED TREE 2018-05-11 04:17:18 +03:00
Matthew Gregan
f5a2e9785e Bug 1457359 - Update mp4parse and disable FallibleVec when jemalloc is disabled. r=glandium,jya
Update mp4parse-rust to 0c8e1d91464aaa63b82ebf076b63cda1df4230d1, which adds
uuid parsing support and exports the mp4parse_fallible feature from
mp4parse_capi.

Update gkrust to pass MOZ_MEMORY as a feature, and use that to conditionally
enable mp4parse_fallible/FallibleVec.

MozReview-Commit-ID: 2HDYbL2CGgJ

--HG--
extra : rebase_source : 299d9f8347d2f0ef0d66b9ea52a4ee7a31af0cd2
2018-05-10 12:11:51 +12:00
David Major
ae0bb01f30 Bug 1453061: Merge libvpx code size fix. r=drno
https://chromium-review.googlesource.com/c/webm/libvpx/+/841103
2018-05-10 14:31:49 -04:00
David Major
05169b1ca8 Bug 1453061: Merge libaom code size fix. r=drno
https://aomedia-review.googlesource.com/c/aom/+/39401
2018-05-10 14:30:55 -04:00
Csoregi Natalia
f034c0ab5d Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-05-10 12:52:31 +03:00
Randell Jesup
809e9aa0d4 Bug 1346291: update code that accidentally assumed libyuv would define things like int32 r=sotaro,jib 2018-05-09 23:59:16 -04:00
Randell Jesup
9ffedf15a9 Bug 1346291: Update libyuv to upstream 98a0a157dcf5dee0882b2dfcc9578ab1f44afb12 rs=jib,sotaro
--HG--
rename : media/libyuv/libyuv/util/convert.cc => media/libyuv/libyuv/util/yuvconvert.cc
2018-05-09 23:59:16 -04:00
Randell Jesup
88b568a14f Bug 1346291: Update libyuv update script and update patches for upstream 98a0a157dcf5dee0882b2dfcc9578ab1f44afb12 r=tritter 2018-05-09 23:59:15 -04:00
David Major
4ac65c8eef Bug 1459617: Merge upstream webrtc fix for build bustage with clang trunk. r=dminor
https://webrtc.googlesource.com/src/+/bda78c9464f4d0e6ff26b0035624a967269c3b0a
2018-05-09 16:32:31 -04:00
Dan Minor
b9bfaf036c Bug 1456071 - Do not dispatch InsertDTMFTone call to sts thread; r=bwc
This removes the dispatch to the sts thread prior to calling
AudioConduit::InsertDTMFTone. There are assertions in ChannelProxy which
restrict the methods there to running on the main thread, so the current
code crashes immediately when inserting a tone in a debug build. The
inserted DTMF event ends up in a queue, so there is no reason not to just do
the insertion from the main thread.

MozReview-Commit-ID: G8JM9QDLrGF

--HG--
extra : rebase_source : 65168ee08efa5fc1960e35fd5acf4bdde0420b84
2018-04-26 11:36:19 -04:00
Dan Minor
21cb54ff16 Bug 1414829 - Fix VideoConduitTest gtest assertion failures; r=drno
--HG--
extra : rebase_source : 9e881c4a84389f480f2dcdd1c6be714bba2fdc72
2017-11-28 15:58:47 -05:00
Dan Minor
f09687bfc8 Bug 1414829 - Add DeleteStreams to media conduits; r=jesup
--HG--
extra : rebase_source : da8ae4e2cb53e787f1730c2f5efcd65421de300f
2018-01-08 12:40:38 -05:00
Alex Chronopoulos
e123e7c31b Bug 1458199 - Update cubeb from upstream to 44341a1. r=kinetik 2018-05-01 13:04:43 +02:00
Matthew Gregan
81d70e03c7 Bug 1427011 - Disable default device switching in libcubeb's WASAPI backend. r=padenot 2018-04-30 19:59:32 +12:00
Jean-Yves Avenard
bbd46b9784 Bug 1455701 - Update mp4parse-rust to upstream. r=padenot
MozReview-Commit-ID: AJXc5W4Rt0t

--HG--
extra : rebase_source : c15d6d1a3ec0564623252416cd1435da087401c0
2018-04-26 10:18:03 +02:00
Paul Adenot
c6e563b490 Bug 1456115 - Make last_sample_rate_ in neteq_impl.cc atomic. r=dminor
This allows removing locking, and allows other threads to progress without
taking the lock, hence lowering the probability that the lock will be taken for
a long time when we need to pull NeqEQ.

MozReview-Commit-ID: HMO67A0hher

--HG--
extra : rebase_source : aa5c77895eb57d60b61d9a8a5822e53593348830
2018-04-23 11:55:19 +02:00
Paul Adenot
f412eb58ae Bug 1456115 - Re-serialize inbound NotifyPull. r=jya
We made NotifyPull parallel to try to lower the load, and we initially measured
an improvement. However, we did the measurements with a profiler that did an
aggregation of the results. Our results had an high variance, so the mean load
was in fact not meaningful.

More careful measurement performed without doing any aggregation show that,
under load, relying on the fact that the scheduler schedules the tasks on time
is too risky, and that the code is fast enough to not have to parallelize.

MozReview-Commit-ID: CMhSn8Sc0OO

--HG--
extra : rebase_source : cfb41f861089bce9e10446bee81c13f8565ba90e
2018-04-12 14:23:03 +02:00
Paul Adenot
1c6c907315 Bug 1456115 - Remove locking in AcmReceiver::GetAudio. r=dminor
This also causes a lot of dropouts. We don't need to lock here. NetEQ is thread
safe, and its created in the ctor. The rest of the members are made atomic or is
simply never accessed in multiple threads.

MozReview-Commit-ID: 2fRw5ZgxdpQ

--HG--
extra : rebase_source : f2aa082a3e856e873cfcd96ff721ccdc77df3633
2018-04-12 14:36:02 +02:00
Paul Adenot
19325f0f09 Bug 1456115 - Stop locking when getting the sampling rate from the channel in acm_receiver.cc. r=dminor
This accounts for half of our audio dropouts, there is very high contention on
this piece of data.

MozReview-Commit-ID: 2HSfqZHT2MK

--HG--
extra : rebase_source : 10c451ac60563a0f1c14a314f5a12cc45055e20b
2018-04-09 13:52:08 +02:00
David Major
68fab3379f Bug 1456500: Disable PGO for Win64 aom to speed up builds. r=froydnj
--HG--
extra : rebase_source : ccab44a70a3147fdfebab11cb874bfde48165f93
2018-04-24 11:15:13 -04:00
Nils Ohlmeier [:drno]
cf2d709fb0 Bug 1455557: accept new line as RTCP FB NACK terminator. r=bwc
MozReview-Commit-ID: B0KaqRvLqNs

--HG--
extra : rebase_source : 97bca7eb56b1e112fc3ff091e58323ff1d09d43e
2018-04-20 21:52:16 -07:00
Paul Adenot
fbf116232d Bug 1444976 - Trace some initial real-time media stuff. r=pehrsons
MozReview-Commit-ID: 7mmDHVS2t8f

--HG--
extra : rebase_source : ac56722792f99aadd8e359ef9ae4b30f6dc78076
extra : source : 7b9d0ce0b1cb20540d1c5bf4c77596359b5cb73e
2018-04-12 17:51:35 +02:00
Dan Glastonbury
cc1e0dcb1b Bug 1445067 - P2: Update cubeb-pulse-rs to commit f90aecf. r=kinetik
MozReview-Commit-ID: if0u1aDn2f

--HG--
extra : rebase_source : 4a5ded7d9e75024fab13df5705c5a45f574067ce
2018-04-18 13:46:16 +10:00
Dan Glastonbury
774e019c62 Bug 1445067 - P1: Update audioipc to commit 219a811. r=kinetik
This pulls in the fixes to shutdown RPC channels correctly when all
client proxies are dropped. This stops leaking fd and shmem.

MozReview-Commit-ID: 8Kb0iFPn8Pc

--HG--
extra : rebase_source : 8fcce9dfbec570f4d3ec035a6dd6576d1d137cd5
2018-04-18 13:42:43 +10:00
Andreea Pavel
14ac5e554d Backed out 3 changesets (bug 1444976) for failing android at dom/media/tests/mochitest/test_getUserMedia_mediaStreamTrackClone.html a=backout
Backed out changeset 79b7ee8b01ee (bug 1444976)
Backed out changeset 35ca96cabe3c (bug 1444976)
Backed out changeset 2512c9c24244 (bug 1444976)
2018-04-18 21:25:14 +03:00
Paul Adenot
f00a090b8a Bug 1444976 - Trace some initial real-time media stuff. r=pehrsons
MozReview-Commit-ID: 7mmDHVS2t8f

--HG--
extra : rebase_source : a6b0bd42a63f3fc6e4a6307249ed447d749f96c4
extra : source : 7b9d0ce0b1cb20540d1c5bf4c77596359b5cb73e
2018-04-12 17:51:35 +02:00
Dan Minor
aa20bd6084 Bug 1437345 - Update generated files; r=jesup
MozReview-Commit-ID: 5xmc2mrA2mz

--HG--
extra : rebase_source : 88e2293daadc84ca2e4246371ffa4e37ae9853ac
2018-03-19 08:35:21 -07:00
Jan Beich
036d3dfaf5 Bug 1437345 - Don't try to build audio_device backends. r=dminor
MozReview-Commit-ID: JjLucnqna0A

--HG--
extra : rebase_source : 3aff9d6da57917840b1f27430911a426ace4fbd0
2018-03-14 17:09:06 +00:00
Dan Minor
71ea2be163 Bug 1437345 - Set defaults for gn visual studio build; r=jesup
This hard codes the visual studio version to 2015. We did the same thing for the
gyp build. It also sets default paths for visual studio, which are ignored by the
remainder of the build system.

This was required to get gn code generation working on a fresh install of
Windows. I must have had similar changes on my old Windows VM but missed
commiting them as part of the gyp to gn build switch.

MozReview-Commit-ID: 7fYngpdIwxh

--HG--
extra : rebase_source : de24b50f8e19465d8c145ce96c31d4ad7cc52e57
2018-03-19 06:55:21 -07:00
Michael Froman
79bc45e84a Bug 1374699 - make warnings errors on nICEr and nrappkit builds. r=ekr
MozReview-Commit-ID: 7nPOPzcC925

--HG--
extra : rebase_source : b1b4bd391a71dab2bb3409b68c8680e972ee0ae4
2017-09-21 10:29:16 -05:00
Michael Froman
a3a44bb8ab Bug 1374699 - fix .gyp file formatting by detabbing. r=ekr
MozReview-Commit-ID: CaUMCJgzhrQ

--HG--
extra : rebase_source : f371f42e26d6c8aa52338913a511015d9096e5dc
2017-09-21 16:56:07 -05:00
Michael Froman
d5fb082c26 Bug 1374699 - fixing compiler warnings for nrappkit. r=drno
MozReview-Commit-ID: CAQQvheP1Wg

--HG--
extra : rebase_source : a5c5857c84339587f6197be95534700d1aca7942
extra : source : ac789983242b806ceeeca4569ac1f5ddfcbaaba2
2017-09-21 08:56:34 -05:00
Nicholas Nethercote
51f2b494ea Bug 1448222 - Remove MediaPrefs. r=jya
This patch converts all the prefs in MediaPrefs to the new StaticPrefs system.

Note that the "media.wmf.skip-blacklist" pref was present in both MediaPrefs
and gfxPrefs. The copy in MediaPrefs was never used; this explains why this
patch does not add an entry for it to StaticPrefList.h.

Note also that the patch removes themedia.rust.mp4parser pref, because it's
unused.

MozReview-Commit-ID: IfHP37NbIjY

--HG--
extra : rebase_source : df84ea813b7c366d7be663c696891325610149c8
2018-03-20 09:48:56 +11:00