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

5762 Коммитов

Автор SHA1 Сообщение Дата
Dan Glastonbury f02d2cb4e5 Bug 1410702 - P2: Handle EINTR from recvmsg/sendmsg calls. r=kinetik
MozReview-Commit-ID: juVD61XSzL

--HG--
extra : rebase_source : feb6c51c3259dd2cd64188ab27f83579efc7d1b0
2017-10-25 14:57:26 +10:00
Dan Glastonbury 4f66ebac06 Bug 1410702 - P1: Handle errors in send_recv! r=kinetik
Connection handling code wasn't handling errors from receive()
properly. Attempting to unwrap on an Err was causing a panic.

MozReview-Commit-ID: GURe3FHPbjT

--HG--
extra : rebase_source : 664bf389020feb4a12f43422351c20ab7e804e30
2017-10-25 14:53:03 +10:00
Chris Manchester c86173526a Bug 1403346 - Replace all uses of ALLOW_COMPILER_WARNINGS with a template, remove ALLOW_COMPILER_WARNINGS. r=glandium
MozReview-Commit-ID: 1G2o4fy74cf
2017-10-25 15:12:09 -07:00
Alfredo.Yang ccda6970dd Bug 1410565 - add gtest for mTimescale checking. r=kinetik
MozReview-Commit-ID: JHpbUKIyOkN

--HG--
extra : rebase_source : 34768a30256b2f1e39478049a5009b28beb1d9e5
2017-10-24 16:05:46 +08:00
Alfredo.Yang 5ad617cb8a Bug 1410565 - check mTimescale to avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 7uxgaVAbQds

--HG--
extra : rebase_source : c3976d03877cdd8d1e03ee22ca29f54a9800eb67
2017-10-24 14:44:19 +08:00
Dan Glastonbury 0ac4f5bd34 Bug 1410107 - Grow audioipc server slabs as required. r=kinetik
MozReview-Commit-ID: zFfex3LX7K

--HG--
extra : rebase_source : 2ebbb826c210e05a259bf3376853d1886759dfc1
2017-10-25 09:14:45 +10:00
Tom Ritter 64fa57a006 Bug 1406542 Enable PTHREAD for vpx and aom under MinGW because we do in fact have them. r=rillian
We were getting warnings that HAVE_PTHREAD_H was being redeclared with the wrong value.
Let's correct that.

MozReview-Commit-ID: KVAsYofozIT

--HG--
rename : media/libvpx/config/win/ia32/vp8_rtcd.h => media/libvpx/config/win/mingw32/vp8_rtcd.h
rename : media/libvpx/config/win/ia32/vp9_rtcd.h => media/libvpx/config/win/mingw32/vp9_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_config.asm => media/libvpx/config/win/mingw32/vpx_config.asm
rename : media/libvpx/config/win/ia32/vpx_config.c => media/libvpx/config/win/mingw32/vpx_config.c
rename : media/libvpx/config/win/ia32/vpx_config.h => media/libvpx/config/win/mingw32/vpx_config.h
rename : media/libvpx/config/win/ia32/vpx_dsp_rtcd.h => media/libvpx/config/win/mingw32/vpx_dsp_rtcd.h
rename : media/libvpx/config/win/ia32/vpx_scale_rtcd.h => media/libvpx/config/win/mingw32/vpx_scale_rtcd.h
extra : rebase_source : beb8b369df337ce2a6fcd860bb9437537376e4c5
2017-10-24 16:57:51 -05:00
Ralph Giles cbe716f52a Bug 1411073 - av1: Clean up duplicate filenames check. r=kinetik,mshal
Check for filenames which differ only by .asm vs .c filename
extensions when importing a new version of the libaom reference
implementation of the av1 video codec.

These confuse our build system as well. Also remove the obsolete
vp8 and vp9 search directories, which generate warnings from 'find'.

MozReview-Commit-ID: DRZL7GUrsYh

--HG--
extra : rebase_source : 4bc8708dd3b2e386c19bd6b952ca2587a2284a19
2017-10-17 10:21:58 -07:00
Andrew Gaul 7ee6e2a506 Bug 1382049 - Make inner classes static when possible. r=nalexander, r=sebastian
This avoids an implicit this field and can help GC. Found via error-prone.

--HG--
extra : rebase_source : 6d91bfcb98a05c94c13fc41fd0b5b14f1404ddcf
2017-07-18 16:51:30 -07:00
Alex Chronopoulos 0ae243650c Bug 1411866 - Update cubeb from upstream to cf5ddc5. r=padenot,kinetik
MozReview-Commit-ID: IPgIZ6oBVfg
2017-10-26 10:41:49 +03:00
Dan Minor 93e787c563 Bug 1414632 - Prevent division by zero in webrtc::Merge::SignalScaling; r=jesup
A zero input_length here would be caused by a decoder error in
NetEqImpl::Decode(). Looking at the code in GetAudioInternal() which calls
Decode() it appears that the intention is to continue processing even if no new
audio data is decoded. Based on this, it seems safest to just skip muting in
SignalScaling if the input_length is zero.

The other potential cause of a division by zero here is if fs_mult_ is zero which
should not normally happen. But there's no harm in checking for that as well.


MozReview-Commit-ID: J0pd2wbjeZl

--HG--
extra : rebase_source : 5206abd1f85986d395a7eead148cb06d1d050842
2017-11-08 12:39:53 -05:00
Nika Layzell c223b9ff2d Bug 1414974 - Part 6: Change WebIDL bindings to refer to nsGlobalWindowInner rather than nsGlobalWindow, r=bz
MozReview-Commit-ID: KbCpDFoWyTe
2017-11-09 10:44:49 -05:00
Nika Layzell 3409141758 Bug 1414974 - Part 2: Switch many consumers to nsGlobalWindow{Inner,Outer}, r=smaug
This is a large patch which tries to switch many of the external consumers of
nsGlobalWindow to instead use the new Inner or Outer variants.

MozReview-Commit-ID: 99648Lm46T5
2017-11-09 10:44:47 -05:00
Randell Jesup 97cdc0cf7f Bug 1408523 - Use SyncRunnable instead of Dispatch(...NS_DISPATCH_SYNC) when running on non-nsThreads. r=jib
--HG--
extra : rebase_source : 3b80f942f75e7c36b8f753d09d095793fc440cb8
2017-10-24 00:16:29 -04:00
Sylvestre Ledru d60d69e2cb Bug 1411001 - Remove the +x permissions on cpp & h files r=froydnj
MozReview-Commit-ID: DjDkL20wRg0

--HG--
extra : rebase_source : a343d83d1f4e97e4ba56d0f57fec93079df0b5ea
2017-10-23 20:59:55 +02:00
bechen@mozilla.com c09e4a8ee9 Bug 1183495 - part3: Remove mozSrcObject usage. r=jwwang
MozReview-Commit-ID: Gtpne3O0pBQ

--HG--
extra : rebase_source : 87544aa023e5ac079a8ae02de77e2aeab91e97cf
2017-10-20 11:23:41 +08:00
Dan Minor 20baeb4811 Bug 1404039 - Add a unittest for VideoConduit getting a signal to reduce quality due to load or bandwidth; r=pehrsons
MozReview-Commit-ID: 5J3wINSnStR

--HG--
extra : rebase_source : 0c9518c0501ca579ed9d948bde63159c21d9657c
2017-10-18 15:19:21 -04:00
Jean-Yves Avenard 858f178676 Bug 1410090 - Remove remnant of FFOS OMX code. r=cpearce
For webrtc, the most important part of the code had already been removed in bug 1355048 and could no longer be called

MozReview-Commit-ID: Fx9XI0zR1gn

--HG--
extra : rebase_source : 360996760abab650684440fbeea258b43dccfd83
2017-10-19 16:51:04 +02:00
Nils Ohlmeier [:drno] 75da806f11 Bug 1408218: ignore EUI 64 and Teredo addresses if not needed. r=bwc
MozReview-Commit-ID: 5QHi9iC2e7y

--HG--
extra : rebase_source : 0f4f4afa3edd4153418661d8ef6f3efa12bf6223
2017-10-13 08:32:16 -07:00
James Cheng f0a43c284e Bug 1409670 - Skip decrypting request when receiving an unencrypted sample in Clearkey implementation. r=cpearce
MozReview-Commit-ID: 5XIUeFc3PSD

--HG--
extra : rebase_source : a36e27b385f1622bc7125e8d7e8c1b1b6e930842
2017-10-19 16:45:21 +08:00
Sebastian Hengst 24583b9443 merge mozilla-central to autoland. r=merge a=merge 2017-10-20 01:08:09 +02:00
Dan Minor 5168e78250 Bug 1402334 - Fix static analysis warning in CSFLog.cpp; r=drno
MozReview-Commit-ID: 2m1nKxCsxwg

--HG--
extra : rebase_source : 88b50248bf4b065af5bd893c660bf27ab40dc6dd
2017-10-16 09:03:04 -04:00
Dan Minor 0fd69c4f78 Bug 1408582 - Fix unused variable warning in CSFLog.cpp on Android; r=drno
MozReview-Commit-ID: 2PZyw40eMaF

--HG--
extra : rebase_source : 96f6460593afcfa5bc16ba9cfdb9244965ec6210
extra : amend_source : f18bd495180bbd2d3031fa226433e8f2f29e4a6e
2017-10-16 12:44:26 -04:00
Matthew Gregan 0d6e66757d Bug 1407487 - P5: Support connections from within chrome process in audioipc. r=kamidphish
MozReview-Commit-ID: 9SdUWlJ02DR
2017-10-19 18:02:59 +13:00
Matthew Gregan cb483fa8cf Bug 1407487 - P4: Disable backtrace in error-log to work around bug 1409276. r=kamidphish
MozReview-Commit-ID: KHGTVi6QePx
2017-10-19 18:02:57 +13:00
Ryan VanderMeulen cb612851ed Merge inbound to m-c. a=merge 2017-10-18 21:01:34 -04:00
Nils Ohlmeier [:drno] 8fd8af4c1b Bug 1408371: report AEC log dir through getter. r=ng,smaug
MozReview-Commit-ID: 1Tb8nwYzMFt

--HG--
extra : rebase_source : e44b90749667961771d573da3b9e6d65b3bf554c
2017-10-13 17:57:15 -07:00
Byron Campen [:bwc] 4fda13fafa Bug 1406154: Ensure that we avoid truncating the interface description strings in a couple of corner cases. r+drno
MozReview-Commit-ID: KMTpbkvA4N

--HG--
extra : rebase_source : 377b9ae8c2664d186a496ef04a6e42b00d56883f
2017-10-12 12:12:40 -05:00
Dan Horák a098eb0deb Bug 1408504 - Implement WriteSamples in tests for big endian platforms; r=dminor
Webrtc code supports big endian platforms, but a method in tests lacks a big endian
variant. Add it based on WavReader/WavWriter code.

MozReview-Commit-ID: A4OTnYlGgvU

--HG--
extra : rebase_source : f331c799cea89e6090fd02269d3ee8728cbeca45
2017-10-17 10:27:12 +00:00
Makoto Kato 58ad07f1ee Bug 1402334 - Fix bustage for 10.11 SDK. r=jesup
MozReview-Commit-ID: 3dnZmFEhNBQ

--HG--
extra : histedit_source : 260168a1d04ede514a12bb33ab1ed571ab25e56e
2017-10-18 10:15:45 +09:00
Sebastian Hengst 34714cebde merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 2KL1o3EPUk
2017-10-17 23:52:28 +02:00
Dan Minor 1d0e9fe0b4 Bug 1404250 - Ensure that target bitrate is between minimum and maximum bitrates in VideoConduit; r=pehrsons
MozReview-Commit-ID: Am19abfrETx

--HG--
extra : rebase_source : 7906e80ab0a07cc5ffb7940a4f362b709a4bacbc
2017-10-10 10:43:09 -04:00
Alfredo.Yang a9ea7d485f Bug 1409298 - print log when parse failed. r=kinetik
MozReview-Commit-ID: D02HVh6liJS

--HG--
extra : rebase_source : 5ef37ad35a79050db61e4ada42e40ae634fe8940
2017-10-17 16:51:58 +08:00
Sebastian Hengst 0fde5cb6b5 merge mozilla-central to autoland. r=merge a=merge 2017-10-17 11:46:52 +02:00
Sebastian Hengst 32f7c8fec3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 1h3kZyrtqSt
2017-10-17 11:45:16 +02:00
Matthew Gregan bc2c40ef4d Bug 1407490 - Update media/audioipc to c466287. r=kamidphish
MozReview-Commit-ID: 8V6k3m2f3lI

--HG--
extra : rebase_source : 9e986d5c4a5b509162ef03ec86b2a95a9cd4ff0c
2017-10-16 15:37:10 +13:00
Alfredo.Yang 2c5201069c Bug 1387798 - remove uncessary check for remaining data and add error log when parsing fails. r=kinetik
MozReview-Commit-ID: Bo6q3ysvktr

--HG--
extra : rebase_source : 2c6f4e2b9475c2c8a8d718f1cb2ef59cde518b71
2017-10-13 14:40:05 +08:00
Alfredo.Yang 136532474c Bug 1387798 - use Result as return value in BufferReader. r=kinetik
MozReview-Commit-ID: uLny8ebSic

--HG--
extra : rebase_source : 964a677865f82f1fa745ffa0530ebe5fb5ebb76b
2017-10-13 09:44:48 +08:00
Alfredo.Yang e707fdfbf4 Bug 1387798 - move initialized codes out of box constructor to another function which could be able to return error. r=kinetik
MozReview-Commit-ID: 5LJVCTYIT7o

--HG--
extra : rebase_source : a87d825abb76b5c9410eee1b996f3559ca7153d7
2017-10-13 10:13:28 +08:00
Alfredo.Yang 9bc0b0adbc Bug 1387798 - rename to BufferReader. r=kinetik
MozReview-Commit-ID: E1zhXdLEPFS

--HG--
extra : rebase_source : d2ef3260a6545c2d8c271126d7917df9443473fd
2017-10-11 15:55:15 +08:00
Alfredo.Yang 1eb3494e1d Bug 1387798 - copy ByteReader. r=kinetik
MozReview-Commit-ID: 6L0A3sEbLKY

--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/ByteReader.h => media/libstagefright/binding/include/mp4_demuxer/BufferReader.h
extra : rebase_source : 4605dadad2be963306277f5c6563c12c62427615
2017-10-11 15:51:35 +08:00
Kris Maglione 9184710ae5 Bug 1404198: Part 2g - Switch to NS_NewTimer* in media. r=njn
MozReview-Commit-ID: 3ydSj5HfYzZ

--HG--
extra : rebase_source : 6d38da71d3c82b900b46e69c12ceb81202dd965d
2017-10-15 23:14:33 -07:00
Michael Froman dd94c4ef01 Bug 1408487 - handle parent process returning 0 STUN addrs. r=drno
1) don't call StartGathering in e10s mode if parent process failed to provide STUN addrs.
2) set ICE connection state to failed if parent process returns 0 STUN addrs

MozReview-Commit-ID: COPr3TavdvM

--HG--
extra : rebase_source : 6e20424cf51fa28311f7f9f6968c2a59333b6729
2017-10-18 14:06:02 -05:00
Michael Froman 90e4564993 Bug 1405940 - Fix Null Pointer dereference in sigslot::lock_block r=bwc
Caused by several issues:
1) We were allowing an answer with modified ufrag/pass to
   begin an ICE restart even if the offer didn't indicate
   it was restarting.
2) This should no longer happen, but in cases where restart logic
   was started inappropriately, TransportLayerIce::SetParameters
   could get a null stream, and we check for that now.

MozReview-Commit-ID: JFQ1zz3l5wY

--HG--
extra : rebase_source : a6d43aabada86669850ddce07ea86da8118a6bec
2017-10-12 22:38:01 -05:00
Sebastian Hengst ffcd2ce160 merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : ef359be373a97cad5a91f0150a46add4c3d8ab7c
2017-10-18 15:54:23 +02:00
Chris Pearce 3a511d931d Bug 1409546 - Use literal strings instead of assigning const char* to TrackInfo::mMimeType in mp4 demuxer. r=gerald
This works around an issue in xpcom strings that causes us to report leaking
a string for some unknown reason, so that we can unblock gecko-media which
wants to run the MP4Demuxer seek test.

We should follow up and try to figure out the root cause at a later time.

MozReview-Commit-ID: C6UlOTAIh1l

--HG--
extra : rebase_source : e9b3bceb28ada6ab0e0c3de5588c07228d722d0e
2017-10-18 08:12:51 +02:00
Dan Minor b66f2f1f6f Bug 1402334 - Build mediapipeline using unified build; r=drno
This replaces MOZ_MTLOG with CSFLog, which is already set up to handle having
a shared LazyLogModule used from difference source files.

MozReview-Commit-ID: KNUKL92aWcw

--HG--
extra : rebase_source : 6a52dfc3c69a98318b26067aa608e5d484c8b8e2
2017-10-02 14:29:20 -04:00
Dan Minor 588a074b49 Bug 1402334 - Add log level test to CSFLog; r=drno
MozReview-Commit-ID: 3EKeDLAmEs0

--HG--
extra : rebase_source : 71a26aa97d20b280b7453e08a389a5b8d10bdcde
2017-10-02 14:33:23 -04:00
Dan Minor 69e58e48d9 Bug 1402334 - Build media-conduit and peerconnection using unified build; r=jesup
This removes the duplicate definition of logTag and fixes a preprocessor related
unified build error.

MozReview-Commit-ID: LP5frg0QZul

--HG--
extra : rebase_source : b3a6d4dbd40545e34b72623e9c976750d7f1d0ca
2017-10-02 11:05:29 -04:00
Byron Campen [:bwc] f651e3ada4 Bug 1404535: Add telemetry that times nr_ice_gather. r+drno r=chutten,drno,liuche
MozReview-Commit-ID: I4nH8sZNX5g

--HG--
extra : rebase_source : 9a7cc3673f68fefb9ed19a58ab896b0d60648b17
2017-09-29 17:49:32 -05:00
Nils Ohlmeier [:drno] 660bb85308 Bug 1407492: remove aec log dir user pref. r=mjf
MozReview-Commit-ID: 5oNuOrSHY2y

--HG--
extra : rebase_source : 4fdf9a7cd4e88dde6b7ac583007ae90fed7fb0fe
2017-10-10 19:43:37 -07:00
Ryan VanderMeulen 0dcd727f08 Merge m-c to autoland. a=merge 2017-10-11 17:55:13 -04:00
Tom Ritter 701ee70a22 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : fe434db73a8da686391462c12b91648348abcdc9
2017-10-09 15:01:48 -05:00
Jeff Walden be56429c85 Bug 1402344 - Update mfbt-double-conversion to the latest upstream rev. r=froydnj
--HG--
rename : mfbt/double-conversion/source/LICENSE => mfbt/double-conversion/double-conversion/LICENSE
rename : mfbt/double-conversion/source/README.md => mfbt/double-conversion/double-conversion/README.md
rename : mfbt/double-conversion/source/bignum-dtoa.cc => mfbt/double-conversion/double-conversion/bignum-dtoa.cc
rename : mfbt/double-conversion/source/bignum-dtoa.h => mfbt/double-conversion/double-conversion/bignum-dtoa.h
rename : mfbt/double-conversion/source/bignum.cc => mfbt/double-conversion/double-conversion/bignum.cc
rename : mfbt/double-conversion/source/bignum.h => mfbt/double-conversion/double-conversion/bignum.h
rename : mfbt/double-conversion/source/cached-powers.cc => mfbt/double-conversion/double-conversion/cached-powers.cc
rename : mfbt/double-conversion/source/cached-powers.h => mfbt/double-conversion/double-conversion/cached-powers.h
rename : mfbt/double-conversion/source/diy-fp.cc => mfbt/double-conversion/double-conversion/diy-fp.cc
rename : mfbt/double-conversion/source/diy-fp.h => mfbt/double-conversion/double-conversion/diy-fp.h
rename : mfbt/double-conversion/source/double-conversion.cc => mfbt/double-conversion/double-conversion/double-conversion.cc
rename : mfbt/double-conversion/source/double-conversion.h => mfbt/double-conversion/double-conversion/double-conversion.h
rename : mfbt/double-conversion/source/fast-dtoa.cc => mfbt/double-conversion/double-conversion/fast-dtoa.cc
rename : mfbt/double-conversion/source/fast-dtoa.h => mfbt/double-conversion/double-conversion/fast-dtoa.h
rename : mfbt/double-conversion/source/fixed-dtoa.cc => mfbt/double-conversion/double-conversion/fixed-dtoa.cc
rename : mfbt/double-conversion/source/fixed-dtoa.h => mfbt/double-conversion/double-conversion/fixed-dtoa.h
rename : mfbt/double-conversion/source/ieee.h => mfbt/double-conversion/double-conversion/ieee.h
rename : mfbt/double-conversion/source/strtod.cc => mfbt/double-conversion/double-conversion/strtod.cc
rename : mfbt/double-conversion/source/strtod.h => mfbt/double-conversion/double-conversion/strtod.h
rename : mfbt/double-conversion/source/utils.h => mfbt/double-conversion/double-conversion/utils.h
extra : rebase_source : 2d03850dcd1db749f0debecffec2e870acd1b958
2017-10-09 22:15:37 -07:00
Philippe Normand 52c9629669 Bug 1407063 - Fix non-unified build in SampleTable.h. r=gerald
nsTArray was previously used without prior declaration. Including the nsTArray.h
header fixes this issue.

MozReview-Commit-ID: 5FmrbjSmZUD

--HG--
extra : rebase_source : d87fd737d3a15067d7106b4fe4ae1f937d799e10
2017-10-05 15:58:16 +02:00
Philippe Normand 6aa2e63f95 Bug 1407063 - Fix non-unified build in MPEG4Extractor.cpp. r=gerald
Calls to fallible need to be prefixed by the mozilla namespace because
it's not declared as globally usable.

MozReview-Commit-ID: CJoAoTjXGUH

--HG--
extra : rebase_source : 81618f26b4f2b16b11998673a6cad67d4bca49d4
2017-10-05 15:57:12 +02:00
Philippe Normand 40d1887a1d Bug 1407063 - Fix non-unified build in ESDS.cpp. r=gerald
Fallible is used in this compilation unit so the corresponding header
needs to be included. The <new> header is also required for new placement
calls.

MozReview-Commit-ID: 2eZ8U1wDYs8

--HG--
extra : rebase_source : 53f17d2ef7f8826ac344a2dc2bb278b7b83cbee5
2017-10-05 15:55:43 +02:00
Philippe Normand b93692bf71 Bug 1407063 - Fix non-unified build in SinfParser.cpp. r=gerald
The Stream class is used in this compilation unit so the Stream.h header needs
to be included.

MozReview-Commit-ID: 54X1UKuydUy

--HG--
extra : rebase_source : 96585c678b163fd7506b60ba3c2390d6f8b51d33
2017-10-05 15:54:08 +02:00
Philippe Normand 71f0559306 Bug 1407063 - Fix non-unified build in DecoderData.cpp. r=gerald
EndianUtils.h include was missing and some function calls required
explicit mention to the mozilla namespace.

MozReview-Commit-ID: CFsr7RJ7IGx

--HG--
extra : rebase_source : 01cde66752d6a71938cd1fe9d5f009158ceb7868
2017-10-05 15:53:07 +02:00
Philippe Normand de1fe404f9 Bug 1407063 - Fix non-unified build in MoofParser.cpp. r=gerald
The stagefright namespace isn't used in this file and because it
wasn't previously declared in this compilation unit, a compiler error was raised.

MozReview-Commit-ID: HoYyrmIIXSV

--HG--
extra : rebase_source : 57ac59c06cdc4f54676c86a109ae404072541555
2017-10-05 15:51:32 +02:00
James Cheng 38c77e80cb Bug 1406080 - Part2 - Reject creating with unsupported cdm version in clearkey cdm and cdm-fake. r=cpearce
MozReview-Commit-ID: JvSsqZekRQ6

--HG--
extra : rebase_source : e80713dbf52aad29a32ff71a083c19479094b9a6
2017-10-07 00:06:06 +08:00
Sebastian Hengst ee63f2e30a Backed out changeset 0317bcff40bc (bug 1406687) for build bustage at testing/gtest/gtest/src/gtest.cc:3871: 'Unused' was not declared in this scope. r=backout 2017-10-09 18:52:39 +02:00
Tom Ritter 22d2cdf063 Bug 1406687 Pass return values from fwrite to Unused to silence the warn-unused-result warning r=njn
MozReview-Commit-ID: 4v6tPF5aMz7

--HG--
extra : rebase_source : c54b129c6815096035e262322f40aa0884b1ae56
2017-10-09 00:26:16 -05:00
Michael Froman 2bb753aa78 Bug 1406434 - fixing ice restart and rollback counts on about:webrtc. r=ng
This is re-adding changes from Bug 1321628 that were overwritten by the
webrtc.org v49 import.

MozReview-Commit-ID: GI4OdFANJ8N

--HG--
extra : rebase_source : ec7af8f7d9c35831b3b58a92ae30bc1da6f43f23
2017-10-06 11:26:22 -05:00
Chris Pearce 47c2e3ae92 Bug 1405697 - Move BaseMediaResource declaration to its own file. r=jwwang
This means we can simplify MediaResource.h to only include the abstract
interface, and MediaResourceIndex.

I also had to add a few includes here and there to fix the non-unified build.


MozReview-Commit-ID: 4R7LTXq25dm

--HG--
rename : dom/media/MediaResource.h => dom/media/BaseMediaResource.h
extra : rebase_source : edef4a65df4dcb92f8536052d170d78f95315753
2017-10-04 20:57:11 +02:00
Sebastian Hengst 7b3f84a66d Backed out changeset 4eb36d1710ca (bug 1402334) for bustage at media/webrtc/signaling/src/media-conduit/AudioConduit.cpp:609: 'logTag' was not declared in this scope. r=backout on a CLOSED TREE 2017-10-04 19:13:56 +02:00
Sebastian Hengst 41b7635dd5 Backed out changeset de7bd38908da (bug 1402334) 2017-10-04 19:12:24 +02:00
Sebastian Hengst f50ee09496 Backed out changeset 978b0400ac3b (bug 1402334) 2017-10-04 19:12:19 +02:00
Dan Minor 85e0a8d5b0 Bug 1402334 - Build mediapipeline using unified build; r=drno
This replaces MOZ_MTLOG with CSFLog, which is already set up to handle having
a shared LazyLogModule used from difference source files.

MozReview-Commit-ID: KNUKL92aWcw

--HG--
extra : rebase_source : 6d9eb3421c364f941c4cdf6d40217d2b853faacb
2017-10-02 14:29:20 -04:00
Dan Minor 5e6e96008c Bug 1402334 - Add log level test to CSFLog; r=drno
MozReview-Commit-ID: 3EKeDLAmEs0

--HG--
extra : rebase_source : 3cd2251011988f7cd5fc9101af9ec9a8e55696c9
2017-10-02 14:33:23 -04:00
Dan Minor 8bfcd583ee Bug 1402334 - Build media-conduit and peerconnection using unified build; r=jesup
This removes the duplicate definition of logTag and fixes a preprocessor related
unified build error.

MozReview-Commit-ID: LP5frg0QZul

--HG--
extra : rebase_source : 64f2d77816c8d3681a7cf795317e8bdcb73c6713
2017-10-02 11:05:29 -04:00
Byron Campen [:bwc] 0c94395051 Bug 1377299: Add packet dump hooks r+drno r=drno,smaug
MozReview-Commit-ID: Jr7n49OOduG

--HG--
extra : rebase_source : 8880b8b6bf842f996f99e86fc45510e59e70a665
2017-06-29 19:14:06 -05:00
Sebastian Hengst 7e81b9743d merge mozilla-central to autoland. r=merge a=merge 2017-10-04 11:15:12 +02:00
Arthur Edelstein 5b21d91dce Bug 1405139 - Fix ubsan runtime error for TrackInfo::TrackType. r=gerald
We're plan to enforce -fsanitize=enum, so no need to test outside
the enum range.
2017-10-03 10:17:00 -04:00
Wes Kocher f4358f1539 Merge inbound to central, a=merge
MozReview-Commit-ID: I1ge4dvWtTB
2017-10-03 14:37:35 -07:00
Glenn Randers-Pehrson 16b91208a6 Bug 1402057 - Update in-tree libpng to version 1.6.34. r=jrmuizel 2017-09-30 16:53:00 -04:00
Michael Froman 5ea6a54fa2 Bug 1402495 - changes to support MID in audio packets. r=drno
MozReview-Commit-ID: BivuIsgNLYI

--HG--
extra : rebase_source : a5b08a2dd4c8c19985bd85f77679e0300c15589f
2017-09-15 13:55:17 -05:00
Michael Froman 6e07c1bbf9 Bug 1361894 - ignore STUN/TURN servers with mis-matched link local addr. r=bwc
MozReview-Commit-ID: FMRWMHCROUf

--HG--
extra : rebase_source : 98d3100010c50a21bd48c474aac140e8e1636271
2017-09-29 09:20:07 -05:00
Michael Froman cd290b865f Bug 1402495 - changes to support MID in video packets. r=drno
MozReview-Commit-ID: E7RoFZBb5C8

--HG--
extra : rebase_source : 863b94fe968f55f86c19b13073b831326e5387bb
2017-08-18 09:53:34 -05:00
Michael Froman 6581f716eb Bug 1402495 - Use constants for the RtpExtension URIs. r=drno
MozReview-Commit-ID: EldtSM9Ygtl

--HG--
extra : rebase_source : 56191da92de7dce56bef3ce3e1beb36a23aff6a2
2017-09-01 16:53:46 -05:00
Paul Adenot 6298126ac4 Bug 1405258 - Update libcubeb to 40cd4ad0 to fix warnings as errors bustage.
MozReview-Commit-ID: 53knVqcswLX

--HG--
extra : rebase_source : 7379c68360a6004da1afcea920195e5dbca4f9c0
2017-10-03 13:40:00 +02:00
Paul Adenot 37bfa43273 Bug 1405258 - Update libcubeb to revision ba2a89611875cd9f2dabae99a362461b03c0dd3d
MozReview-Commit-ID: PngLiVneAh

--HG--
extra : rebase_source : 9f604112fad6cafb0883e3248823f78106ec5e19
2017-10-03 12:18:07 +02:00
Dan Minor 5244e5c40e Bug 1401540 - Allow empty BUNDLE groups; r=bwc
MozReview-Commit-ID: 9IIwUnaMZ1m

--HG--
extra : rebase_source : 87729e9303fe1220f53db2f203efc99d628e020a
2017-09-27 12:49:19 -04:00
Wes Kocher eb9a2ed0f2 Merge inbound to central, a=merge
MozReview-Commit-ID: IqwKWn7ceHC
2017-09-29 14:47:25 -07:00
Dan Minor 5af93e95a8 Bug 1402818 - Set hwnd_ to NULL in PlatformUIThread::Stop(); r=pehrsons
We only create an event window in Start() if hwnd_ is NULL, but Stop() does
not set it to NULL. This causes the thread to no longer be a GUI thread if
Stop() and then Start() is called on the same thread leading to assertion
failures.

MozReview-Commit-ID: 5TpazUCqBuR

--HG--
extra : rebase_source : 461066e576af87b27c82075a15d6b5772282b54c
2017-09-28 16:32:31 -04:00
Alfredo.Yang 0e22fafb90 Bug 1404182 - add testcase for bug 1380468. r=kinetik
MozReview-Commit-ID: Kg9QeszWnNT

--HG--
extra : rebase_source : 110e38299efadd892ffdc0146f83117981b74f54
2017-09-29 10:55:29 +08:00
Andreas Pehrson 516c8198a1 Bug 1403714 - Only regard max_fs when set explicitly. r=dminor
MozReview-Commit-ID: DczP0bq96AW

--HG--
extra : rebase_source : c5ef2418b8e3fd0b236aee07e0628de1d596fed9
2017-09-28 18:34:36 +02:00
Munro Mengjue Chiang 4658732fb4 Bug 1382433 - use fixed fps instead of floating fps to avoid very low fps. r=jib
MozReview-Commit-ID: 2QUWJM2LNkK

--HG--
extra : rebase_source : 5e323539c0d600979726d552938c9f06ed5cf5e2
2017-09-27 18:50:54 +08:00
Andreas Pehrson d918302551 Bug 1319446 - DirectMediaStreamListener, you are dead to me. r=padenot
MozReview-Commit-ID: KwztE5ogSj9

--HG--
extra : rebase_source : e8e6bb3548c5697c5db901c0310ea5067a30c895
2017-09-27 12:01:46 +02:00
Alfredo.Yang 99296b3786 Bug 1388991 - add test case for subtraction underfolw in SampleToChunkIterator. r=kinetik
MozReview-Commit-ID: 8IV0RkDL8r7

--HG--
extra : rebase_source : 196d0af229c3f5181c286999f60c63da5a7ca408
2017-09-28 10:51:18 +08:00
Alfredo.Yang 6b8eff34c3 Bug 1388991 - check subtraction underflow. r=kinetik
MozReview-Commit-ID: DYsqlXyjZs

--HG--
extra : rebase_source : 557265db7fb42fea0b8b9f212c32f854e96a95c7
2017-09-28 10:19:33 +08:00
Alfredo.Yang b0d7f38b36 Bug 1395244 - add gtest for index out of bounds in rust mp4 parser. r=kinetik
MozReview-Commit-ID: HeFwZgOpMdK

--HG--
extra : rebase_source : 69a011964b7e58ac22adc31ffa99051776a67fe8
2017-09-05 15:13:02 +08:00
Dan Minor 6dfaaea25b Bug 1403204 - Code that configures telephone-event should not assume that it is always last in the codec array; r=bwc
Instead, iterate over the values.

MozReview-Commit-ID: KtPmA9fnyIU

--HG--
extra : rebase_source : d0e377be835425e13e76b99b9bab66934cfe29b6
2017-09-26 15:29:22 -04:00
Alfredo.Yang 588fc5b9e0 Bug 1389527 - add testcase for invalid sample table. r=kinetik
MozReview-Commit-ID: 5e4oQPLtcuZ

--HG--
extra : rebase_source : 1a3364037f5fe49e732983d95758a2b670667452
2017-09-25 11:16:29 +08:00
Matthew Gregan 6e690e73d3 Bug 1403048 - Update media/audioipc to b5559d28. r=kamidphish
--HG--
extra : rebase_source : aeb3f0b9a45729fa21248983d34ce956e98a9b79
2017-09-26 15:49:26 +13:00
Dan Glastonbury e0b3ce467e Bug 1399978 - Update cubeb-pulse-rs to git commit 2e22e53. r=kinetik
MozReview-Commit-ID: INksO0nbT1F

--HG--
extra : rebase_source : ea7936f95c44972478878cb54b1e2a83c4fbc4fe
2017-09-25 15:23:30 +10:00
Alfredo.Yang 155d999aa3 Bug 1401071 - move fallible memory allocation github instead of including source and other nits. r=kinetik
MozReview-Commit-ID: 40Yg8wUqZ2g

--HG--
extra : rebase_source : a2c192c06ae85be6e71172702b4bb73eb912fc7b
2017-09-25 09:14:00 +08:00
Dan Minor b73bb761aa Bug 1402348 - fix webrtc.org screen_capturer_unittest and window_capturer_unittest segfault on Linux; r=jesup
We weren't defining USE_X11 when building the tests resulting in inconsistent
versions of the headers depending upon where they were compiled.

MozReview-Commit-ID: 298yRvIjXgb

--HG--
extra : rebase_source : 7406d14db3b41b8b5f579cc572ccb283064dbe29
2017-09-22 14:33:49 -04:00
Dan Minor 099dc8de4f Bug 1382182 - Build signaling common using moz.build; r=ted,jesup
MozReview-Commit-ID: FSqL5enNAZC

--HG--
extra : rebase_source : 0430bc65e869a8215550ab67f03b81668c4ae473
2017-07-24 10:59:20 -04:00
Dan Minor 4643f4ab72 Bug 1382182 - Build peerconnection using moz.build; r=ted,jesup
MozReview-Commit-ID: IvG9Pf0PRfw

--HG--
extra : rebase_source : e5a17ddda32a0fb168f6fd84ae9c65c1cee7d020
2017-07-21 16:28:29 -04:00
Dan Minor 86aeffe744 Bug 1382182 - Build mediapipeline using moz.build; r=ted,jesup
MozReview-Commit-ID: 7yJMgrsCgzO

--HG--
extra : rebase_source : f2a076b9a944795ee18232043f082590134529fc
2017-07-21 15:20:08 -04:00
Dan Minor ae9b639bdd Bug 1382182 - Build media-conduit using moz.build; r=ted,jesup
MozReview-Commit-ID: I0mHRkY4owZ

--HG--
extra : rebase_source : 16e3844f0ccb6ae0a2a557e5b3abe4a777a48f0e
2017-07-21 12:07:07 -04:00
Dan Minor 21da3987a2 Bug 1382182 - Build sdp using moz.build; r=ted,jesup
MozReview-Commit-ID: fZRprTixrc

--HG--
extra : rebase_source : e3823847862d427f752ec581bb3f35e6809f2aec
2017-07-20 11:47:05 -04:00
Dan Minor 30d76b125c Bug 1382182 - Build jsep using moz.build; r=ted,jesup
MozReview-Commit-ID: 9UhlBZi0yO0

--HG--
extra : rebase_source : 7ad69af2dfb61ad88fc5f87f4d17a09abbf23edc
2017-07-20 11:24:08 -04:00
Sebastian Hengst c0dac760d3 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: It9WfByQfV3
2017-09-23 11:38:06 +02:00
Nils Ohlmeier [:drno] 093afd78ca Bug 1402221: add Telemetry probe to find out rtcp-mux usage. r=bwc,francois
MozReview-Commit-ID: 1XmPbpSmAb1

--HG--
extra : rebase_source : b3ad189b8eec13ce1b75873c36008d371b10797c
2017-09-22 00:09:52 -07:00
Wes Kocher 5d514ba8e9 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 2XyrMOdIWok
2017-09-20 17:39:08 -07:00
Wes Kocher a6b8d9e91b Merge inbound to central, a=merge
MozReview-Commit-ID: JpqY5uEi1nf
2017-09-20 17:18:21 -07:00
Dan Minor 55f5ef6e16 Bug 1373843 - Add -fsanitize-coverage to cflags in nicer.gyp; r=posidron
I missed doing this in the original patch because my mozconfig defined the
CFLAGS globally to include -fsanitize-coverage.

MozReview-Commit-ID: 4QdiIgdfAm2

--HG--
extra : rebase_source : bfd1ef5097b91c23913c0349a04154f18f60eef5
2017-09-20 17:05:07 -04:00
Dan Minor 6e7bc1c221 Bug 1373843: Change assertion about message length to error in stun_codec.c; r=drno
MozReview-Commit-ID: 1oUEQk9vg1L

--HG--
extra : rebase_source : 8ca178eb1e356b06b09582e85a0e91a93648b29c
2017-09-19 15:29:22 -04:00
Michael Froman cfcc1ed74d Bug 1396419 - adding null checks to avoid intermittent crash. r=drno
MozReview-Commit-ID: 3ywGT90q1NQ

--HG--
extra : rebase_source : d759c1e430da4c7c272d835219e69fb238e8205f
2017-09-18 21:36:33 -05:00
Nils Ohlmeier [:drno] a8d005b348 Bug 1373843: Add a libfuzzer test for the stun parser; r=decoder
MozReview-Commit-ID: BWUnBIMhT5C

--HG--
extra : rebase_source : 8d8c6de040601621f5f64c8a7cf5a99486ae9879
2017-06-16 16:01:19 -07:00
Jean-Yves Avenard 53ef359a19 Bug 1389304 - Don't include samples that won't be demuxed in range calculation. r=kikuo
Invalid samples with empty content won't ever be demuxed. As such they can't participate in buffered range calculations.

MozReview-Commit-ID: 9LPhyKKMSyM

--HG--
extra : rebase_source : 229f19f08eba6e59b5585699805df9df9fd482b9
2017-09-19 09:11:26 +02:00
Munro Mengjue Chiang 979c34dc04 Bug 1389534 - Enable continuous auto focus mode. r=jib
MozReview-Commit-ID: DrTkb9CxjlA

--HG--
extra : rebase_source : c65aabcf0939a20814690a4c3349846fde0be00a
2017-09-07 18:25:45 +08:00
Alex Chronopoulos af3b468649 Bug 1400671 - Update cubeb from upstream to ac532ad. r=kinetik
MozReview-Commit-ID: Ek4onH23hPc
2017-09-18 01:56:08 +03:00
Nico Grunbaum a531d080c3 Bug 1393095 - remote audio receiver stats missing;r=dminor,jesup
MozReview-Commit-ID: 9izPPOqybcK

--HG--
extra : rebase_source : 31578d7198929267e423a1c0c4b13cd49f110629
2017-09-13 01:38:35 -07:00
Gregory Szorc 3d5f58d635 Bug 1399878 - Fix case of LOCAL_INCLUDES; r=me
This fixes a typo introduced in 305e742634e5 and that broke
moz.build processing for MacOS.
2017-09-15 14:18:32 -07:00
Ted Mielczarek 0677fcfacf bug 1399878 - Use LOCAL_INCLUDES instead of CFLAGS in some media moz.build files. r=gps
MozReview-Commit-ID: 3PUOniPnt54

--HG--
extra : rebase_source : 01accd7951a4af7018265e91040aa7005b061902
2017-09-14 06:39:27 -04:00
Dan Minor 48f0f26faf Bug 1398820 - Do not add duplicate rtp extensions; r=bwc
MozReview-Commit-ID: G6wLXW7z05d

--HG--
extra : rebase_source : e90ca378082a899a2cb7961121b6822e2ba2a72c
2017-09-14 15:55:33 -04:00
Alex Chronopoulos fce9feacea Bug 1399905 - Update cubeb from upstream to 09a90a7. r=padenot
MozReview-Commit-ID: JoZj8q2nQPb
2017-09-14 18:35:15 +03:00
Ryan VanderMeulen 277d6a438f Merge m-c to inbound. a=merge 2017-09-14 10:52:18 -04:00
Dan Minor c9a33a6e73 Bug 1393687 - Fix handling of max-fr parameter; r=jesup
MozReview-Commit-ID: C30K1Pogm5u

--HG--
extra : rebase_source : e53ed34aed0c59b1495581562901b4e7cc78e3b0
2017-09-07 16:05:52 -04:00
Alfredo.Yang 71448a61d9 Bug 1389470 - fix for zero size memory leak. r=kinetik
MozReview-Commit-ID: F1hBnukiwKN

--HG--
extra : rebase_source : 1a2c4b32d7990d0483a4a78b29a8cd0c3079c68a
2017-09-14 10:29:43 +08:00
Alfredo.Yang 43be656b03 Bug 1389470 - use fallible memory allocation to avoid OOM. r=kinetik
MozReview-Commit-ID: BvqIe685Rfs

--HG--
extra : rebase_source : b030ba607474a285c8fb50e9198f126c36a011f9
2017-09-13 14:59:45 +08:00
Dan Minor ceaff80d1d Bug 1393687 - Use VideoAdapter to handle max-fs; r=jesup
This uses the VideoAdapter to handle the max-fs constraint rather than
attempting to calculate and enforce it manually within the VideoConduit.
The resolution is taken as the small of the max-fs constraint and the
latest request from the video sink.

The old unit tests for max-fs and max-fr are removed as the size
calculation has now been delegated to the VideoAdapter and the tests do
not verify whether or not video has actually been scaled.

MozReview-Commit-ID: 18khmiNageR

--HG--
extra : rebase_source : 9d4c80ab5d426721c5c409d81130f2a586c862ad
2017-09-11 13:43:32 -04:00
Sebastian Hengst e4a2f44531 merge autoland to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 9SALJlvWgoZ
2017-09-13 13:32:44 +02:00
Nils Ohlmeier [:drno] 4ba00c2a5a Bug 1396974: make tests ensure no bundle-only is present in inactive m-swctions. r=bwc
MozReview-Commit-ID: 5pnTygvwTSy

--HG--
extra : rebase_source : 4856491656e8503412a42cafbb8f9af2814a00f3
2017-09-08 13:05:13 -07:00
Nils Ohlmeier [:drno] 7b33b594d5 Bug 1396974: stop bundeling inactive m-sections. r=bwc
MozReview-Commit-ID: AXBtipHlW0Y

--HG--
extra : rebase_source : c1cf7cd11896a757472b47ccf8810cfca7c413d1
2017-09-08 12:26:19 -07:00
Dan Glastonbury 660a0a0bf8 Bug 1399009 - Update cubeb-pulse-rs to a386d91... r=kinetik
MozReview-Commit-ID: BnJpMCuDPOf

--HG--
extra : rebase_source : 37c652b29cc4732153ab5b8a45c0b02837026282
2017-09-12 15:31:18 +10:00
Randell Jesup 62c5b9fbfe Bug 1396107: switch to using the same audio input method upstream webrtc.org does r=dminor,padenot 2017-09-12 10:14:41 -04:00
Chris Manchester fab07bc443 Bug 1386876 - Replace all uses of NO_VISIBILITY_FLAGS with a template and remove NO_VISIBILITY_FLAGS. r=glandium
MozReview-Commit-ID: 194U1WMCAM0

--HG--
extra : rebase_source : 365b68b0a1772d238ae9b84966e53dcd1197fd85
2017-05-01 18:12:35 -07:00
Chris Manchester c0a229d4c3 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP

--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
James Cheng 7d08d66397 Bug 1398072 - Fix an obvious leak in Cleakey CDM. r=cpearce
MozReview-Commit-ID: Ee9Me0MKpPU

--HG--
extra : rebase_source : 7a779780865ff00eb6154b3b601eed04541b7ac8
2017-09-08 17:34:48 +08:00
Tom Ritter 66e04df56d Bug 1395418 Revert a previous patch that disabled std::thread on MinGW because we didn't have it. Now we do. r=cpearce
MozReview-Commit-ID: 8ah0Unum1f2

--HG--
extra : rebase_source : 7054f778c0b8a2e4a831e379086243433cd219b8
2017-08-30 20:31:01 -05:00
Sebastian Hengst 8eb249afcc merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: JSRVc5yW6Kx
2017-09-07 12:39:12 +02:00
Wes Kocher a14d71906d Merge m-c to inbound, a=merge
MozReview-Commit-ID: BJ4WkYrJ9g6
2017-09-06 17:24:48 -07:00
Henri Sivonen 1961f9269f Bug 860727 clean-up - Remove mbslen.c/h from the tree. r=bwc
MozReview-Commit-ID: 2sRjpNYX5eA

--HG--
extra : rebase_source : 23b0bf6a5ce470daa7ec5ee951d0cccf43402426
2017-09-06 10:24:54 +03:00
Henri Sivonen 2aa5a465d3 Bug 860727 - Implement UTF-8 code unit counting without setlocale(). r=bwc
Counting the code points in a UTF-8 string is simple enough that that it is
not worthwhile to use the locale-dependent parts of the C standard library
for the task.

MozReview-Commit-ID: 6Tzd5NHub3B

--HG--
extra : rebase_source : d452896317d354ee85c817533cba3116adf5277e
2017-09-05 09:12:02 +03:00
Nils Ohlmeier [:drno] b81119f1e6 Bug 1264479: don't crash on disappearing data channels. r=bwc
MozReview-Commit-ID: 3DmM7teByR8

--HG--
extra : rebase_source : 238054d17ff624eb203f8352493cd2ce99e11402
2017-08-31 14:30:50 -07:00
Jean-Yves Avenard 64a4b87c4c Bug 1394591 - P6. Simplify some internal codec mimetype. r=gerald
The codec mimetype is now shown in the media devtools. May as well make it readable.

MozReview-Commit-ID: 6rccDiTR24m

--HG--
extra : rebase_source : 7b8d1da8f05d0c46d5fd57b5e604ec3aed36a5f2
2017-09-01 23:04:39 +02:00
Sebastian Hengst e9bfcd79f9 Backed out changeset de401d17868d (bug 1394591) 2017-09-04 00:06:51 +02:00
Jean-Yves Avenard 9b2818843f Bug 1394591 - P6. Simplify some internal codec mimetype. r=gerald
The codec mimetype is now shown in the media devtools. May as well make it readable.

MozReview-Commit-ID: 6rccDiTR24m

--HG--
extra : rebase_source : 7b8d1da8f05d0c46d5fd57b5e604ec3aed36a5f2
2017-09-01 23:04:39 +02:00
Nico Grunbaum f9027b2f13 Bug 1381627 - EverySecondTelemetryCallback target r=billm,jib
MozReview-Commit-ID: 2noZLkM4ZjO

--HG--
extra : rebase_source : a5e022b083f7341c26e71314578ea9f0e9023818
2017-08-17 17:39:39 -07:00
Wes Kocher 8b84853ed6 Merge m-c to autoland, a=merge
MozReview-Commit-ID: GcHZLNPPNnI
2017-09-01 16:34:14 -07:00
Dan Minor ed140d9eeb Bug 1395289 - Convert from points to pixels when invalidating rect for screensharing when building on OS X older than 10.8; r=jesup
When we build for versions of OS X below 10.8 it is still necessary to
convert from points to pixels when invalidating rectangles as we use the
CGRegisterScreenRefreshCallback and CGRegisterMoveCallback interfaces.

--HG--
extra : rebase_source : cc3a405c1faaf010922b9acbe0edc21da15bb9ac
2017-08-31 13:29:34 -04:00
Paul Adenot 133d277e4d Bug 1395393 - Fix bustage on a CLOSED TREE.
MozReview-Commit-ID: BI4fIMikA0J
2017-09-01 18:09:48 +02:00
Paul Adenot 54e3972626 Bug 1395393 - Update libcubeb to 2e5814de. r=achronop
MozReview-Commit-ID: JWDv93mjAAE

--HG--
extra : rebase_source : 170547b55d8b04838523a255502c58991da8ffdb
extra : amend_source : c7f5e99b69e27c40e5fa6ed9054a57dbdf1c2f1c
2017-09-01 17:39:06 +02:00
Mike Hommey a03ea28fe8 Bug 1395769 - Don't define MOZ_JEMALLOC_IMPL when building webrtc-gtest. r=froydnj
This define is only meant to be set when building mozjemalloc itself.

--HG--
extra : rebase_source : 5660b691855c3b0be55375ad8d9525ea2288bb69
2017-08-31 16:16:23 +09:00
Tom Ritter 568bd0f7fc Bug 1349912 Do not use win32 local includes for libstagefright on MinGW build r=froydnj
This duplicates all the win32 includes except pthread.h into a new directory
for MinGW. MinGW needs all the same dummy includes _except_ it needs its
own pthread.h for winpthreads.

MozReview-Commit-ID: AlIvHhFoSIS

--HG--
extra : rebase_source : aba50e79b0be3bc7306bd32b4010076a8ca1184b
2017-08-30 20:39:51 -05:00
Nils Ohlmeier [:drno] dfbfc1ccea Bug 1384801 - Improve the sdp base64 parser. r=bwc
MozReview-Commit-ID: 30e64v5vxo8
2017-09-01 15:58:01 -07:00
Ralph Giles 2b58558fef Bug 1396158 - Remove pocketsphinx. r=kdavis,chmanchester
This was used for speech recognition in b2g builds. It is no longer
enabled by default and the associated interaface code no longer
compiles.

The dom interface code remains, pref'd off. This simply removes
the third-party backend implementation we have in-tree.

MozReview-Commit-ID: Fzwp6Cs9ePE
2017-09-06 08:37:01 -07:00
Nathan Froyd 8bc151b3cf Bug 1396864 - eliminate -Wunused-private-field warning in WebrcMediaCodecVideoCodec; r=jesup
The mTimestamp field is unused.
2017-09-06 08:57:09 -04:00
Dan Minor 28d9a3c000 Bug 1395566 - Enable more webrtc.org desktop capture tests; r=jesup
This adds the remaining desktop_capture unit tests with a few exceptions:
app_capturer_unittest does not compile and is not built by webrtc.org,
and desktop_capturer_differ_wrapper_unittest, rgba_color_unittest,
screen_drawer_unittest and test_utils_unittest rely upon code that we do
not build.

--HG--
extra : rebase_source : 6bdac36a46723ade37d6c2ba4a9384ff7205a6e1
2017-09-01 09:44:29 -04:00
Dan Minor f1506a2ce3 Bug 1395849 - Fix G.722 audio codec; r=jesup
Even though we were building the G.722 codec, we weren't setting the
defines so that it would actually be used.

MozReview-Commit-ID: Dw8l2sYwZFA

--HG--
extra : rebase_source : 10cbd61cb483536be32d7b40f1e64222c3259089
2017-09-01 14:48:36 -04:00
Alfredo.Yang e7cf058cbb Bug 1377278 - accept 'matroska' as webm doctype. r=kinetik
MozReview-Commit-ID: 3SCOrecahPB

--HG--
extra : rebase_source : c94cbc48f0d850f9df19fe4c85066ca594164853
2017-08-29 15:33:26 +08:00
Alfredo.Yang f683a17096 Bug 1388618 - update mp4 rust parser to fix invalid PSSH box. r=kinetik
MozReview-Commit-ID: FnbgeNiKdR1

--HG--
extra : rebase_source : 0e8a253fee61ca2f96b75066ed5d904716796e36
2017-08-29 10:18:16 +08:00
Tom Ritter 384ce069f0 Bug 1378529 Use the MinGW libaom configuration for MinGW builds on Linux r=rillian
MozReview-Commit-ID: 3Wn4wqH4OzQ

--HG--
extra : rebase_source : d6707934d39ddfb7539629430fc59e6c47263373
2017-08-17 16:42:15 -05:00
Tom Ritter c756f0c92e Bug 1393795 Lowercase includes so WebRTC compiles with MinGW r=jesup
This edits the third party SCTP library, but upstream has already applied this change to master

MozReview-Commit-ID: ERpMc8EvYZ7

--HG--
extra : rebase_source : cea0d3758275b73a395ad2738edd8eb57c833e1a
2017-08-25 14:04:36 -05:00
Ralph Giles 1b86417339 Bug 1380118 - aom: Record the upstream repo we vendored from. r=froydnj
We've been recording the commit id from the last vendor in
README_MOZILLA inside the various media directories. Since
we now support a --repo switch to pull from forks, record
this info as well, to make it easier to find contiguous
upstream source.

MozReview-Commit-ID: 1RanpkWfAeC

--HG--
extra : rebase_source : b6bd16b56626a871802822385be6f3a24db6cd50
2017-08-14 14:33:55 -07:00
Ralph Giles 6414257e7f Bug 1380118 - Export aom_config.h. r=kinetik
Recent changes made this a public header, so it needs to be
available to callers like AOMDecoder.

MozReview-Commit-ID: KKXcv8bdVYj

--HG--
extra : rebase_source : 87d509a40f3b305e414067af5ed433eef8489fbc
2017-07-11 11:53:10 -07:00
Ralph Giles 0b52422ebc Bug 1380118 - Update aom library. r=kinetik
Vendor upstream commit id f5bdeac22930ff4c6b219be49c843db35970b918
to pick up changes since the last import.

--HG--
extra : rebase_source : 6c03c7fcbffbdcf07b2b2819aee6dade2f0e2a0f
2017-07-10 15:33:39 -07:00
Ralph Giles c220a88dd3 Bug 1380118 - aom: remove unused option. r=froydnj,kinetik
As far as I can tell, nothing uses the DISABLE_AVX define
when generating the rtcd headers.

MozReview-Commit-ID: Cc5tufOKP63

--HG--
extra : rebase_source : 6e74569759844e2682e3d16c59bfdefc095f8531
2017-08-04 13:05:47 -07:00
Ralph Giles 8d6c3b9a16 Bug 1380118 - aom: Filter out CONFIG_EXT_PARTITION_TYPES. r=froydnj,kinetik
aom_dsp_rtcd_defs.pl checks only whether this key is present
in the config, not whether it is set to true or not. Our script
sets CONFIG_FOO=no for disabled options, while the upstream
build system omits them, resulting in extra symbol declarations
the build will never define.

Work around this by stripping the offending disabled config key
if it is disabled.

MozReview-Commit-ID: IyVDO2G3s3L

--HG--
extra : rebase_source : a1bb8b285f798464b8d8026c0dd4cd85595ae93d
2017-08-11 14:20:11 -07:00
Ralph Giles a8ba932bc2 Bug 1380118: Make aom_config.asm match upstream. r=froydnj,tjr
Upstream is using a different syntax, which isn't as nice,
but using the same format makes comparison easier.

Also expect yasm for mingw.

MozReview-Commit-ID: 8PvmyB45AOu

--HG--
extra : rebase_source : a330006adc2093c17ab54fd5f6c1bd88ffe41084
2017-08-04 14:29:55 -07:00
Ralph Giles 1720a6f293 Bug 1380118 - aom: add x86-win32-gcc config. r=froydnj,tjr
This resolves some issues with building on mingw.

Thanks to Tom Ritter for help developing this patch.

MozReview-Commit-ID: BmJ5TbQAq17

--HG--
extra : rebase_source : 98791b8aab139601f3df4c457a42590a31eeeaea
2017-07-10 22:32:10 -07:00
Dan Glastonbury f65b7278f8 Bug 1391523 - P4: Adjust audioipc to refer to in-tree cubeb-rs. r=kamidphish
MozReview-Commit-ID: KN7FLoVsJW5

--HG--
extra : rebase_source : 16a0da033b1dca841bd83843d5a6adfb1189d58e
2017-08-09 17:35:26 +10:00
Dan Glastonbury 637eae2354 Bug 1391523 - P3: Import audioipc crates. r=kamidphish
MozReview-Commit-ID: Ci2xbenAd8i

--HG--
extra : rebase_source : 01325390ea1b8fdd133bf00380f05862d59f8a42
2017-08-10 10:28:26 +10:00
Dan Glastonbury 31051ddd38 Bug 1391523 - P2: Remove cubeb build steps. r=kamidphish
MozReview-Commit-ID: Dt9eV5ONGlI

--HG--
extra : rebase_source : 410548310b3d13193619c72f11b13b5378b283e8
2017-08-09 17:34:41 +10:00
Dan Glastonbury e7f5a75469 Bug 1391523 - P1: Import of cubeb-rs. r=kamidphish
MozReview-Commit-ID: GoqaGftNNLT

--HG--
extra : rebase_source : 72a601e05f247244e0126ab1094088a7a6f8460f
2017-08-09 13:33:59 +10:00
Alfredo.Yang 9e93aca1e7 Bug 1389299 - use fallible nsTArray to avoid OOM. r=kinetik
MozReview-Commit-ID: 7qFJI1ihgAq

--HG--
extra : rebase_source : 74dd19fa3e8bdc3d3fa4782b3c16c447485ffcb8
2017-08-24 14:54:13 +08:00
Sebastian Hengst aeacc34883 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 6TGQRm8SSk0
2017-08-24 13:28:57 +02:00
Matthew Gregan bbc0805e28 Bug 1393284 - Update libnestegg to 369d153. r=rillian
From 94bad012a2d4ec824d751c574443e3946187c4ea Mon Sep 17 00:00:00 2001
2017-08-24 16:18:34 +12:00
Nils Ohlmeier [:drno] 44e91b37c9 Bug 1392813: removed unused sendrecv attributes. r=bwc
MozReview-Commit-ID: 4T3taLcYXtq

--HG--
extra : rebase_source : bce648963cfeb437d9c3f015b0fe33889628212a
2017-08-22 15:27:08 -07:00
Nils Ohlmeier [:drno] 776005a2ec Bug 1392745: verify mid presence in inactive m-section r=mjf
MozReview-Commit-ID: 7XISDzZCirr

--HG--
extra : rebase_source : a786be541a31edac05647fe2ee4d0c63c982d3d0
2017-08-22 14:22:52 -07:00
Nils Ohlmeier [:drno] 240ea1983a Bug 1392745: keep MID when disabling m-sections r=mjf
MozReview-Commit-ID: 3CDA7lF70kr

--HG--
extra : rebase_source : 6d1a663acfde0a48cbb8fa0c51899a886b24b41a
2017-08-22 12:05:22 -07:00
Alfredo.Yang 87af44d50b Bug 1387739 - update mp4 rust parser for slice boundary checking. r=kinetik
MozReview-Commit-ID: 6fSkadAZb4L

--HG--
extra : rebase_source : 7414577d2621f7a01c27c0dc560323793c5c80ba
2017-08-23 10:09:14 +08:00
Wes Kocher 655a23a70a Merge m-c to autoland, a=merge
MozReview-Commit-ID: CxIXNml1xZW
2017-08-22 17:24:16 -07:00
Wes Kocher 6dd42e2664 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Dan Minor b779bb7db1 Bug 1392583 - Remove calls to FATAL() from audio_device_template.h for unimplemented functions; r=padenot
This removes calls to FATAL() and replaces them with LOG() statements. The
unimplemented functions already returned error codes.

MozReview-Commit-ID: KgXVCIKWoLp

--HG--
extra : rebase_source : 993d3700e734fd6042fc5708261dc58d9987e64b
2017-08-22 09:58:03 -04:00
Jean-Yves Avenard f24da4cae1 Bug 1347518 - P1. Use SEI recovery point to mark keyframe. r=jesup
Some streams do not include any IDR frames. However, they do include SEI recovery point markers. We use those to mark keyframes.

MozReview-Commit-ID: IHfUx7fEgEJ

--HG--
extra : rebase_source : 807b83c2685d8eadd3066cb0cad916e24315e07f
2017-08-21 18:34:38 +02:00
Michael Froman 5d1597b31f Bug 1391857 - fixing ctx flags for e10s stun addr gathering. r=drno
In the case of e10s, the ctx flags for default route only (and less
importantly in this case, proxy only) were not set on the ice ctx
when SetStunAddrs was called in PeerConnectionMedia.

MozReview-Commit-ID: CldUpJfaaH3

--HG--
extra : rebase_source : 6223722275d4741519890d4d2b8436b05ca43155
2017-08-22 10:13:06 -05:00
Mike Hommey f7fa48a68d Bug 1392515 - Properly link webrtc-gtest on Linux. r=gps
The main difference between Linux and other platforms is that mozglue is
a static library and doesn't include the allocator, while it is a
dynamic library and includes the allocator on other platforms.

As such, linking against mozglue alone doesn't guarantee everything that
should be linked is linked, which GeckoProgram() does. But since
webrtc-gtest doesn't want to link libxul, we use linkage=None.

--HG--
extra : rebase_source : 552b123cb4ef6a861a49bc5eea0f03b9b5427e8b
2017-08-22 14:51:44 +09:00
John Lin ddd6436e6a Bug 1391556 - fix incorrect out of bound check. r=jwwang
MozReview-Commit-ID: JytNgl6bqCX

--HG--
extra : rebase_source : 53ef9acf40d5c882342488c6ef1abf6bddae0542
2017-08-22 10:06:41 +08:00
Dan Minor 0c9287d1b6 Bug 1388129 - Fix interaction between quality scaler and scaleResolutionDownBy; r=jesup
Currently we apply the scaleResolutionDownBy factor to the resolution
requested by the quality scaler. This can lead to a cycle where the quality
scaler requests a slightly larger resolution and we scale it down even
smaller than the current resolution.

This changes things so that we only apply scaleResolutionDownBy to the
incoming resolution and then take the minimum of the scaled resolution and
the resolution requested by the quality scaler.

--HG--
extra : rebase_source : 1d16ed60b575c48d43e2e1928c518bc197339cbc
2017-08-18 12:11:50 -04:00
Wes Kocher c043502159 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 7sFZmPUXSx6
2017-08-18 17:21:29 -07:00
Wes Kocher b1fc5e008c Merge inbound to central, a=merge
MozReview-Commit-ID: 4cWGBbMEU2x
2017-08-18 15:53:07 -07:00
Eric Rahm 50513900c7 Bug 1389598 - Part 2: Remove gonk references from media/ r=jesup
--HG--
extra : rebase_source : d1af2d0987038e1c0b0b0c971d0d2e4e9f08364a
2017-08-11 17:46:15 -07:00
Wes Kocher c1383cebf3 Merge m-c to autoland, a=merge
MozReview-Commit-ID: KLrOCT1a7El
2017-08-17 16:23:45 -07:00
Chris Pearce e95b5d48f4 Bug 1390748 - Remove usage of mozilla::Vector from mp4_demuxer::ByteReader. r=jwwang
It appears to be unused.

MozReview-Commit-ID: 7vVK4PRzaPt

--HG--
extra : rebase_source : 4659a73a3f86121689ae71a6e9d25335d63fcd74
2017-08-16 17:19:58 +12:00
James Cheng 10d6dbd3e6 Bug 1390453 - Don't call VerifyCdmHost_0 in non-official builds. r=cpearce
MozReview-Commit-ID: 3rzMDq0upBm
2017-08-17 14:41:54 -04:00
Michael Froman cb5753f469 Bug 1390318 - add MID support to webrtc.org. r=drno
MozReview-Commit-ID: EHgEuhw855n

--HG--
extra : rebase_source : 8d575753a628b18472c3acd13ca88f5aa63c16b1
2017-07-27 16:19:56 -05:00
Carsten "Tomcat" Book 37d90df3b9 Backed out changeset 2674b8eaba32 (bug 1390748)
--HG--
extra : rebase_source : a025f72ae7e4a88a2064dff46002502f17f9e256
2017-08-17 08:35:08 +02:00
Chris Pearce 5b494b1651 Bug 1390748 - Remove usage of mozilla::Vector from mp4_demuxer::ByteReader. r=jwwang
It appears to be unused.

MozReview-Commit-ID: 7vVK4PRzaPt

--HG--
extra : rebase_source : 49bdc1221c0d626c5664ba819bb919c09f4c6568
2017-08-16 17:19:58 +12:00
Phil Ringnalda 38ce1ea2a0 Backed out 10 changesets (bug 1390748) for build bustage
Backed out changeset 02b36ee5fb17 (bug 1390748)
Backed out changeset 84e8bf01c856 (bug 1390748)
Backed out changeset fc8989be30f3 (bug 1390748)
Backed out changeset 14d421ace6cc (bug 1390748)
Backed out changeset 7dadac869038 (bug 1390748)
Backed out changeset 0e77809e7bc2 (bug 1390748)
Backed out changeset bf78a8dce9c5 (bug 1390748)
Backed out changeset 5fa77990472e (bug 1390748)
Backed out changeset 5d3b637d2485 (bug 1390748)
Backed out changeset 634fe076d134 (bug 1390748)

MozReview-Commit-ID: Dxio8vXDCHg
2017-08-16 21:33:10 -07:00
Chris Pearce 4748ebca90 Bug 1390748 - Remove usage of mozilla::Vector from mp4_demuxer::ByteReader. r=jwwang
It appears to be unused.

MozReview-Commit-ID: 7vVK4PRzaPt

--HG--
extra : rebase_source : add4cbdc2355849679447b2e01661859b2ad25f5
2017-08-16 17:19:58 +12:00
Wes Kocher 7921644d1b Merge inbound to central, a=merge
MozReview-Commit-ID: 1DadhJTLBXN
2017-08-15 19:02:51 -07:00
Karl Tomlinson 64c0c31a2d bug 1390286 receive WrapRunnable*() parameters by reference r=jesup
This permits using these functions with non-param types such as AutoTArray.

MozReview-Commit-ID: 3J1bLjgwB9M

--HG--
extra : rebase_source : 897e64b6f1c8d1c8c939a18d2b0813b33bcd8083
2017-08-14 11:33:53 +12:00
Alfredo.Yang 40b0569eb5 Bug 1389470 - reduce table size on 32bit arch to avoid OOM. r=kinetik
MozReview-Commit-ID: C0O7Gnxbocy

--HG--
extra : rebase_source : 6137aae1f8f981f84ea49a5b98adaed50353ff99
2017-08-15 14:58:41 +08:00
Dan Minor 9f34033ad7 Bug 1387525 - Fix crash in webrtc::NetEqImpl::InsertPacketInternal; r=jesup
The webrtc.org code assumes we will always get a valid decoder for a known payload
type, but this is not true for our builds. This adds a check that we have a valid
decoder before calling IncomingPacket.

MozReview-Commit-ID: GUJR7Qn28vh

--HG--
extra : rebase_source : 6bd5872b59d964c3246708f0e6f549bb74dcc0b3
2017-08-15 08:25:43 -04:00
Wes Kocher a5fc391fdf Merge m-c to autoland a=merge
MozReview-Commit-ID: LsPv9Mdodvf
2017-08-11 13:39:17 -07:00
Wes Kocher 5a4357c768 Merge inbound to central, a=merge
MozReview-Commit-ID: GArkKmOFIVH
2017-08-11 13:15:33 -07:00
Michael Froman 830c799f81 Bug 1389256 - fix incomplete handling of RepairedRtpStreamId after webrtc.org backport of RtpStreamId. r=bwc
During my backport of RtpStreamId from webrtc.org, I missed a few
places where RepairedRtpStreamId was used or was not completely
implemented.  Also, the webrtc.org code used repairedStreamId,
which is not really correct per the spec (draft-ietf-avtext-rid)
so I fixed all occurances to use the correct repairedRtpStreamId
to avoid confusion later.

The RTP header extensions default IDs for RtpStreamId and
RepairedRtpStreamId were also adjusted to not collide with
PlayoutDelay's default ID.

MozReview-Commit-ID: HSlS8nsKQ29

--HG--
extra : rebase_source : f1bf7fc9ceec22de1c56ef3b7be22fccea01ecdb
2017-07-28 14:52:46 -05:00
Lennart Grahl c2ebc3e45e Bug 979417 - Implement EOR when receiving and explicit EOR when sending on data channels (including DCEP). r=drno,jesup
This allows sending and receiving arbitrarily (we limit to 1 GiB atm) sized
messages while not relying on the deprecated PPID fragmentation/reassembly
mode. The code already supports the ndata extension but it's not activated,
yet. Without the SCTP ndata extension, a large data channel message will
monopolise the SCTP association. While this is a problem, it is a temporary
solution until the extension is being activated. Keep in mind that every
application that uses data channels currently does fragmentation/reassembly on
application-level and it's unlikely that this will change until the popular
implementations (libwebrtc) implement EOR as well. Moreover, until the WebRTC
API specifies an API that hands over partial messages, doing application-level
fragmentation/reassembly is still useful for very large messages (sadly).

We fall back to PPID-based fragmentation/reassembly mode IFF a=max-message-size
is not set in the SDP and the negotiated amount of SCTP inbound streams is
exactly 256. Other implementations should avoid using this combination (to be
precise, other implementations should send a=max-message-size).

It also changes behaviour of RTCDataChannel.send which now raises TypeError in
case the message is too large for the other peer to receive. This is a
necessity to ensure that implementations that do not look at the EOR flag when
receiving are always able to receive our messages. Even if these
implementations do not set a=max-message-size, we use a safe default value (64
KiB, dictated by the spec) that every implementation should be able to receive,
with or without EOR support.

* Due to the use of explicit EOR, this required some major refactoring of all
  send-related and deferred sending functions (which is now a lot less
  complex). There's now only one place where `usrsctp_sendv` is being used.
* All data channel messages and DCEP messages will be sent without copying them
  first. Only in case this fails (e.g. usrsctp's buffer is full), the message
  will be copied and added to a buffer queue.
* Queued data channel messages will now be re-sent fairly (round-robin).
* Maximum message size and the PPID-based fragmentation are configurable using
  about:config (media.peerconnection.sctp.force_ppid_fragmentation and
  media.peerconnection.sctp.force_maximum_message_size).
* Enable interleaving of incoming messages for different streams (preparation
  for SCTP ndata, has no effect until it is enabled).
* Enable interleaving of outgoing messages (disabled if SCTP ndata has not been
  negotiated).
* Add pending messages flag to reduce performance impact from frequent calls to
  SendDeferredMessages.
* Handle partial delivery events (for cases where a partially delivered message
  is being aborted).
* Close a data channel/the connection in case the message is too large to be
  handled (this is only applied in cases where the remote peer ignores our
  announced local maximum message size).
* Various size_t to uint32_t conversions (message length) and back should be
  safe now.
* Remove aUsingDtls/mUsingDtls from DataChannelConnection.
* Set maximum message size in SDP and in the data channel stack.
* Replace implicit NS_ENSURE_*'s with explicit NS_WARN_IF's.
* Add SetMaxMessageSize method for late-applying those signalling parameters
  when a data channel has been created before the remote SDP was available.
* Limit remote maximum message size and add a GetMaxMessageSize method for a
  future implementation of RTCSctpTransport.maxMessageSize.

MozReview-Commit-ID: FlmZrpC5zVI

--HG--
extra : rebase_source : 54e1b838c788a3abbded4fb32fe7c2788f8a9bc0
2017-07-26 13:18:54 +02:00
Wes Kocher cff9e9b197 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2YvHbITn9w3
2017-08-10 18:25:34 -07:00
Sebastian Hengst 51d351f567 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-10 17:41:11 +02:00
Sylvestre Ledru 756cf62eca Bug 1372839 - SkipString; Exit early if sym is not found r=gerald
MozReview-Commit-ID: GnqPuW8FL5F

--HG--
extra : rebase_source : b3c44c8daecc5341957d5953a525af82afba705a
2017-08-10 09:34:34 +02:00
Sylvestre Ledru 9ce875d87a Bug 1387002 - Replace .size() by .empty() when applicable in gmp r=cpearce
MozReview-Commit-ID: HhYJ6BK4oOG

--HG--
extra : rebase_source : 8177ad33ebafafc27ba2f809743cfd2c223a10d7
2017-08-04 09:09:38 +02: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
Mike Hommey 66d4d80b03 Bug 1388681 - Disable -Wformat-security where -Wformat is disabled. r=bwc
--HG--
extra : rebase_source : b303f70c2900b8dff538083a6b406545170356c2
2017-08-09 18:45:16 +09:00
Matthew Gregan 2f8cc7804c Bug 1388236 - Remove B2G-only AudioChannel code from MSG. r=padenot 2017-08-10 13:00:08 +12:00
Matthew Gregan b359c3ce6d Bug 1388229 - Update libcubeb to revision d59010139. r=kamidphish 2017-08-10 13:00:07 +12:00
Chris Peterson 801d7c7d38 Bug 1388978 - Suppress some more clang warnings in media/ffvpx. r=rillian
Since I am already poking around in ffvpxcommon.mozbuild's CFLAGS, also suppress these clang -Wvisibility and -Wstring-conversion warnings:

media/ffvpx/libavutil/dummy_funcs.c:83:34 [-Wvisibility] declaration of 'struct AVBufferRef' will not be visible outside of this function
media/ffvpx/libavutil/dummy_funcs.c:83:67 [-Wvisibility] declaration of 'struct AVFrame' will not be visible outside of this function
media/ffvpx/libavutil/utils.c:119:26 [-Wstring-conversion] implicit conversion turns string literal into bool: 'char [19]' to '_Bool'

And remove -Wno-logical-op-parentheses because clang does not currently report any -Wlogical-op-parentheses warnings for ffvpx.

MozReview-Commit-ID: 1kEwEHeD1PC

--HG--
extra : rebase_source : 133fa139f5389467919b88b96b8cbbf632bf002d
2017-08-10 09:55:42 -07:00
Chris Peterson 8107e99d4c Bug 1388978 - Fix -Wunknown-warning-option warnings in media/ffvpx. r=rillian
clang doesn't support gcc warning options -Wdiscarded-qualifiers or -Wmaybe-uninitialized in media/ffvpxcommon.mozbuild (added in bug 1369791), so only suppress those warnings for real gcc.

warning: unknown warning option '-Wno-discarded-qualifiers'; did you mean '-Wno-ignored-qualifiers'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]

MozReview-Commit-ID: JUEqa6AN59x

--HG--
extra : rebase_source : 45e3c43d57e58119170700f7a339d1f2dfacff2c
extra : source : ee4a75aeb3585719700e1700746ce55984eba6fa
2017-07-29 11:05:34 -07:00
Paul Adenot 09ca1b1297 Bug 1384655 - Remove obsolete latency measuring macros in downstream code we don't use anymore. r=jesup
MozReview-Commit-ID: ARAWGe7yFM4

--HG--
extra : amend_source : b1b3f4f33c9c2b15465ac5670a3639b8527a16a3
2017-08-08 10:00:37 +02:00
Sylvestre Ledru 289b4ecd71 Bug 1387376 - Reserve memory before using push_back with vector r=jesup
MozReview-Commit-ID: CrSFN0Ov1B4

--HG--
extra : rebase_source : 9863893841abcc1c7ef35932160cdbddaa535e45
2017-08-04 21:28:50 +02:00
Makoto Kato d2130a3810 Bug 1386164 - Part 2. Use MOZ_SYSTEM_LIBEVENT for webrtc. r=jesup
GYP of WebRTC should reference MOZ_SYSTEM_LIBEVENT values if available.

MozReview-Commit-ID: CshsPrRidM8

--HG--
extra : rebase_source : 9e619c2f49e7c2b3f680814b95b823996773fa6c
2017-08-03 13:28:25 +09:00
Makoto Kato b2458fa168 Bug 1386164 - Part 1. Use libevent2 headers instead of deprecated event.h. r=jesup
libevent uses event.h header that is fuzzy name.  Since our in-tree libevent is libevent2, we should use libevent2 headers instead of deprecated event.h

MozReview-Commit-ID: 6DjW9JEkNWL

--HG--
extra : rebase_source : b774e177b137bf7427122253a3e4c698689e08a4
2017-08-03 13:22:26 +09:00
Matthew Gregan b680d61073 Bug 1386957 -Update libcubeb to revision 0e103884. r=achronop
MozReview-Commit-ID: HFkJ6TPLIfv

--HG--
extra : rebase_source : 19225466d283f999a99589f6afba1315dc1ec041
2017-08-03 18:46:49 +12:00
Masatoshi Kimura f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Jan Beich 5c4a94b509 Bug 1385115 - Unbreak build on Tier3 after bug 1382883. r=cpearce
MozReview-Commit-ID: ISTOw1qfxiy

--HG--
extra : rebase_source : 4444849c190f7128d67c53483866ac59c73b2eb9
2017-07-28 11:48:56 +00:00
Nicholas Nethercote 581214bd8b Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
--HG--
extra : rebase_source : fe566945a55c281d8290634a5b55bed19415c839
2017-07-31 10:52:51 +10:00
Alex Chronopoulos ad2bcf909e Bug 1385481 - Update cubeb from upstream to 42da8d2. r=kinetik
MozReview-Commit-ID: HOrC5Iwd92L
2017-07-29 02:45:33 +03:00
Glenn Randers-Pehrson 8e5226d344 Bug 1377118 - Update in-tree libpng to version 1.6.31. r=jrmuizel
--HG--
extra : rebase_source : 72613717bc7380d217f64ea6ae1191563bdedf4a
2017-07-27 11:42:00 -04:00
Sebastian Hengst d7527a414d Backed out changeset 07b534f44740 (bug 1384835) for failing xpcshell's security/manager/ssl/tests/unit/test_cert_sha1.js checkCertErrorGenericAtTime on Linux x64 debug. r=backout 2017-07-28 10:30:29 +02:00
Nicholas Nethercote f314cbcbe5 Bug 1384835 (part 1) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
This is basically a cosmetic change; references are the normal way to do string
outparams.

--HG--
extra : rebase_source : ffc5945f269bdcd3d4116755b56713e87a44b6cd
2017-07-25 19:12:56 +10:00
Wes Kocher 7dc0b363c1 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 1JlPbFMKbJZ
2017-07-27 16:17:40 -07:00
Wes Kocher 7149e44594 Merge autoland to m-c a=merge
MozReview-Commit-ID: 4MCb0ASsMxe
2017-07-27 16:09:49 -07:00
Dan Minor 460bb5228f Bug 1382681 - Remove java.lang.RuntimeException in VideoCaptureAndroid; r=jesup
There does not seem to be any bad effects from calling stop twice, so just log that
it has happened rather than throwing an exception.

--HG--
extra : rebase_source : 0d92bad7b33010f50f41de8498b8406c3521c9e7
2017-07-25 11:31:26 -04:00
Dan Minor c6d57aa7de Bug 1384874 - Fix build failure on OSX 10.11.6 after Bug 1368030 landed; r=mjf
--HG--
extra : rebase_source : 36569545916cd2a201908ca835efc601ffb49f4d
2017-07-27 09:38:49 -04:00
Carsten "Tomcat" Book c4e7d0a39e merge mozilla-central to autoland
--HG--
extra : rebase_source : 0f0f666839de9bee40c2d469fd8dd7e63b266f69
2017-07-27 11:38:15 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Alex Chronopoulos 0335e95f16 Bug 1384053 - Update cubeb from upstream to 09aeb59. r=kinetik
MozReview-Commit-ID: KQRqIGv021z

--HG--
extra : rebase_source : e024379549aa71c831a56dc91b41389838970550
2017-07-25 18:00:35 +03:00
Wes Kocher ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Dan Minor 01192ea8bd Bug 1368030 - Fix race condition in ScreenCapturerMac. r=jesup
The race condition is between ~ScreenCapturerMac and the ScreenRefresh and
ScreenUpdateMove callbacks. The destructor calls
UnregisterRefreshAndMoveHandlers but a callback may still occur after the
destruction of the object.

Rather than passing a pointer to ScreenCapturerMac into the callback, this
adds a separate object which keeps a pointer to ScreenCapturerMac guarded
by a CriticalSection. The destructor sets the ScreenCapturerMac to nullptr.
In the next callback, the handler unregisters the callbacks and deletes
the object.

The downside to this approach is that if the ScreenCapturerMac
object is allocated and deallocated before a callback occurs, the memory
for the separate object will be leaked.
2017-07-19 14:49:05 -04:00
Carsten "Tomcat" Book 8a74dfa905 Merge mozilla-central to autoland 2017-07-26 11:18:21 +02:00
Jean-Yves Avenard f1021e0d6d Bug 1384026 - Reduce memory usage. r=gerald
We dynamically allocate the memory we need and abort if OOM.

MozReview-Commit-ID: FMGWbOXoN8P

--HG--
extra : rebase_source : d6a28017b7c261d2c8acf2321cd30266bd8d5a35
2017-07-25 18:36:52 +02:00
Alfredo Yang 925ef43dd9 Bug 1359275 - use get() or get_mut()to avoid out of vector boundary. r=kinetik
MozReview-Commit-ID: J4fO0Ynv4WC

--HG--
extra : rebase_source : bbfe10945a2f00bf9173d3fa2d77bc7d6b2af7f5
2017-07-27 10:31:01 +08:00
Nathan Froyd ffa6f2f3c0 Bug 1377959 - fix compiler warning about varargs functions; r=jesup 2017-07-25 16:52:56 -04:00
Carsten Book 115784405b Backed out changeset 0a60cc198321 for browser_devices_get_user_media_screen.js | application crashed [@ mozalloc_abort(char const*)] 2017-07-25 17:40:59 +02:00
Dan Minor 6e3ccd3e2a Bug 1368030 - Fix race condition in ScreenCapturerMac. r=jesup
The race condition is between ~ScreenCapturerMac and the ScreenRefresh and
ScreenUpdateMove callbacks. The destructor calls
UnregisterRefreshAndMoveHandlers but a callback may still occur after the
destruction of the object.

Rather than passing a pointer to ScreenCapturerMac into the callback, this
adds a separate object which keeps a pointer to ScreenCapturerMac guarded
by a CriticalSection. The destructor sets the ScreenCapturerMac to nullptr.
In the next callback, the handler unregisters the callbacks and deletes
the object.

The downside to this approach is that if the ScreenCapturerMac
object is allocated and deallocated before a callback occurs, the memory
for the separate object will be leaked.
2017-07-19 14:49:05 -04:00
Nicholas Nethercote ac3e6bddb4 Bug 1382099 - Remove MOZ_WIDGET_GONK from media/, uriloader/, widget, /xpfe/. r=snorp.
--HG--
extra : rebase_source : 75fe5b8320d52c7316ca547f706b64f30250d28c
2017-07-24 10:08:55 +10:00
Sebastian Hengst f16a7f8371 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Wes Kocher d45eb771f0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: Ah48RzFU8Mt
2017-07-21 18:20:46 -07:00
Wes Kocher 051dc17e6c Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: GYc8r8gnS0j
2017-07-21 18:12:55 -07:00
Ryan VanderMeulen f4e3a91992 Merge m-c to inbound. a=merge 2017-07-21 09:40:28 -04:00
Sebastian Hengst 367f0ac5a2 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IWRTFZdtzaE
2017-07-21 12:56:44 +02:00
Wes Kocher 61354cf6c0 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: 9pPsy8McMun
2017-07-21 18:18:35 -07:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00
Michael Froman ab82f57025 Bug 1383272 - fixing incorrect comparison in RtpStreamId::Parse(...) r=bwc
When adding the length check for parsing RtpStreamId, I incorrectly used
the '<=' operator instead of the '>' operator.

MozReview-Commit-ID: 46XZBqWxkBc

--HG--
extra : rebase_source : 6290aeed489770070308aafacad01ce5b63a60a1
2017-07-21 15:54:11 -05:00
Bevis Tseng 95b18d794e Bug 1382172 - Name nsITimerCallback instances in native implementation. r=billm
--HG--
extra : rebase_source : 84de1abfcc30a6964144c2e6718a508c71027b65
2017-07-27 02:18:20 +08:00