Commit Graph

5840 Commits

Author SHA1 Message Date
Masatoshi Kimura
c38c925733 Bug 685236 - Workaround for WebRTC. r=jesup
MozReview-Commit-ID: 8gdmPmF4V4b

--HG--
extra : source : 7abbc86a73c6083892d8c6c6e449f53da609e016
extra : intermediate-source : 7c8da9c7bb641c9ae45eaf514737f38153e9336c
2017-12-15 21:42:49 +09:00
David Keeler
0375f07548 bug 1432923 - fix a leak in some TransportTests r=drno
Before this patch, TransportTest::Reset would assign to p1_ and p2_ without
releasing their resources first. Since they're not RAII types, they would just
leak. This fixes the leak by a) explicitly initializing them to nullptr in the
constructor and b) deleting them if they previously had a non-null value.

MozReview-Commit-ID: 20U6sqRWg06

--HG--
extra : rebase_source : e304c7636a9b31df53d3ff0e8d7e0042f7e82494
2018-01-25 16:56:56 -08:00
Tom Prince
3f845e43fa Bug 1429819: Allow using tooltool macOS SDK on all automation builds and all cross-builds. r=dminor
The original logic I wrote had the condition backwards.

MozReview-Commit-ID: IFIS8vZLgd4

--HG--
extra : rebase_source : 9f9baeb2f6284c551fb63f139d6f5942569890fd
2018-01-23 11:56:50 -07:00
Dan Minor
2e81df0e1c Bug 1393119 - Remove webrtc gyp files; r=jesup
This removes the gyp files to build webrtc. It looks like part of Bug 1371485 is
to vendor gyp elsewhere in tree at which time we can complete cleaning this up.

MozReview-Commit-ID: 8MqatafniN5

--HG--
extra : rebase_source : 1cf7a41f0b8a1a95dc008f4a39536ee7e76027c4
2017-12-19 09:21:03 -05:00
Dan Minor
22eb0295df Bug 1393119 - Add generated files; r=jesup
MozReview-Commit-ID: 379Yq1cIQyD

--HG--
extra : rebase_source : b2293ce8dde69c772d99275635c4ea437eb515a8
2017-12-01 12:44:51 -05:00
Dan Minor
1568190e4c Bug 1393119 - Update gn files for mozilla build; r=jesup
MozReview-Commit-ID: KRaCt8uvTJH

--HG--
extra : rebase_source : 53e3f4886e1a4cad6bb5d6fa82fc5c57f128d99b
2017-07-27 13:04:25 -04:00
Dan Minor
769c460cfb Bug 1393119 - Add webrtc.org trunk/build/ files to support gn build; r=jesup
MozReview-Commit-ID: KaupPBeJucK

--HG--
extra : rebase_source : 2ca9af9b1ba6568f18fb4afa82b7368898e5c9f0
2017-07-27 12:42:30 -04:00
Chris Manchester
093501400b Bug 1393119 - Add webrtc gn build config; r=dminor
MozReview-Commit-ID: FIPjkDWwAQx

--HG--
extra : rebase_source : 4007024b78d1bb05b189189d18d2e88ec700cd7a
2017-11-29 11:18:44 -08:00
Narcis Beleuzu
9279994eae Merge inbound to mozilla-central. a=merge 2018-01-24 23:56:14 +02:00
Alex Chronopoulos
80ad267a67 Bug 1432733 - Update cubeb from upstream to 2b98e3d. r=padenot
MozReview-Commit-ID: 7R7S3MLf6tm

--HG--
extra : rebase_source : ba605c371bb4a27379af26c73ff99b951f669ec6
2018-01-24 12:56:54 +02:00
Sebastian Hengst
78d2a3c1db Merge mozilla-central to mozilla-inbound 2018-01-24 14:24:05 +02:00
Margareta Eliza Balazs
6adca5400a Backed out 5 changesets (bug 1393119) for bustage on linux in /builds/worker/workspace/build/src/obj-firefox/dist/system_wrappers/alsa/asoundlib.h:3:15: alsa/asoundlib.h missing on a CLOSED TREE
Backed out changeset 7d374c8be17d (bug 1393119)
Backed out changeset 98e1989b1f48 (bug 1393119)
Backed out changeset 8fa5de0eb6ea (bug 1393119)
Backed out changeset c5c2d30ed6da (bug 1393119)
Backed out changeset 17d7a6d5e889 (bug 1393119)
2018-01-24 13:00:42 +02:00
Tom Prince
642b5fb351 Bug 1429819: Allow using tooltool macOS SDK on all automation builds and all cross-builds. r=dminor
The original logic I wrote had the condition backwards.

MozReview-Commit-ID: IFIS8vZLgd4

--HG--
extra : rebase_source : 8504e1834e39f2a244abe0a89f2235bca8cae640
2018-01-23 11:56:50 -07:00
Dan Minor
df482ce890 Bug 1393119 - Remove webrtc gyp files; r=jesup
This removes the gyp files to build webrtc. It looks like part of Bug 1371485 is
to vendor gyp elsewhere in tree at which time we can complete cleaning this up.

MozReview-Commit-ID: 8MqatafniN5

--HG--
extra : source : 91cfd14052f510f2ba105b257a0d5dbdddb86a13
2017-12-19 09:21:03 -05:00
Dan Minor
8528588995 Bug 1393119 - Add generated files; r=jesup
MozReview-Commit-ID: 379Yq1cIQyD

--HG--
extra : source : eac997d73d67f5b8e895fcfd61b02796e9bf6bba
2017-12-01 12:44:51 -05:00
Dorel Luca
30b5be6d16 Merge mozilla-inbound to mozilla-central r=merge a=merge 2018-01-23 19:46:03 +02:00
Christian Holler
8e72e4cc2f Bug 1431090 - Prepare tools/fuzzing/ to be used with JS_STANDALONE. r=froydnj
This patch adjusts tools/fuzzing/ in such a way that the relevant parts can be
reused in the JS engine. Changes in detail include:

* Various JS_STANDALONE checks to exclude parts that cannot be included in
  those builds.

* Turn LibFuzzerRegistry and LibFuzzerRunner into generic FuzzerRegistry and
  FuzzerRunner classes and use them for AFL as well. Previously, AFL was
  piggy-backing on gtests which was kind of an ugly solution anyway (besides
  that it can't work in JS). Now more code like registry and harness is
  shared between the two and they follow almost the same call paths and entry
  points. AFL macros in FuzzingInterface have been rewritten accordingly.
  This also required name changes in various places. Furthermore, this unifies
  the way, the fuzzing target is selected, using the FUZZER environment
  variable rather than LIBFUZZER (using LIBFUZZER in browser builds will give
  you a deprecation warning because I know some people are using this already
  and need time to switch). Previously, AFL target had to be selected using
  GTEST_FILTER, so this is also much better now.

* I had to split up FuzzingInterface* such that the STREAM parts are in a
  separate set of files FuzzingInterfaceStream* because they use nsStringStream
  which is not allowed to be included into the JS engine even in a full browser
  build (error: "Using XPCOM strings is limited to code linked into libxul.").
  I also had to pull FuzzingInterface.cpp (the RAW part only) into the header
  and make it static because otherwise, would have to make not only separate
  files but also separate libraries to statically link to the JS engine, which
  seemed overkill for a single small function. The streaming equivalent of the
  function is still in a cpp file.

* LibFuzzerRegister functions are now unique by appending the module name to
  avoid redefinition errors.

MozReview-Commit-ID: 44zWCdglnHr

--HG--
extra : rebase_source : fe07c557032fd33257eb701190becfaf85ab79d0
2018-01-17 15:20:35 +01:00
Dan Minor
cf2b991775 Bug 1393119 - Remove webrtc gyp files; r=jesup
This removes the gyp files to build webrtc. It looks like part of Bug 1371485 is
to vendor gyp elsewhere in tree at which time we can complete cleaning this up.

MozReview-Commit-ID: 8MqatafniN5

--HG--
extra : rebase_source : 372440bdf73290e268d0a5318cb2c16ecfefcd2a
2017-12-19 09:21:03 -05:00
Coroiu Cristina
faa2f8c7da Backed out 2 changesets (bug 1431090) for Bf bustage at src/tools/fuzzing/interface/harness/FuzzerTestHarness.h
Backed out changeset 2e98bda3f397 (bug 1431090)
Backed out changeset eb6acc9e44ad (bug 1431090)

--HG--
rename : tools/fuzzing/registry/FuzzerRegistry.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.cpp
rename : tools/fuzzing/registry/FuzzerRegistry.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.h
rename : tools/fuzzing/interface/harness/FuzzerRunner.cpp => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.cpp
rename : tools/fuzzing/interface/harness/FuzzerRunner.h => tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.h
rename : tools/fuzzing/interface/harness/FuzzerTestHarness.h => tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h
rename : tools/fuzzing/interface/harness/moz.build => tools/fuzzing/libfuzzer/harness/moz.build
2018-01-23 13:49:26 +02:00
Christian Holler
4ce6f81fee Bug 1431090 - Prepare tools/fuzzing/ to be used with JS_STANDALONE. r=froydnj
This patch adjusts tools/fuzzing/ in such a way that the relevant parts can be
reused in the JS engine. Changes in detail include:

* Various JS_STANDALONE checks to exclude parts that cannot be included in
  those builds.

* Turn LibFuzzerRegistry and LibFuzzerRunner into generic FuzzerRegistry and
  FuzzerRunner classes and use them for AFL as well. Previously, AFL was
  piggy-backing on gtests which was kind of an ugly solution anyway (besides
  that it can't work in JS). Now more code like registry and harness is
  shared between the two and they follow almost the same call paths and entry
  points. AFL macros in FuzzingInterface have been rewritten accordingly.
  This also required name changes in various places. Furthermore, this unifies
  the way, the fuzzing target is selected, using the FUZZER environment
  variable rather than LIBFUZZER (using LIBFUZZER in browser builds will give
  you a deprecation warning because I know some people are using this already
  and need time to switch). Previously, AFL target had to be selected using
  GTEST_FILTER, so this is also much better now.

* I had to split up FuzzingInterface* such that the STREAM parts are in a
  separate set of files FuzzingInterfaceStream* because they use nsStringStream
  which is not allowed to be included into the JS engine even in a full browser
  build (error: "Using XPCOM strings is limited to code linked into libxul.").
  I also had to pull FuzzingInterface.cpp (the RAW part only) into the header
  and make it static because otherwise, would have to make not only separate
  files but also separate libraries to statically link to the JS engine, which
  seemed overkill for a single small function. The streaming equivalent of the
  function is still in a cpp file.

* LibFuzzerRegister functions are now unique by appending the module name to
  avoid redefinition errors.

MozReview-Commit-ID: 44zWCdglnHr

--HG--
rename : tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.cpp => tools/fuzzing/interface/harness/FuzzerRunner.cpp
rename : tools/fuzzing/libfuzzer/harness/LibFuzzerRunner.h => tools/fuzzing/interface/harness/FuzzerRunner.h
rename : tools/fuzzing/libfuzzer/harness/LibFuzzerTestHarness.h => tools/fuzzing/interface/harness/FuzzerTestHarness.h
rename : tools/fuzzing/libfuzzer/harness/moz.build => tools/fuzzing/interface/harness/moz.build
rename : tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.cpp => tools/fuzzing/registry/FuzzerRegistry.cpp
rename : tools/fuzzing/libfuzzer/harness/LibFuzzerRegistry.h => tools/fuzzing/registry/FuzzerRegistry.h
extra : rebase_source : 7d0511ca0591dbf4d099376011402e063a79ee3b
2018-01-17 15:20:35 +01:00
Dan Minor
63330c4c65 Bug 1393119 - Add generated files; r=jesup
MozReview-Commit-ID: 379Yq1cIQyD

--HG--
extra : rebase_source : 8865b2d88031c9ead9dbbd77cbaf762c515fae00
2017-12-01 12:44:51 -05:00
Dan Minor
15ab7b52c6 Bug 1393119 - Update gn files for mozilla build; r=jesup
MozReview-Commit-ID: KRaCt8uvTJH

--HG--
extra : source : f8321fda6acc26af22745c82a33e849a851ac492
2017-07-27 13:04:25 -04:00
Dan Minor
28d0aa7c68 Bug 1393119 - Update gn files for mozilla build; r=jesup
MozReview-Commit-ID: KRaCt8uvTJH

--HG--
extra : rebase_source : 8c73406fb78c01d91e94bd1d8b3bffc03a28ff45
2017-07-27 13:04:25 -04:00
Dan Minor
48af827f2f Bug 1393119 - Add webrtc.org trunk/build/ files to support gn build; r=jesup
MozReview-Commit-ID: KaupPBeJucK

--HG--
extra : source : 67092d3b35fec1d14960c13c9aae1f494f5e6375
2017-07-27 12:42:30 -04:00
Chris Manchester
0a473080e6 Bug 1393119 - Add webrtc gn build config; r=dminor
MozReview-Commit-ID: FIPjkDWwAQx

--HG--
extra : source : 5b4da712bf1e276dd5df44a1b23e2a715f5c19cb
2017-11-29 11:18:44 -08:00
Andreea Pavel
3a37861e1a Backed out 5 changesets (bug 1393119) for failing dom/media/tests/mochitest/test_peerConnection_audioSynchronizationSources.html on a CLOSED TREE 2018-01-24 03:20:11 +02:00
Dorel Luca
c00b3bfa4c Merge mozilla-central to mozilla-inbound r=merge 2018-01-23 19:58:07 +02:00
Dan Minor
aece8e3136 Bug 1429390 - Make H.264 Encode dispatch asynchronous; r=jesup
Historically we made a synchronous dispatch to the GMP thread on encode to avoid
copying the frame buffer. The frame buffer is now held by a refptr so we can now
make this call asynchronously.

--HG--
extra : rebase_source : 0c339d0b4721847f0f96f469fedb3320821883fd
2018-01-10 09:33:06 -05:00
Dan Minor
1b50620f9c Bug 1393119 - Add webrtc.org trunk/build/ files to support gn build; r=jesup
MozReview-Commit-ID: KaupPBeJucK

--HG--
extra : rebase_source : d721dfdc6d4ec298291ff32d0e49ea33d25eeca1
2017-07-27 12:42:30 -04:00
Chris Manchester
a86c71dab3 Bug 1393119 - Add webrtc gn build config; r=dminor
MozReview-Commit-ID: FIPjkDWwAQx

--HG--
extra : rebase_source : de81c0f2a9a0d3c4406361a52076df8134771202
2017-11-29 11:18:44 -08:00
Dan Glastonbury
ef24584441 Bug 1428952 - P3: Update to version 0.2.0 of AudioIPC. r=kinetik
MozReview-Commit-ID: As6AdntcOog

--HG--
extra : rebase_source : 7492c98c7c6b9e46d715b9da8891693b55c7358b
2017-11-03 12:48:20 +10:00
Dan Glastonbury
eeb4781489 Bug 1428952 - P2: Add update.sh for updating audioipc crates. r=kinetik
MozReview-Commit-ID: 59RmjjGh9Wq

--HG--
extra : rebase_source : 76954db0f17e6fa80e71f02071874eda41306c8f
2018-01-09 10:50:40 +10:00
Dan Glastonbury
bd0d7d2086 Bug 1428952 - P1: Update cubeb-rs to commit aaba6b3. r=kinetik
MozReview-Commit-ID: KjgDEJve9Zx

--HG--
extra : rebase_source : e32cec27dd45d6b6e71f91d6218e3e35acdb6331
2017-11-06 14:59:29 +10:00
Nico Grunbaum
e30c99af1c Bug 1419093 - P2 - update rtp source impl & unit tests r=mjf
Update the c++ side with the new WebIDL definitions, note that
many fields are now required. See P1 for more details.


MozReview-Commit-ID: FKHi86Nj7UO

--HG--
extra : rebase_source : 7491551b46a9fb0e8c8cba77861b01f90ea95644
2017-12-18 19:24:01 -06:00
Byron Campen [:bwc]
ea3dd6304c Bug 1430707: Don't MOZ_CRASH when conduit operations fail. r=drno
MozReview-Commit-ID: 32nYEJ3hht2

--HG--
extra : rebase_source : c18a30c442da5ca646943d7ecee37f0cd06d4c71
2018-01-19 08:39:59 -06:00
Jean-Luc Bonnafoux
f1e5d39e10 Bug 1430425 - VideoStreamFactory constructor should pass codec name by reference r=dminor
MozReview-Commit-ID: 8rUH1DfEUts

--HG--
extra : rebase_source : 2e9a2693653daa8b918f1966af36226b915f333e
2018-01-14 17:26:26 +01:00
Dan Glastonbury
1ed8c42458 Bug 1430996 - P2: Remove NIGHTLY_BUILD restriction for using cubeb-pulse-rs. r=kinetik
MozReview-Commit-ID: 6luTT4b9e25

--HG--
extra : rebase_source : 9c110d1d9e2fdfb9882c0d6f4081d436bb15d896
2018-01-17 16:22:54 +10:00
Dan Glastonbury
a539d73ba3 Bug 1430996 - P1: Update cubeb-pulse-rs to commit cb7141e. r=kinetik
MozReview-Commit-ID: 2wrPNI9rvKF

--HG--
extra : rebase_source : 2a009c40dfdfd06a20b704ed033a47b93788edf4
2018-01-17 15:24:43 +10:00
Mike Hommey
dbd4c4810a Bug 1428608 - Forbid / or !/ in LOCAL_INCLUDES. r=froydnj
And remove the two cases that currently set that, without actually using
it. The webrtc gtest one never relied on it, and the gfx one was added
in bug 1427668 for a single header, and the corresponding #includes were
changed in bug 1428678.

--HG--
extra : rebase_source : ebb3aed6ff8e3438d4a2f011725cf1a15986fee6
2018-01-17 17:10:20 +09:00
Munro Mengjue Chiang
3c82ef78a0 Bug 1420585 - remove unnecessary stopCapture which causes deadlock. r=jib
MozReview-Commit-ID: F8xcOSPihDN

--HG--
extra : rebase_source : 057b77496aa86f9e7f3b4ccd858ec74e8c8453a8
2018-01-05 15:50:23 +08:00
Chris Peterson
37efe4d0e6 Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
MozReview-Commit-ID: DCPTnyBooIe

--HG--
extra : rebase_source : cfec2d96faeb11656d86d760a34e0a04cacddb13
extra : intermediate-source : 6176724d63788b0fe8caa3f91607c2d93dbaa7ec
extra : source : eebbb0600447f9b64aae3bcd47b4be66c02a51ea
2017-11-05 19:37:28 -08:00
Michael Froman
35cf761e08 Bug 1429085 - only initiate ice restart in PeerConnectionMedia if jsep create offer/answer succeeds. r=drno
Separate setting up the ice credentials for ice restart from the actual
restart call into PeerConnectionMedia.  This allows waiting until after
the call to JsepSessionImpl::CreateOffer or JsepSessionImpl::CreateAnswer
succeeds.

MozReview-Commit-ID: Hex0lNstv0H

--HG--
extra : rebase_source : 49ad2e204b7dfef6a5c359c11e38b57d8e7beade
2018-01-12 15:17:50 -06:00
Byron Campen [:bwc]
ae7b275a48 Bug 1425621 - Part 5: Handle transceiver removal caused by rollback after track events. r=drno,jib,smaug
MozReview-Commit-ID: 5Z5ntG5Bvgc

--HG--
extra : rebase_source : ae8a2438dfdc1dd968768fba86a8a6752934bd82
extra : intermediate-source : 347e79f12f838355b45f3eebbc33322bf866d75f
extra : source : 8a127885a8d0265994c5f9d4ef9bd384279f6858
2017-12-21 10:22:37 -06:00
Byron Campen [:bwc]
802d9b4a0d Bug 1425621 - Part 4: Move track event logic to JS. r=drno,jib,smaug
MozReview-Commit-ID: 8kUbYQnD3Oc

--HG--
extra : rebase_source : a1f0685c8156c75438cf57e0d55117b8a4025bc8
extra : intermediate-source : 9b756cb6bccaca473925679725688a012d4086f6
extra : source : b3f9155a0ec77f819a0a02ce798d0d0a84da0524
2017-12-20 17:00:40 -06:00
Ryan VanderMeulen
24c532d428 Backed out 6 changesets (bug 1393119, bug 1429819) so it can re-land after the Gecko 60 version bump instead.
Backed out changeset 4bf890d84416 (bug 1429819)
Backed out changeset 91cfd14052f5 (bug 1393119)
Backed out changeset eac997d73d67 (bug 1393119)
Backed out changeset f8321fda6acc (bug 1393119)
Backed out changeset 67092d3b35fe (bug 1393119)
Backed out changeset 5b4da712bf1e (bug 1393119)
2018-01-12 11:33:12 -05:00
Narcis Beleuzu
4de0807d09 Merge inbound to mozilla-central r=merge a=merge 2018-01-12 13:25:57 +02:00
Michael Froman
0dbf6aa0f7 Bug 1425780 - Don't allow queue-jumping for gathering state change events. r=bwc 2018-01-11 21:38:36 -05:00
Karl Tomlinson
88b88a2384 bug 1429666 cubeb_resampler_speex: don't call data callback while draining r=padenot
MozReview-Commit-ID: 1XEzZjPGai9

--HG--
extra : rebase_source : 56be87525d46ed3850a15e8e4dd19804dd832408
2018-01-11 13:30:24 +13:00
Tom Prince
0e8d2f23ed Bug 1429819: Allow using tooltool macOS SDK on all automation builds, not just cross-builds; r=dminor
MozReview-Commit-ID: IFIS8vZLgd4

--HG--
extra : rebase_source : 5494d93404e5fff0c669df2540534456579f9acf
2018-01-11 09:23:16 -07:00
Ciure Andrei
f7400ad72e Merge inbound to mozilla-central r=merge a=merge 2018-01-11 11:54:56 +02:00