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

6098 Коммитов

Автор SHA1 Сообщение Дата
Jan Beich d4cf2a6748 Bug 1437670 - Regenerate mozbuild for WebRTC. r=dminor f=gaston
MozReview-Commit-ID: 3rH2nC0xsjZ

--HG--
extra : rebase_source : cabbc459e6b2da68f21a110b2b17cca67485aa51
2018-03-11 21:53:13 +00:00
Jan Beich 1a618eacd6 Bug 1437670 - Add WebRTC's gn-configs for BSDs. r=dminor f=gaston
Based on output from FreeBSD i386/amd64/aarch64 and OpenBSD amd64.

MozReview-Commit-ID: 8D1u28AJTME

--HG--
extra : rebase_source : b0667e3330bbc7988d289eec27160510c60c1a3e
2018-03-11 20:47:57 +00:00
Landry Breuil cc3d087962 Bug 1437670 - Restore BSD support in WebRTC. r=dminor f=jbeich
Original porting was done in bug 807492, so this is mostly gyp->gn translation.
cflags/libs are left unchanged as those aren't used by Gecko.

MozReview-Commit-ID: Bhw6KduoiVm

--HG--
extra : rebase_source : 485f1dfe38106b895ec481444e8a32d08f72f5e7
2018-03-10 13:30:00 -08:00
Jan Beich 5bd9fa806e Bug 1437670 - Add basic BSD support to GN build. r=dminor f=gaston
- If cross-toolchain is N/A use system one instead of error
- BSDs often use Linux interfaces, so don't exclude the files
- Define is_bsd as changes specific to a particular BSD are rare
- Adjust is_clang in case Gecko would use it in future

MozReview-Commit-ID: 5LlCbEKbAPO

--HG--
extra : rebase_source : 68fc72056f65c28d43d2bfb238b26b8895e76ba9
2018-03-11 18:34:27 +00:00
Dan Minor 650d4f0866 Bug 1379265 - Add RsdparsaSdpParser to sdp_unittests; r=bwc
This adds a bool parameter that allows the tests to run with either the Sipcc or
Rust SDP parsers.

The tests were changed as follows: One chunk of SDP ws missing a s= line, which
is non-optional as was added. Some of the SDP had a=ice-lite as a media
attribute, but it is only supposed to be a session attribute, and so the media
attribute was removed.

MozReview-Commit-ID: K45ynsVvmnB

--HG--
extra : rebase_source : 4e2a3ea18198f8e5467706b8ef9331aa225babd2
2018-01-23 14:24:44 -05:00
Paul Ellenbogen 1dd717f985 Bug 1379265 - Add RsdparsaSdpParser to JsepSessionImp; r=bwc
MozReview-Commit-ID: 6F4OQnldJez

--HG--
extra : rebase_source : 4cfba252856fcf0bb622d554126d272e000744ff
2018-01-11 15:14:17 -05:00
Michael Froman dfb4c1b5bd Bug 1374699 - fixing compiler warnings for nICEr. r=drno
Cleaning up compiler warnings for nICEr.  Major highlights:
 - set _WINSOCK_DEPRECATED_NO_WARNINGS define in nicer.gyp for Windows
   builds of nICEr to avoid warnings about inet_addr use in ice_ctx.c:102,
   ice_ctx.c:297, ice_parser.c:465, and transport_addr_reg.c:143.
 - move nr_ice_accumulate_count from ice_ctx.{h|c} to stun_util.{h|c}
   as nr_accumulate_count to quiet warnings in turn_client_ctx.c and
   stun_client_ctx.c.
 - stun_msg.{h|c} - change nr_stun_attr_data_.length,
   nr_stun_message_attribute.encoding_length and nr_stun_message_.length
   from int to UINT2 (not size_t since other lengths in this header are
   UINT2).
 - stun_codec.{h|c} - lengths and offsets changed from int to UINT2 to
   match changes in stun_msg.{h|c}
 - r_data.{h|c} - change Data.len from int to size_t
 - nr_crypto.{h|c} - change nr_ice_crypto_vtbl_ lengths from int to size_t

MozReview-Commit-ID: EF5v79RpqbI

--HG--
extra : rebase_source : ead30e2359ea6a6aada4dd222137302ba86fb972
2017-07-17 11:49:49 -05:00
Paul Ellenbogen cecd8dd288 Bug 1379265 - Add C++ bindings for rsdparsa; r=bwc
MozReview-Commit-ID: FdhpTT5wzwI

--HG--
extra : rebase_source : e2c0c58dfe41e25df101ec52bca0b092bc330246
2017-06-30 12:54:12 -07:00
Paul Ellenbogen 9a973356aa Bug 1379265 - Add C API for rsdparsa; r=rillian
MozReview-Commit-ID: FdhpTT5wzwI

--HG--
extra : rebase_source : 9b0188b6e3c2604da77250b9e004508e91fe4497
2017-06-30 12:54:12 -07:00
Dan Minor 4dfdf9b22f Bug 1379265 - Import rsdparsa; r=rillian
Imported from git commit 0fd5ac915a134d4ffd5dd5949247632a1b92f7bc.

MozReview-Commit-ID: 8njzZT5YTTD

--HG--
extra : rebase_source : d2475db7f095f7ea55644b84b28d14efea1ab1e5
2018-01-11 10:42:16 -05:00
Narcis Beleuzu e73ecbc91f Backed out 4 changesets (bug 1437366) for mochitest failures on /test_peerConnection_basicAudio_forced_higher_rate.html
Backed out changeset 57826a5b03e8 (bug 1437366)
Backed out changeset a26852df062b (bug 1437366)
Backed out changeset abca0eb36d33 (bug 1437366)
Backed out changeset 41bb4a676575 (bug 1437366)

--HG--
extra : rebase_source : d81a0833db5d331fe928100cf88d1b9cc9253a1b
2018-03-08 19:27:25 +02:00
Paul Adenot 449e028ed9 Bug 1437366 - Teach the AudioConduit to send audio that has a non-supported sample-rate. r=pehrsons
MozReview-Commit-ID: 6AvyPM4vpkr

--HG--
extra : rebase_source : 45c40e2213f7dfe35e002141bf21040faeef6bf6
2018-03-05 11:37:13 +01:00
Paul Adenot a0f53590dc Bug 1437366 - Set the correct (possibly clamped) rate on the MediaStreamTrack when the MSG runs at a rate not compatible with the webrtc.org code, and fix interval calculation. r=jya,pehrsons
MozReview-Commit-ID: HOPjfdUJBSU

--HG--
extra : rebase_source : 65c475d09a3aaca8bb81988b562736a15d7b392b
2018-03-05 13:31:00 +01:00
Dan Glastonbury c0770d8852 Bug 1443988 - P1: Update audioipc to commit 7e866e5. r=mbrubeck
Remove pinning version of futures crate.

MozReview-Commit-ID: AcGtxmapWSl

--HG--
extra : rebase_source : 1b41298dd6dca0124c0dbd006aa502d325cbdf76
2018-03-08 12:19:17 +10:00
Ralph Giles 5afdc71afd Bug 1443865 - Use 16-bit eobs count. r=kinetik
MozReview-Commit-ID: 4lfBbvSTNPO

--HG--
extra : rebase_source : 1afdf8a54ae5dab645e67bde62e219ee838dea84
2018-03-07 16:02:30 -05:00
Andreas Pehrson b9cd3068b0 Bug 1436341 - Stop() instead of Pause() device when stopping capture on Windows. r=jib
Pause() gave the benefit of another app not being able to steal
the device until the next Run(). It would keep the light on for
some cameras however.

Stop() makes the light go out on these cameras, but put them up
for another application to steal. Basically the same as on our
other platforms.

MozReview-Commit-ID: FPRYcZ2PEpm

--HG--
extra : rebase_source : 1870eb6933b02c83c7e61ac275b648fdde9b4cec
2018-03-07 10:43:23 +01:00
Byron Campen [:bwc] a5fa4c3bfb Bug 1442404: Don't spin STS when shutting down the mtransport thread. r=drno
MozReview-Commit-ID: 47BImEsl9xi

--HG--
extra : rebase_source : 9fd820f4db145642f1184264ae991ea0748b0479
2018-03-06 12:30:16 -06:00
Dan Glastonbury d1d3dca95f Bug 1443368 - Update cubeb-pulse-rs to commit 22cdde3. r=kinetik
Pull for change to replace assert in get_server_info callback with
proper handling for null pointer.

MozReview-Commit-ID: 996HQw3FyYQ

--HG--
extra : rebase_source : a0d8a0d4ed6df1e5cad13b8ad03d9e1d10fc9223
2018-03-06 15:49:08 +10:00
Bryce Van Dyk 3114bcb097 Bug 868797 - Update libnestegg to be more tolerant of blocks with negative timecodes. r=kinetik
Bump nestegg to commit 89ed0daf2edccb25f744e5faff88b8b4684adceb. This brings
across tolerance of blocks with negative timecodes. Instead of rejecting these
the timecodes are now set to 0.

Also brings across a change to appease clang in ne_read_block_additions by
adding an explicit assignment to data_size.

MozReview-Commit-ID: 7J8YPUUwSBp

--HG--
extra : rebase_source : f55bd987465baf21f383095b60e9148349936fef
2018-02-28 16:34:05 -05:00
Spencer Brown f91e903df3 BUG 1415886 - Change commented argument name to match declaration r=drno
--HG--
extra : amend_source : 71653a1478aad3b8182cccabc9b840fa02b8b26d
2017-11-09 11:20:37 -05:00
Dan Glastonbury 7ec980ee2f Bug 1441588 - P1: Update audioipc to commit 79c1622. r=rillian
Pull in changes
- Fix handling of Result<> to error code.
- Update bincode to match WebRender version.

MozReview-Commit-ID: LSXMocqwJ6R

--HG--
extra : rebase_source : e15be0c36b9a75c1e7dc0c3906d071da8a846aff
2018-03-03 14:23:41 +10:00
Andreas Pehrson c694fdcf48 Bug 1441145 - Hack the frame rotation through to CamerasParent and CamerasChild. r=jib
MozReview-Commit-ID: 1UL1Ixkzl86

--HG--
extra : rebase_source : c94147ecdb5c0fe8dbdc1e574dd064111921dfe4
2018-03-02 16:57:59 +01:00
Nico Grunbaum cb1016c774 Bug 1441260 - unify API for setting extmaps in AudioConduit r=dminor,mjf
MozReview-Commit-ID: 8PmvQyk32WW

--HG--
extra : rebase_source : 160ba11194fd823c5e90ccde9bddd7632efa9369
2018-02-26 20:59:01 -08:00
Masatoshi Kimura b1b043af08 Bug 1442266 - Stop including unnecessary <iostream>. r=froydnj
MozReview-Commit-ID: B0JDqyBanFE

--HG--
extra : rebase_source : dec1e2678083e3fb2b9a6b89322d1fa747ed6d4a
2018-03-01 23:07:56 +09:00
Alex Chronopoulos f74de1aee2 Bug 1410456 - Update cubeb from upstream to eb3409e.r=achronop
MozReview-Commit-ID: Ie9hhw1Prlw

--HG--
extra : rebase_source : 0e27932b3d22cf816a045b2fd4929d957a5684d6
2018-03-01 15:44:47 +02:00
Alex Chronopoulos 6bd9c1333c Bug 1410456 - Pass in cubeb JNIEnv instead of JavaVM. r=padenot
MozReview-Commit-ID: Cf8FvZzShVv

--HG--
extra : rebase_source : 28b4a8658e5be271af228a0d0398eaa2fba4320b
2018-03-01 12:11:32 +02:00
Alex Chronopoulos 599f535864 Bug 1410456 - Add new files in update.sh script. r=padenot
MozReview-Commit-ID: 5Nmdd8WOlJc

--HG--
extra : rebase_source : 766debbed1e6c64ef66c6f21a0b3f675fca3abe9
2018-02-27 13:37:49 +02:00
Alex Chronopoulos 21a1f8e51b Bug 1410456 - Keep the old mechanism for the older versions that jni method is not available. r=padenot
MozReview-Commit-ID: 3jXf3wuXqZu

--HG--
extra : rebase_source : 6b81a313f12c74810e969c9195fcc8113d5bdf89
2018-02-27 13:37:37 +02:00
Alex Chronopoulos 647424824e Bug 1410456 - get mixer latency from JNI instead of system library. r=jchen,padenot,snorp
MozReview-Commit-ID: 3YciuVu25JO

--HG--
extra : rebase_source : e5b3ad2f4b38f4b6454a56434022fce7f2a649cb
2018-02-20 15:37:12 +02:00
Alex Chronopoulos 9dba55fc1f Bug 1410456 - remove preferred sample rate implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: jBZ3oewbjh

--HG--
extra : rebase_source : e983510c4c3e2e046302ea3c0732b25a0cfd2cb1
2018-02-20 15:37:11 +02:00
Alex Chronopoulos cb6847750a Bug 1410456 - remove get latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: 1Mc2dSk0hlc

--HG--
extra : rebase_source : 00c83fb95b4ef5f184bc4c9b7511f53995ad82c4
2018-02-20 15:37:10 +02:00
Alex Chronopoulos 9497b2b3a2 Bug 1410456 - remove get min latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: CD2FCiMobWm

--HG--
extra : rebase_source : 17de7ffc8b93082473beaebabd8354c853f4f20f
2018-02-20 15:37:09 +02:00
Alex Chronopoulos cc9dc0dbeb Bug 1410456 - remove an unused variable that produces a compile warning. r=padenot
MozReview-Commit-ID: Hf7Od37bnzX

--HG--
extra : rebase_source : d53cbf4ef6f79ee9caac4e74a67f67a2e441669f
2018-02-20 15:37:08 +02:00
Byron Campen [:bwc] f4972e50cc Bug 1441192: Clear ICE operations queue in PeerConnectionMedia::SelfDestruct. r=drno
MozReview-Commit-ID: DNdq23SW0db

--HG--
extra : rebase_source : be06f784d04b6d0da353167ec54e1fa9100c114c
2018-02-26 10:59:24 -06:00
Dan Glastonbury b486a46d6a Bug 1440538 - P4: Update cubeb-pulse-rs to commit f58dc34. r=kinetik
MozReview-Commit-ID: 5eQV3nUceQe

--HG--
extra : rebase_source : c182a15ceda6ef3bb9e25ca3a4465aba325f32bf
2018-02-23 12:54:14 +10:00
Dan Glastonbury 16617a8283 Bug 1440538 - P3: Update cubeb-pulse-rs update.sh. r=kinetik
MozReview-Commit-ID: 4DiL3XnCpMY

--HG--
extra : rebase_source : 719e2a9a0ec9e3284495f7d460e6762b15af0634
2018-02-13 14:45:51 +10:00
Dan Glastonbury 3855912725 Bug 1440538 - P2: Update audioipc to commit 933fb48. r=kinetik
MozReview-Commit-ID: 29VUZKxz3xR

--HG--
extra : rebase_source : 52c8d16aadbd677d22102b9fb989055cb21bb607
2018-02-13 14:39:06 +10:00
Dan Glastonbury a006d86faa Bug 1440538 - P1: Remove local cubeb-rs. r=kinetik
MozReview-Commit-ID: GGYFzavnUV4

--HG--
extra : rebase_source : 38bf861e2258dd0cfd4e9255095a4567b4362a8c
2018-02-22 12:49:32 +10:00
Andreas Pehrson 34646edc78 Bug 1436117 - Keep aImage around until the WrappedI420Buffer is released. r=dminor
MozReview-Commit-ID: GuBHFnPA3YQ

--HG--
extra : rebase_source : e5cc3c1d5e0f08279e8c40ebf03ef7e535cfe5e5
2018-02-26 10:32:29 +01:00
Narcis Beleuzu 5968b0947f Backed out 10 changesets (bug 1410456) for Android mochitest crashes, e.g. in test_postMessages.html. CLOSED TREE
Backed out changeset 7ec175446efd (bug 1410456)
Backed out changeset 94457911bb24 (bug 1410456)
Backed out changeset 5248a21216ae (bug 1410456)
Backed out changeset f182ab7885db (bug 1410456)
Backed out changeset e482347bdae3 (bug 1410456)
Backed out changeset f7b646045e06 (bug 1410456)
Backed out changeset 6a8ed4bf5d2f (bug 1410456)
Backed out changeset 1a9c687ec277 (bug 1410456)
Backed out changeset 82f6667c6758 (bug 1410456)
Backed out changeset 7bf358e3e01b (bug 1410456)
2018-02-26 15:58:20 +02:00
Alex Chronopoulos 1697d603ea Bug 1410456 - Update cubeb from upstream to b1ee1ce. r=padenot
MozReview-Commit-ID: 5PmGUcxB6jv

--HG--
extra : rebase_source : 15e4d33a4d80d5cfedb6b064d9320ae711db73f4
2018-02-26 14:03:36 +02:00
Alex Chronopoulos 2eb404212e Bug 1410456 - Add new files in update.sh script. r=padenot
MozReview-Commit-ID: GD8CHTM1pV8

--HG--
extra : rebase_source : 27a9e05db3831729dc0d6c7f43ba4edca2d39bdc
2018-02-26 13:52:36 +02:00
Alex Chronopoulos 0d15e89258 Bug 1410456 - Keep the old mechanism for the older versions that jni method is not available. r=padenot
MozReview-Commit-ID: IsAOhDkNjHp

--HG--
extra : rebase_source : 375b7db8bc5d0c433aa55f229d8f81c971a6fbde
2018-02-26 13:46:13 +02:00
Alex Chronopoulos 967d8be756 Bug 1410456 - get mixer latency from JNI instead of system library. r=jchen,padenot,snorp
MozReview-Commit-ID: 3YciuVu25JO

--HG--
extra : rebase_source : e5b3ad2f4b38f4b6454a56434022fce7f2a649cb
2018-02-20 15:37:12 +02:00
Alex Chronopoulos 2b7cbda791 Bug 1410456 - remove preferred sample rate implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: jBZ3oewbjh

--HG--
extra : rebase_source : e983510c4c3e2e046302ea3c0732b25a0cfd2cb1
2018-02-20 15:37:11 +02:00
Alex Chronopoulos b3ae975aa1 Bug 1410456 - remove get latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: 1Mc2dSk0hlc

--HG--
extra : rebase_source : 00c83fb95b4ef5f184bc4c9b7511f53995ad82c4
2018-02-20 15:37:10 +02:00
Alex Chronopoulos 3c5238ce8c Bug 1410456 - remove get min latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: CD2FCiMobWm

--HG--
extra : rebase_source : 17de7ffc8b93082473beaebabd8354c853f4f20f
2018-02-20 15:37:09 +02:00
Alex Chronopoulos 26b0a86331 Bug 1410456 - remove an unused variable that produces a compile warning. r=padenot
MozReview-Commit-ID: Hf7Od37bnzX

--HG--
extra : rebase_source : d53cbf4ef6f79ee9caac4e74a67f67a2e441669f
2018-02-20 15:37:08 +02:00
Csoregi Natalia ecb86060b4 Backed out 5 changesets (bug 1379265) for GTest crashes on RsdparsaSdpAttributeList::GetGroup. a=backout
Backed out changeset addf903ba015 (bug 1379265)
Backed out changeset 51f51dfe6095 (bug 1379265)
Backed out changeset 443378a6ed7a (bug 1379265)
Backed out changeset 0ea22b056105 (bug 1379265)
Backed out changeset d85d78ba8ccd (bug 1379265)
2018-02-24 12:58:24 +02:00
Dan Minor 7543dd987e Bug 1436959 - Update generated files; r=jesup
MozReview-Commit-ID: CAKOhpJQoxa

--HG--
extra : rebase_source : 221131f5f8ee2d6488f8a2c4ce42105f8ab835ec
extra : histedit_source : ad11eecf150e9bd974943efdbbc90018a8350993
2018-02-09 14:46:28 -05:00
Dan Minor e5ed549e69 Bug 1436959 - Use correct avfoundation library in video_capture; r=jesup
When switching to the gn build, we accidentally began linking against the
newer webrtc.org avfoundation library rather than the locally patched,
older version. This breaks the ondevicechange event and causes other
problems.

MozReview-Commit-ID: Kz2RBK4xkjQ

--HG--
extra : rebase_source : 8ecd07177cc7de1571133d061faa57bd87a3fe4b
extra : histedit_source : 2a2044c85a28975e40996ef839c6c82926142d51
2018-02-09 14:46:28 -05:00
Dan Minor a45db31520 Bug 1379265 - Add RsdparsaSdpParser to sdp_unittests; r=bwc
This adds a bool parameter that allows the tests to run with either the Sipcc or
Rust SDP parsers.

The tests were changed as follows: One chunk of SDP ws missing a s= line, which
is non-optional as was added. Some of the SDP had a=ice-lite as a media
attribute, but it is only supposed to be a session attribute, and so the media
attribute was removed.

MozReview-Commit-ID: K45ynsVvmnB

--HG--
extra : rebase_source : cf99d92db4c92e17dc3aa32e0862984fe69452a9
2018-01-23 14:24:44 -05:00
Paul Ellenbogen 039d9a80d1 Bug 1379265 - Add RsdparsaSdpParser to JsepSessionImp; r=bwc
MozReview-Commit-ID: 6F4OQnldJez

--HG--
extra : rebase_source : 19dea073e0e252bb6771c8eb7670dcbf4ba9a941
2018-01-11 15:14:17 -05:00
Paul Ellenbogen ef68d81ca0 Bug 1379265 - Add C++ bindings for rsdparsa; r=bwc
MozReview-Commit-ID: FdhpTT5wzwI

--HG--
extra : rebase_source : 40447f2682dddf65d0b9f804b016e99b2c7f5d92
2017-06-30 12:54:12 -07:00
Paul Ellenbogen ccaf43a57e Bug 1379265 - Add C API for rsdparsa; r=rillian
MozReview-Commit-ID: FdhpTT5wzwI

--HG--
extra : rebase_source : b1fd70e19346794f9309a49cda4a06ccfcd403aa
2017-06-30 12:54:12 -07:00
Dan Minor ad14285e30 Bug 1379265 - Import rsdparsa; r=rillian
Imported from git commit 0fd5ac915a134d4ffd5dd5949247632a1b92f7bc.

MozReview-Commit-ID: 8njzZT5YTTD

--HG--
extra : rebase_source : eed1aaf0fefa879ed345054fb3a2b67e6ab6d2ba
2018-01-11 10:42:16 -05:00
Nico Grunbaum 4e323cc913 Bug 1439076 - P2 - csrc-audio-level jsep gtest fixes r=jib
MozReview-Commit-ID: 1ZHK4TFIc9E

--HG--
extra : rebase_source : 897ceea8637b15b9a3872c86a2c8b3ac551e096d
2018-02-20 17:00:27 -08:00
Nico Grunbaum 3a07a6a7ec Bug 1439076 - P1 - negotiate csrc-audio-level RTP header r=mjf
MozReview-Commit-ID: 3S2VYuQ7Qkg

--HG--
extra : rebase_source : 002c090e7a5cee3a5cf7221b9cc764a8d7ab0a7b
2018-02-16 23:02:11 -08:00
Nico Grunbaum 0bd02a8387 Bug 1439001 - AudioLevel RTP header ext. send/recv sense reversed in xceiver r=drno
MozReview-Commit-ID: CyI4Rh3juUe

--HG--
extra : rebase_source : 41369ba143754620f8c251d048e19d9924ba2029
2018-02-16 16:27:07 -08:00
Dorel Luca 037478c033 Backed out 9 changesets (bug 1410456) for Mochitest failure on mobile/android/tests/browser/chrome/test_media_playback.html
Backed out changeset 36f6b40dfa88 (bug 1410456)
Backed out changeset 19f3248502d9 (bug 1410456)
Backed out changeset 18ef18999175 (bug 1410456)
Backed out changeset 0ec75a56b4c7 (bug 1410456)
Backed out changeset f7eae1545d5e (bug 1410456)
Backed out changeset d59060ecd24c (bug 1410456)
Backed out changeset f996b9dce4a6 (bug 1410456)
Backed out changeset 1f75636b5bce (bug 1410456)
Backed out changeset c170d37b1a04 (bug 1410456)
2018-02-19 21:45:10 +02:00
Alex Chronopoulos e63e670281 Bug 1410456 - Update cubeb from upstream to 84e9568. r=achronop
MozReview-Commit-ID: LbKW5KFC37v

--HG--
extra : rebase_source : 83f0a420d9172dfcac47e260cac9675ef8fadc46
2018-02-19 18:38:06 +02:00
Alex Chronopoulos 9c4058b363 Bug 1410456 - Add new files in update.sh script. r=padenot
MozReview-Commit-ID: C9ssWChZclq

--HG--
extra : rebase_source : 20b6f8b97a0aa2156bedc4e11cd419e35802b1cb
2018-02-19 18:35:44 +02:00
Alex Chronopoulos 8f15370f0e Bug 1410456 - get mixer latency from JNI instead of system library. r=jchen,padenot,snorp
MozReview-Commit-ID: FbKvEB6mla

--HG--
extra : rebase_source : 71809dd91edf1e0eac7810dc9e0bea76fcb5d935
2018-02-19 18:35:31 +02:00
Alex Chronopoulos 9afa22dc33 Bug 1410456 - remove preferred sample rate implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: FA8tU5jDoZx

--HG--
extra : rebase_source : 60704befbb819b3788f727004a9281e8ff7cfea5
2018-02-19 18:30:48 +02:00
Alex Chronopoulos 9fe37d2732 Bug 1410456 - remove get latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: ADWuUuJaebU

--HG--
extra : rebase_source : 6becd0e53a79eb22b141de02eff3ac33d2c65919
2018-02-19 18:28:13 +02:00
Alex Chronopoulos 13684405b1 Bug 1410456 - remove get min latency implementation because makes use of dlopen. r=padenot
MozReview-Commit-ID: Lepj0zxiyXb

--HG--
extra : rebase_source : dfbc22d55b173bcfead47c9fb3d236b5c88393bc
2018-02-19 18:28:12 +02:00
Alex Chronopoulos f7c4614917 Bug 1410456 - remove an unused variable that produces a compile warning. r=padenot
MozReview-Commit-ID: IerCYxsDQFX

--HG--
extra : rebase_source : bd6384189a686fec9c9b43bdab4e5b9c14a95416
2018-02-19 18:28:11 +02:00
Dorel Luca 07d2af4219 Merge mozilla-inbound to mozilla-central. a=merge 2018-02-17 11:55:38 +02:00
Byron Campen [:bwc] 6b92557023 Bug 1437741 - Part 2: Map datachannel to an m-line after all RTP transceivers have been mapped. r=drno
MozReview-Commit-ID: 3hUvFaTYldx

--HG--
extra : rebase_source : 23beaa415109cb809198ae097d2821d9c0c52dc7
2018-02-15 10:25:03 -06:00
Byron Campen [:bwc] 83b3a27494 Bug 1437741 - Part 1: Expect datachannel m-sections to be last. r=drno
MozReview-Commit-ID: At6HhsLsJQn

--HG--
extra : rebase_source : 65230196217244c5151b46183dfc9adec4b76840
2018-02-15 10:23:49 -06:00
Alex Chronopoulos a9a0f3509a Bug 1438888 - Update cubeb from upstream to 1d53c3a. r=padenot 2018-02-16 18:37:50 +02:00
Nils Ohlmeier [:drno] 5d76400725 Bug 1173851: rename DataChannel to RTCDataChannel r=jib,smaug
MozReview-Commit-ID: L8OrIlxM7r1

--HG--
rename : dom/webidl/DataChannel.webidl => dom/webidl/RTCDataChannel.webidl
extra : rebase_source : 013fd0b02c6b5e3a95395bbfed68e27138b507ed
2018-02-09 14:36:48 -08:00
Michael Froman a9c9593126 Bug 1436759 - Release NrIceMediaStreams on sts thread in transport_unittests.cpp. r=bwc
MozReview-Commit-ID: BLasqfQJxw

--HG--
extra : rebase_source : bca09672917ce5fc4a5450864c9f461952847b3f
2018-02-14 14:24:50 -06:00
Ralph Giles 62e62e57a2 Bug 1437351 - Update mp4parse to v0.10.0. r=kinetik
Import v0.10.0 of the mp4parse and mp4parse_capi crates
and update dependencies.

Reduces library size by removing debug tracing in release builds.
Also adds recognition of the ALAC codec, although we don't plan
to support it.

MozReview-Commit-ID: F1bnotCmbDf

--HG--
extra : rebase_source : 55bc014378d7f65fca8af82a9222edd36870b351
2018-02-13 16:58:43 -08:00
Ralph Giles 68efe6ba72 Bug 1437351 - Update mp4parse import script for v0.10.0. r=kinetik
Port our build patch and request the v0.10.0 tag by default.

MozReview-Commit-ID: 6TSCsgtZ8UT

--HG--
extra : rebase_source : 9fb1166c6545d4b8eddc8c64831c44c16163e537
2018-02-13 15:54:01 -08:00
Dorel Luca 977a4712b6 Backed out 2 changesets (bug 1173851) for Mochitest failures on dom/tests/mochitest/general/test_interfaces.html. CLOSED TREE
Backed out changeset aba40941f027 (bug 1173851)
Backed out changeset 36e6f0595461 (bug 1173851)

--HG--
rename : dom/webidl/RTCDataChannel.webidl => dom/webidl/DataChannel.webidl
2018-02-15 01:10:06 +02:00
Nils Ohlmeier [:drno] 95deaeb484 Bug 1173851: rename DataChannel to RTCDataChannel r=jib,smaug
MozReview-Commit-ID: L8OrIlxM7r1

--HG--
rename : dom/webidl/DataChannel.webidl => dom/webidl/RTCDataChannel.webidl
extra : rebase_source : b89dbe0ac4dab71199d758b8cd85ea9655533067
2018-02-09 14:36:48 -08:00
Byron Campen [:bwc] d084a97e55 Bug 1437832 - Part 4: Remove unused function from PeerConnectionImpl r=jib
MozReview-Commit-ID: DJPLOWdm2IA

--HG--
extra : rebase_source : 74755f78b68fe04f413fb5ac0e68c5025b0270e1
2018-02-13 14:40:49 -06:00
Bogdan Tara 5bbbbe17bc Merge inbound to mozilla-central. a=merge 2018-02-10 11:57:47 +02:00
Nils Ohlmeier [:drno] 1e1b47f60a Bug 1435025: don't parse padding on SRTP packets r=bwc,jesup
MozReview-Commit-ID: HNW2BTRoJp2

--HG--
extra : rebase_source : b61dfd0fee200045beaa60b9a4ed12c979ae6dc5
2018-02-07 22:50:55 -08:00
Byron Campen [:bwc] 300c9ec2f3 Bug 1429768: Stop modifying mDescription on main. r=drno
--HG--
extra : rebase_source : 39281b98976d26cc8a68fe4693e813f866eefd2e
2018-02-07 12:49:24 -06:00
Narcis Beleuzu 84cea84b12 Merge inbound to mozilla-central. a=merge 2018-02-06 11:54:42 +02:00
Michael Froman dc47a5c53d Bug 1434531 - fix missing TCP relay candidates. r=drno
Because the nr_transport_addr_check_compatibility check also includes
protocol, it was failing checks that used to pass.  However, the actual
address used was created farther down in code by copying the current
address and setting the protocol to TCP.  Moving that address copy up
in the processing flow lets the more stringent check work.

MozReview-Commit-ID: 95SOQzxuxXB

--HG--
extra : rebase_source : 95f4cf6d9f10ee4f81c56d7bbe8027c46749cfb8
2018-02-02 16:03:51 -06:00
Ciure Andrei 6c09be0569 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-02-03 00:15:11 +02:00
Alex Chronopoulos d616ec978d Bug 1435307 - Update cubeb from upstream to cc0d538. r=padenot 2018-02-02 19:35:15 +02:00
Florian Quèze 2b1c8dccb6 Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop. 2018-02-01 20:45:22 +01:00
Boris Zbarsky 31dfca239b Bug 1434803. Properly propagate out errors from various PeerConnectionImpl methods. r=drno
PeerConnectionImpl defines two versions of various fallible methods: a version
taking an ErrorResult argument, and a version returning nsresult.  The methods
were not marked fallible in the webidl, so the bindings called the
nsresult-returning version, but ignored the returned value.  As a result,
failures got swallowed instead of being propagated out.

The changes here annotate the relevant parts of the webidl as throwing, and
convert non-fallible methods to returning void to make infallibility clearer.

MozReview-Commit-ID: JU9NzmEf8FV
2018-02-01 14:22:48 -05:00
Michael Froman 38bdfba7a2 Bug 1414171 - pt 2 - Sort ICE stats by componentId on about:webrtc. r=drno
- add new component_id field to NrIceCandidatePair
- add the candidate pair component_id to RTCIceCandidatePairStats in
  RecordIceStats_s
- add new column in ice stats table for component id
- sort ice stats by component id first


MozReview-Commit-ID: J89ZIYEUyRk

--HG--
extra : rebase_source : 681a5afa1303b4e377fcc14d099ce0b3d852f22c
2018-01-30 22:23:54 -06:00
Robert-André Mauchin 38a3ee1f79 Bug 1435695 - WebRTC fails to build with GCC 8; r=dminor
--HG--
extra : rebase_source : d26e183b2082fa4f88ce3b837e2db5fc8acbff5b
2018-02-05 09:46:44 -05:00
Andreas Pehrson 678079da9d Bug 1299515 - Use an I420BufferPool for allocations in VideoFrameConverter. r=dminor
MozReview-Commit-ID: 50evWtMNjHz

--HG--
extra : rebase_source : 3ac599a252f65fb37b953b7eb920215006a24f2c
2017-11-28 11:42:33 +01:00
Andreas Pehrson 85ded5b958 Bug 1299515 - Plumb MediaStreamTrack enabled state to sources. r=jib
MozReview-Commit-ID: Eg1g9JtLmOz

--HG--
extra : rebase_source : 73057e1093d487736f69addca346b05c48d8d280
2017-11-10 15:55:42 +01:00
Andreas Pehrson c16103af60 Bug 1408294 - Simplify MSG integration code for MediaPipelineReceive. r=bwc
Most importantly this avoids having a SourceMediaStream *with a track* but
*without any listeners*.

I'm adding asserts to ensure that all NotifyPull()s append enough data to all
live tracks.

MozReview-Commit-ID: InGj3n0f0y3

--HG--
extra : rebase_source : a9820d9943dfae12d8cc9835c594f062925ee8fa
2017-12-21 15:55:26 +01:00
Nils Ohlmeier [:drno] a148913e4d Bug 1426988 - Properly exit encoder init in error cases. r=rillian
--HG--
extra : rebase_source : 0fa1d6ab54499dba8da9182adeaa3117ee8c8b98
2018-01-27 11:20:43 -08:00
Dan Minor ef3c58e0e6 Bug 1433005 - Simplify codec pruning in NegotiateCodecs; r=bwc
--HG--
extra : rebase_source : 648d672c3e1f5ff2d3c8c35e548a8d7fc994b8af
2018-01-26 11:46:51 -05:00
Gurzau Raul 768779f6a9 Backed out changeset 62da02a0aa77 (bug 1433005) for Gtest failures on Linux x64 asan and Windows 10 x64 debug 2018-01-30 19:14:12 +02:00
Csoregi Natalia 1d557a2997 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-01-30 18:24:05 +02:00
Dan Minor 26329414af Bug 1433005 - Simplify codec pruning in NegotiateCodecs; r=bwc
--HG--
extra : rebase_source : dd40820b009cb8dc3cff74bbaee9a1d3dbe2a0dc
2018-01-26 11:46:51 -05:00
Bryce Van Dyk 3340675024 Bug 1432869 - Update media/audioipc to d779860. r=kamidphish
MozReview-Commit-ID: 4p88aHw9B91

--HG--
extra : rebase_source : 667c0104babb0762a04d3a62c87feb38b72a630d
2018-01-29 10:02:21 -05:00
Bryce Van Dyk 099cc51efe Bug 1432869 - Update cubeb-pulse-rs to git commit deadde7. r=kamidphish
MozReview-Commit-ID: EdtwDx2r2Ta

--HG--
extra : rebase_source : 04324b3269ee38fdf1c9afca980a18d3bc42a853
2018-01-25 10:51:03 -05:00
Bryce Van Dyk d198f884a0 Bug 1432869 - Update cubeb-rs to commit c7e5ef0. r=kamidphish
MozReview-Commit-ID: IrsMXyLL8KX

--HG--
extra : rebase_source : 3b12608f878acc49a5e2e0517ca87657a6df7a95
2018-01-25 10:37:50 -05:00
Byron Campen [:bwc] 4cfe4f3aa5 Bug 1411977 - Part 6: Don't unwind the stack when firing onsignalingstatechange. r=drno
MozReview-Commit-ID: 5qAlxKFzKQk

--HG--
extra : rebase_source : 6757a3c16e974cf9ebd5c1216c40bd25369880e5
2018-01-25 10:09:17 -06:00
Byron Campen [:bwc] be3a417b19 Bug 1411977 - Part 5: Don't pass a pointer to a temporary to NotifyDataChannel_m. r=drno
MozReview-Commit-ID: 3ydeM9U1P4b

--HG--
extra : rebase_source : aad2510f6179d5cc3218b0b352540072a9dd2561
2018-01-25 10:04:55 -06:00
Byron Campen [:bwc] 83c9be0a4e Bug 1411977 - Part 4: Only try to dispatch the release of TransportLayers when there is a target thread. r=drno
MozReview-Commit-ID: 8fOkZwcxKHy

--HG--
extra : rebase_source : 29eafb58f0207e2d0b973ce8e846ce437a23317e
2018-01-25 09:55:12 -06:00
Byron Campen [:bwc] 2dc55eb3d7 Bug 1411977 - Part 3: Clear the SingletonThreadHolder _after_ thread shutdowns are finished, not before they are started. r=drno
MozReview-Commit-ID: Hgak51ReEOO

--HG--
extra : rebase_source : eee5baeb6b9e2c2310f86dcad1f8fa825969c827
2018-01-25 09:54:07 -06:00
Byron Campen [:bwc] e066f9f6f4 Bug 1411977 - Part 2: Stop using sync dispatch and queue jumping with SingletonThreadHolder. r=drno
MozReview-Commit-ID: F2BbHI2kiK1

--HG--
extra : rebase_source : 0f6aef6343a71bce29327d79766b8b84a2cfa1d2
2018-01-25 09:53:04 -06:00
Byron Campen [:bwc] aaf0e9394c Bug 1411977 - Part 1: Stop queue jumping in RUN_ON_THREAD. r=drno
MozReview-Commit-ID: GaCcLZuo7uy

--HG--
extra : rebase_source : f0f3330aef0f8f41038c070fea42d6631a6bb8a6
2018-01-25 08:32:58 -06:00
Bryce Van Dyk 1691d18053 Bug 1432869 - Update cubeb from upstream to 4c18a84. r=achronop
This brings across the WASAPI loopback stream functionality recently
implemented in cubeb.

The README_MOZILLA is reverted to its previous format. Previously a couple of
patches were highlighted as needing application, however these have now been
applied upstream.

MozReview-Commit-ID: CV6FHWXZBK0

--HG--
extra : rebase_source : 2dff33fcff6960d1d5b7d8dfaf35023b9c44d16e
2017-12-05 13:11:01 -05:00
Bryce Van Dyk be0ce1cbb2 Bug 1432869 - Add loopback gtest to cubeb's update.sh. r=achronop
MozReview-Commit-ID: 1SQKMD80CG7

--HG--
extra : rebase_source : 5eb747607b1587676ff0e2fc8082655ae5648934
2017-12-05 13:08:20 -05:00
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
Randell Jesup c359f64e82 Bug 1429219: Ensure VP8 simulcast with temporal layers won't fail if there aren't enough bits r=drno 2018-01-10 20:41:09 -05:00
Randell Jesup aa370f7694 Bug 1426449: set the correct number of temporal layers for screencasts r=drno 2018-01-10 20:41:03 -05:00
Michael Froman 69d270acdf Bug 1427009 - limit accepted mid length to 16 chars. r=bwc
webrtc.org only supports one-byte rtp header extensions which means
we can only support 16 character mids for now.

MozReview-Commit-ID: C7aTeB5Bi2M

--HG--
extra : rebase_source : e25518d02fb056f82d298f000e37cfe059099a38
2018-01-08 16:23:06 -06:00
Andreas Pehrson 3ab8b1b7d2 Bug 1428098 - Do not reconfigure manually when input resolution changes. r=dminor
webrtc.org now handles this.

MozReview-Commit-ID: 8loJR1L0h1m

--HG--
extra : rebase_source : adc9ced1b2d64a04ef19e951a40a85c88856a280
2018-01-03 10:28:17 +01:00
Dorel Luca a19f5582cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-11 00:05:23 +02:00
Dan Minor 58945425b9 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 : 2f45ef1473c2bbf2882fe867e8b535998b8dc9ef
2017-12-19 09:21:03 -05:00
Dan Minor 582a3b1cc8 Bug 1393119 - Add generated files; r=jesup
MozReview-Commit-ID: 379Yq1cIQyD

--HG--
extra : rebase_source : a684d4020bb94c9b4e2bf2a0b8f89b1392eb6c8f
2017-12-01 12:44:51 -05:00
Dan Minor 8711c98b6f Bug 1406936 - Add unittests for re-configuring VideoConduit; r=pehrsons
This adds new tests that are a subset of the existing tests for configuration.
Another option would be to use parameterized tests to get coverage of all existing
tests during reconfiguration, but I don't think the additional complexity is
justified at this point.

MozReview-Commit-ID: F28KRYaVe1B

--HG--
extra : rebase_source : fdcb1316387504240424f1041d43df5d98331380
2017-11-28 14:50:05 -05:00
Dan Minor 2a03027769 Bug 1406936 - Copy state when reusing SendStream in ConfigureSendMediaCodecs; r=pehrsons
This is necessary for changes to encoding constraints and simulcast encodings to
be picked up.

MozReview-Commit-ID: JpVN0ST70Cn

--HG--
extra : rebase_source : ea61544b98e7e231527cf6f13d78862d3567b4b7
2017-11-28 14:51:53 -05:00
Dan Minor 3761af22af Bug 1406936 - Reset FEC payloads in ConfigureRecvMediaCodecs; r=mjf
MozReview-Commit-ID: CAyDUry0Ekr

--HG--
extra : rebase_source : 12284b7751b7c4e5ae5d6fa2de6857eefe8cdf13
2017-11-30 10:59:54 -05:00
Dan Minor 311a54355d Bug 1406936 - Clean up unused variables; r=pehrsons
MozReview-Commit-ID: DZtmnViblGS

--HG--
extra : rebase_source : f85697a1f7fb6d3e549b3f6663ad101b8fc020e0
2017-11-30 13:13:26 -05:00
Alfredo.Yang 7a29b0590c Bug 1426773 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: 8GzXp7Oq9Wx

--HG--
extra : rebase_source : 251cdf64d067a11fb288b73ab822cfe9bbe4115b
2018-01-08 10:08:04 +08:00
Alfredo.Yang 3cf0d3b491 Bug 1423469 - update mp4 rust parser. r=kinetik
MozReview-Commit-ID: IMnqoNL2jay

--HG--
extra : rebase_source : 14bd23405f9dfdcbb8bae5a850439918aacec5e3
2018-01-05 11:11:06 +08:00
David Major 28ad88d8c4 Bug 1321651 - revert clang-cl changes from bug 1298418 that are no longer needed. r=froydnj 2018-01-05 14:16:08 -05:00
Randell Jesup f007b19e6f Bug 1426123: add assertion and comments that SelectSendResolution() can never result in divide-by-zero r=jib 2018-01-04 14:11:00 -05:00
Alex Chronopoulos 6da3011397 Bug 1427702 - Update cubeb from upstream to bda37c2. r=kamidphish
MozReview-Commit-ID: H106jbl4sok
2018-01-03 12:06:11 +02:00
Mike Hommey aaf69c3c9b Bug 1427150 - Update cubeb from upstream to 43e15fc. r=kamidphish
--HG--
extra : rebase_source : 2c1338aa1f138e66ef1925fba760cdfcc7a2480a
2017-12-28 08:41:23 +09:00
Coroiu Cristina 9fdfc0197b Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-24 11:59:08 +02:00
Ryan VanderMeulen c20bfd39b5 Bug 1425996 - Add in a few more instances of Unused that got missed in the first patch. r=gerald 2017-12-23 16:40:13 -05:00
Masatoshi Kimura a1d349bfab Bug 1426898 - Stop including Char16.h everywhere. r=Waldo
We had to force-include Char16.h to simulate char16_t on older MSVC versions.
But it is no longer the case. We should not rebuild the world whenever we
touch this file.

MozReview-Commit-ID: 1XY7tQD8LoK

--HG--
extra : rebase_source : a08ccfc9b6a4abf90f6f8b97a42079865724c9ec
2017-12-23 00:53:12 +09:00
Masatoshi Kimura 89dad26c61 Bug 1426898 - Fix a bug of a local patch for libyuv. r=jesup
>+#if !defined(_MSC_VER) && (_MSC_VER < 1600)
is wrong. It should have been:
>+#if !(defined(_MSC_VER) && (_MSC_VER < 1600))
But I reverted this local change completely because we do not support such
older MSVC versions anyway.

MozReview-Commit-ID: 3VhtViP7WpX

--HG--
extra : rebase_source : f18f57d8505e5847452263847d561b5cdef255b7
2017-12-23 00:56:11 +09:00
Jean-Yves Avenard 212565b86e Bug 1426486 - P2. Make mTrackId a base member. r=bwc
Also remove unused code.
mTrackId / mTrackIdexternal were protected/private members and only ever written.

MozReview-Commit-ID: C3wMhxSCA2H

--HG--
extra : rebase_source : 18845e480e8e2d741ef1172b212373888a9c1fe8
2017-12-21 17:57:24 +01:00
Jean-Yves Avenard 2bd009f7e0 Bug 1426486 - P1. Make GetInputStream()->AsSourceStream() invariant. r=pehrsons
It can never be nullptr, strongly assert that this is the case and remove unecessary tests.

MozReview-Commit-ID: 7fi6jNnFUH8

--HG--
extra : rebase_source : 632ad1738c2984dd803c25dc44aa81c896292b64
2017-12-20 21:33:26 +01:00
Alex Chronopoulos 2fee2a59fa Bug 1426719 - Update cubeb from upstream to e1e8337. r=jesup
MozReview-Commit-ID: E0eHOl3zA0a

--HG--
extra : rebase_source : 679f4125e1966382ea20fc8095a5b29370c22f19
2017-12-21 21:25:40 +02:00
Dan Minor f122364420 Bug 1426678 - Ensure SendTrack is not null before trying to dispatch DTMF event; r=bwc
MozReview-Commit-ID: CZbvPlIceXB

--HG--
extra : rebase_source : a77a1b804d1705d474f145f36b475c02d0e1c49d
2017-12-21 11:41:41 -05:00
Csoregi Natalia 12c47a01be Merge inbound to mozilla-central r=merge a=merge 2017-12-21 12:01:59 +02:00
JW Wang 79b5f2dd2e Bug 1425996 - fix build error: unused variable 'rv'. r=gerald
MozReview-Commit-ID: 7MhsSWbxB3z

--HG--
extra : rebase_source : 81207a1e5b663314295f2f95afd4b726ffe8f12d
2017-12-21 12:12:42 +08:00
Jean-Yves Avenard c3f319f1c7 Bug 1426171 - Only use the graph's rate if supported by the AudioConduit. r=pehrsons
Otherwise we will use 48kHz as default, the MSG will resample as needed.
It would be possible to allow all frequencies in the AudioConduit as the webrtc backend supports them all, however it would require more changes and likely heap allocation that we're trying to limit in this part of the code.

MozReview-Commit-ID: B3x5t1FSaQ8

--HG--
extra : rebase_source : 77f83a876ed9b5ded45419245655709aee2573df
2017-12-20 14:16:04 +01:00
Heiher dc4dbdb876 Bug 1426323 - Media: WebRTC: Fix build config for MIPS64. r=jesup
---
 media/webrtc/trunk/build/build_config.h | 4 ++++
 1 file changed, 4 insertions(+)
2017-12-21 09:00:39 +08:00
Margareta Eliza Balazs 060948a574 Merge inbound to mozilla-central r=merge a=merge 2017-12-20 11:47:11 +02:00
Matthew Gregan 3d317e6af8 Bug 1405877 - Update media/audioipc with fd passing changes (2565ddfcacbc14e1ac0d66af1a4154c07050bba2). r=kamidphish 2017-12-20 14:51:11 +13:00
Nils Ohlmeier [:drno] ae5815d5e1 Bug 1426059: removed transportlayerprsock code. r=bwc
MozReview-Commit-ID: IWcpxq1Z2V9

--HG--
extra : rebase_source : 5f4461cf80bd19c7f9eb22bc5026cfb0f1c51ce1
2017-12-18 20:30:05 -08:00
Byron Campen [:bwc] a6bb393781 Bug 1425901: Use nsITimerCallback for DTMF timers. r=drno
MozReview-Commit-ID: 2IlDknNhlAG

--HG--
extra : rebase_source : 3c51e468c2285b5714372108c6ef5f41f8ba00d5
2017-12-18 12:36:23 -06:00
Byron Campen [:bwc] 2d7be6de42 Bug 1425873 - Part 2: Sync send stream ids even when there is no send track. r+drno r=drno
MozReview-Commit-ID: 7s3f1Q8sCI1

--HG--
extra : rebase_source : a3c0446e31cff547b8277c8811de2e5e0967de93
2017-12-18 11:52:01 -06:00
Michael Froman e49fa718b2 Bug 1414169 - pt 6 - Add all raw candidates table (local and remote). r=ng
Also remove the unmatched candidates in the candidate pair table since
they are now included in the "all raw candidates" table.

MozReview-Commit-ID: 4ZvhWfmjGJh

--HG--
extra : rebase_source : bf999db83cd49dd454434d2b157023da41b0dbcd
2017-11-29 14:16:12 -06:00
Michael Froman 2383b3776a Bug 1414169 - pt 4 - Trickled ICE candidates are highlighted with a light blue background. r=ng
MozReview-Commit-ID: JEMmf9LjvYd

--HG--
extra : rebase_source : 666559431e08e6671d1590d43bbaa15fe7178c58
2017-11-22 14:28:02 -06:00
Michael Froman 1b1c4f9ab7 Bug 1414169 - pt 1 - add trickle field to nr_ice_candidate. r=drno
Adding trickle field that will allow us to flag trickled candidates
on about:webrtc.
Also added label field to NrIceCandidate to facilitate showing the
raw candidate info on about:webrtc.

MozReview-Commit-ID: HuP3IxYOOBJ

--HG--
extra : rebase_source : 975cb5b29b2aef233f856bfbdc8c325535d24272
2017-11-20 16:52:21 -06:00
Byron Campen [:bwc] 3361602026 Bug 1425956 - Part 3: Remove duplicate track ids on incoming SDP. r=drno
MozReview-Commit-ID: Ldac3oB5ocz

--HG--
extra : rebase_source : 9066ff2aae30aee610ad6807ad566bfaedd0ea51
extra : source : f1dcabc223896a5280041480596f6c9ba8d78a99
2017-12-18 17:52:44 -06:00
Byron Campen [:bwc] 95c68733b2 Bug 1425956 - Part 2: Don't emit duplicate track ids in SDP. r=drno
MozReview-Commit-ID: 9POpM1ZXsYY

--HG--
extra : rebase_source : eca9bc7c75482d67751254edc1e9d2428859361f
extra : source : a695cd1176edf5054c8574c40b25404cb6424b3c
2017-12-18 17:37:57 -06:00
Alex Chronopoulos 331eac4d0a Bug 1423770 - r=padenot 2017-12-18 15:20:06 +01:00
Paul Adenot 1ca7466136 Bug 1425596 - Stop busy looping in mFakeAudioDevice. r=jya
This is a workaround for the fact that our code is wrong.

FakeAudioDeviceModule :::TimeUntilNextProcess() returns 0, so we're busy
looping.

I'm switching that to 100, which is arbitrary, but makes the problem go away. I
want to fix that soon, because this is a terrible workaround.

FakeAudioDeviceModule is _not_ made to be used in production.

MozReview-Commit-ID: FoGs6GFsRRN

--HG--
extra : rebase_source : d62f7c2d5b98c4814c06be13aca49bd478d5b381
2017-12-15 17:05:42 -06:00
Jean-Yves Avenard 6258e4b122 Bug 1425631 - Reduce global threads count. r=jya
MozReview-Commit-ID: JWPH6DRg1k7

--HG--
extra : rebase_source : 5a05a3de3123db26ac2facb0e6ffdf6f9a0815f0
2017-12-15 21:45:35 +01:00