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

5358 Коммитов

Автор SHA1 Сообщение Дата
Nico Grunbaum 91a00d57b9 Bug 1374465 - add framesDecoded to vid inbound stream stats;r=jib,smaug
MozReview-Commit-ID: GqbcQxOb69r

--HG--
extra : rebase_source : 9e25ffed93b6685c9c1848bc0d2642a4b8cda579
2017-07-03 14:17:40 -07:00
Nathan Froyd 9af0cd2f31 Bug 1377971 - followup - don't explicitly link to libm on Windows; r=bustage
On Windows, libm is just rolled into the CRT, so there's nothing special
we need to do here.

Landing this on a CLOSED TREE
2017-07-05 14:38:52 -04:00
Nathan Froyd d2ffb5fefc Bug 1377971 - part 2 - link libavutil and libavcodec with libm; r=rillian
Both of these libraries call into libm for various reasons, but by
linking with the C++ compiler on most platforms, they never had to
declare their dependency on libm.  Future changes will make these
libraries link with the C compiler, which won't automatically link with
libm, so we need to make the dependency explicit prior to that change.
2017-07-05 14:05:10 -04:00
Carsten "Tomcat" Book 00fb80dbbc Merge mozilla-central to mozilla-inbound 2017-07-05 13:04:34 +02:00
Carsten "Tomcat" Book b72c4833d5 merge mozilla-inbound to mozilla-central a=merge 2017-07-05 13:01:22 +02:00
Kershaw Chang 5279c25aa6 Bug 1343741 - Part3: Pass labelled event target to nsIProtocolProxyService::AsyncResolve, r=mayhemer
For dispatching runnable in nsPACMan, this patch sends a labelled event target via nsIProtocolProxyService::AsyncResolve.
2017-07-05 00:48:00 +02:00
Tom Ritter da6bc01d39 Bug 1378038 MinGW causes a difference of opinion about whether or not we have unistd.h r=jya
MozReview-Commit-ID: JUr98CAbwWg

--HG--
extra : rebase_source : 3924a4489c59c24b458a56c181d8685598de141b
2017-07-03 22:55:55 -05:00
Phil Ringnalda 22cb9f77bb Merge m-c to m-i
MozReview-Commit-ID: H6zGgEm7oOM
2017-07-04 20:32:07 -07:00
Nicholas Nethercote b003a6a704 Bug 1377803 - Remove an unnecessary plarena.h #include in WebRTC. r=drno,glandium.
We can avoid the symbol visibility problem by putting
sanitizer/asan_interface.h in the config/system-headers.

--HG--
extra : rebase_source : bc81a81ef8970c3544febf06631740208583c7fa
2017-07-04 09:58:38 +10:00
Nicholas Nethercote 5b549bf835 Bug 1377803 - Remove unnecessary plarena.h #includes. r=drno.
These files don't use PLArena or anything else from plarena.h.

--HG--
extra : rebase_source : 248d358ba8821eb275f3cb5ac275badfb466fa4c
2017-07-04 09:58:15 +10:00
Wes Kocher 5226f27e3e Merge m-c to inbound, a=merge
MozReview-Commit-ID: 7LPTKLiLUcj
2017-07-03 17:37:38 -07:00
Bill McCloskey 224d56eb18 Bug 1377222 - Eliminate nsITimer::InitWithFuncCallback in favor of InitWithNamedFuncCallback (r=froydnj)
MozReview-Commit-ID: 9zN9aAd7daA
2017-07-03 16:19:56 -07:00
Nicholas Nethercote 3e439bb4f8 Bug 1376638 - Minimize uses of prmem.h. r=glandium.
It's silly to use prmem.h within Firefox code given that in our configuration
its functions are just wrappers for malloc() et al. (Indeed, in some places we
mix PR_Malloc() with free(), or malloc() with PR_Free().)

This patch removes all uses, except for the places where we need to use
PR_Free() to free something allocated by another NSPR function; in those cases
I've added a comment explaining which function did the allocation.

--HG--
extra : rebase_source : 0f781bca68b5bf3c4c191e09e277dfc8becffa09
2017-06-30 19:05:41 -07:00
Carsten "Tomcat" Book daa67cc9e3 merge mozilla-inbound to mozilla-central a=merge 2017-06-30 12:59:45 +02:00
Carsten "Tomcat" Book be932371b2 Merge mozilla-central to autoland 2017-07-03 11:04:43 +02:00
Alfredo Yang aa3bc119ce Bug 1374194 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: BcFrpt0E4Zn

--HG--
extra : rebase_source : aa833169c8c3dfb1a01b54e9ccdda9170de8f407
2017-07-03 11:09:36 +08:00
Randell Jesup 9f97858792 Bug 1375238: cast so 32-bit clang will compile r=dminor 2017-06-29 14:24:41 -07:00
Paul Adenot 404c800005 Bug 1341555 - Consolidate use of the MSG's AbstractMainThread, and stop having AbstractMainThread on MediaStreams. r=pehrsons
MozReview-Commit-ID: 5hGDQcfpH6a

--HG--
extra : rebase_source : 41bb678f37cfcdbc9912a25f45a5ca488084aabe
2017-06-29 11:30:57 -07:00
Paul Adenot 6e485889b8 Bug 1330360 - Create new MSGs for each nsPIDOMWindow. r=jesup
MozReview-Commit-ID: 5m1MGcLmT7J

--HG--
extra : rebase_source : b9c05464bb545c047b7718a048eb7e5de3fe275d
2017-06-23 16:18:34 -07:00
Alfredo Yang 28a8ae8f7a Bug 1374194 - add ac3/ec3 codec string. r=kinetik
MozReview-Commit-ID: 12t5WfJ6vPc

--HG--
extra : rebase_source : fbc17380188f458d2f5694aaac2dc30901c05eb8
2017-06-22 15:55:37 +08:00
Carsten "Tomcat" Book 5f00ae3a8b merge mozilla-inbound to mozilla-central a=merge 2017-06-29 15:47:04 +02:00
Ralph Giles 6860e65987 Bug 1376395 - opus: Update to the 1.2.1 release. r=rillian
New upstream release. Fixes an issue where the encoder would
incorrectly bandlimit signals to 12 kHz.

MozReview-Commit-ID: 91LsUhXDlxT

--HG--
extra : rebase_source : a7c476f073536521e614479e9e809a95b8873b07
2017-06-27 07:28:00 +02:00
Jan Keromnes 5257fdad8c Bug 1372977 - Use nullptr in /media and /dom/media (clang-tidy: modernize-use-nullptr). r=bwc 2017-06-28 15:38:00 -04:00
Carsten "Tomcat" Book 651904c8a0 Merge mozilla-central to autoland 2017-07-04 11:12:45 +02:00
Alfredo Yang 9c89ebe93e Bug 1372838 - ignore track with jpeg atom. r=kinetik
MozReview-Commit-ID: GrtkXcP4q1e

--HG--
extra : rebase_source : 30a09faf484c0245fbe706e63c5e9f93f85db2a2
2017-06-21 09:46:43 +08:00
Martin Stransky a1ecc018be Bug 1377078 - removed '//' from #include path, r=jesup
MozReview-Commit-ID: 3m0tAkYRpom

--HG--
extra : rebase_source : 014bb4455e8454f23de6ecd903199ccddcc809b0
2017-06-29 11:15:14 +02:00
Christian Holler 428858f77b Bug 1376959 - Fix broken/missing LibFuzzerRegistry.h include. r=froydnj
MozReview-Commit-ID: WoHveMcQqt

--HG--
extra : rebase_source : 8da048c921f2aa2b248dce2ac646e67056ed4d8b
2017-06-28 15:20:11 -07:00
Kershaw Chang c168ba5421 Bug 1343755 - Label runnables in DataChannelConnection. r=jesup 2017-06-27 10:39:00 -04:00
Dan Minor a9df96e992 Bug 1355947 - Use TestNrSocket to build a fake ICE implementation for testing; r=drno
MozReview-Commit-ID: GhSX9t8DmTO

--HG--
extra : rebase_source : 8fea1934f88b378606b4af96d96c27560906fd88
extra : histedit_source : 4d6fc904c79c74ba8c24e816d70368ee3a850769
2017-04-18 06:54:34 -04:00
Dan Minor 1cc1e5734f Bug 1355947 - Add NatDelegate to TestNat; r=bwc
This allows tests to implement different packet handling schemes without having
to extend or modify TestNat itself.

MozReview-Commit-ID: 6DlESF3hfX6

--HG--
extra : rebase_source : ebb621f6f6ba00811cda7baef449caec126cb15e
2017-06-13 10:08:45 -04:00
Bill McCloskey f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Jan Beich 3fc9fd3377 Bug 1377093 - Enable mediapipeline tests on BSDs as well. r=dminor
MozReview-Commit-ID: GFE13Wlxl4z

--HG--
extra : rebase_source : 26960eff59621a466ea28655787585d8d442c308
2017-06-29 12:04:25 +00:00
Munro Mengjue Chiang eeb635c70a Bug 1372687 - replace timestamp() (90kHz) with inputImage.render_time_ms() (Milliseconds). r=jesup
MozReview-Commit-ID: Do3FlBoNCZ6

--HG--
extra : rebase_source : 4a153cc3e3d74ecb3bf52af8da2b2eaef3fbac42
2017-06-21 13:51:53 +08:00
Ralph Giles 4b40c3d321 Bug 1376395 - opus: Update to the 1.2.1 release. r=kinetik
New upstream release. Fixes an issue where the encoder would
incorrectly bandlimit signals to 12 kHz.

--HG--
extra : rebase_source : 258692afe5a5d9602c76e71a679225bcd90951ef
2017-06-27 07:28:00 +02:00
Dan Minor 76ed84af24 Bug 1319489 - move mediapipeline_unittest to xul-gtest; r=drno
The test is rewritten to use mock implementations which are subclassed from real
implementations rather than using conditional compilation and separate classes.

MozReview-Commit-ID: 3jBEtEdNQOB

--HG--
rename : media/webrtc/signaling/test/mediapipeline_unittest.cpp => media/webrtc/signaling/gtest/mediapipeline_unittest.cpp
extra : rebase_source : dcf514c30793b67cc4114acd3f7fa1d01094df26
2017-01-10 09:56:58 -05:00
Jean-Yves Avenard a59cb63f30 Bug 1374774: P11. Ignore SPS' timing information when comparing two SPS NALs. r=gerald
They can change from one SPS to the next, causing unecessary reconstruction of the decoder.

MozReview-Commit-ID: IhCnLuzGc2i

--HG--
extra : rebase_source : ff6020c10fe9d2eaee7ee8244c92d0c1535239be
2017-06-23 10:14:07 +02:00
Jean-Yves Avenard 6b75c7d481 Bug 1374774: P10. Attempt to reduce SPS change false positives. r=gerald
We now compare the decoded data rather than the raw data, otherwise as seen in video from bug 1372766, we keep draining the decoder. For some reasons the SPS NALs only differ by 1 byte at a time.

MozReview-Commit-ID: LdXinUZHjD4

--HG--
extra : rebase_source : 0aa768cbcbe5b6df0a2a01df1db61c93537899a2
2017-06-23 03:01:57 +02:00
Jean-Yves Avenard dfd6aac637 Bug 1374774: P9. Only look for SPS changes in stream format change detection. r=gerald
All decoders appear capable of handling content change when just new PPS appears.
So we restrict the test to SPS changes.

MozReview-Commit-ID: LPSfMaTIj6C

--HG--
extra : rebase_source : f2a757e71dfab7938da4f064d073fc21f99edf53
2017-06-22 19:46:27 +02:00
Jean-Yves Avenard ebf91b843f Bug 1374774: P8. Use new SPSNALIterator class. r=gerald
MozReview-Commit-ID: 1nrvInxgugz

--HG--
extra : rebase_source : 7ff257b422845ca0cba606448826260a25095b68
2017-06-23 02:08:41 +02:00
Jean-Yves Avenard 1a62966642 Bug 1374774: P7. Add SPSNAL and SPSNALIterator classes. r=gerald
We will use them to simplify the parsing of the extradata.

MozReview-Commit-ID: 5M5uGXAkkFb

--HG--
extra : rebase_source : bbd641203eb8bdcccb667d1a4e259c1a0462b11e
2017-06-23 01:51:42 +02:00
Jean-Yves Avenard 66b67006ed Bug 1374774: P6. Fix ByteReader constness. r=gerald
MozReview-Commit-ID: 8bQA189OOVF

--HG--
extra : rebase_source : f89e5782add618bfa2676798c5712d88925b2980
2017-06-22 22:50:08 +02:00
Jean-Yves Avenard 852878f9ea Bug 1374774: P5. Ignore duplicated SPS when reading NALs in-band. r=gerald
With some H264 streams, we find that the SPS/PPS NALs are duplicated on the stream. This caused us to treat it as if the content changed due to the discrepency between the extradata found in the MP4 metadata and what found inband.

When scanning for SPS NALs, we now attempt to detect duplicates, and if so ignore them.

MozReview-Commit-ID: D8OVOXSwEkY

--HG--
extra : rebase_source : cbaccee3d2b3d73fc5bf68acb425cb7f34d11fcf
2017-06-22 19:41:33 +02:00
Jean-Yves Avenard 234164b774 Bug 1374774: P3. Remove HasSPS method. r=gerald
It was only used in one spot, and incorrectly at that.

MozReview-Commit-ID: EWkkrAlYT7W

--HG--
extra : rebase_source : a19afe8f49e1e0fd430ddbff81978eb3511c5fb5
2017-06-22 14:44:21 +02:00
Jean-Yves Avenard 8f3424c201 Bug 1374774: P2. Add comment for HasSPS methods. r=gerald
MozReview-Commit-ID: Irvcx5XnPyp

--HG--
extra : rebase_source : 74bec6880424a3716a48a2016adabd4fec47a6d0
2017-06-22 14:42:46 +02:00
Jean-Yves Avenard 0ac3f1c5b4 Bug 1374774: P1. Move H264 methods into H264 code. r=gerald
HasSPS, ExtractExtraData and CompareExtraData have nothing to do with the handling of annex B format. They are raw H264 related methods.

It will also prevent in the following change to have cycling references between two headers.

MozReview-Commit-ID: FCs5aU4GcTU

--HG--
extra : rebase_source : a96fe0c70416d38690b0c2f1dee567b0b025e947
2017-06-22 14:36:11 +02:00
Peter Gerber f6d02d64ec Bug 1375873 - fix panic in cubeb caused by PA_SINK_SET_FORMATS flag r=kamidphish
MozReview-Commit-ID: FQic63gUu51

--HG--
extra : rebase_source : f4e3f5e4258ba4fb08acb4fe85b73404c7bf7afe
2017-06-24 02:42:28 +02:00
Dan Glastonbury 8f2155024b Bug 1376000: Drop any unknown flags in SinkInfo.flags. r=padenot
Rust expect() is bad in C callbacks.  Replace TryFrom() with
from_bits_truncate() to drop any unknown PulseAudio flags.

MozReview-Commit-ID: 4RWFB5iGW6Z

--HG--
extra : rebase_source : 3b05d52ae1295825b4857c41135ff08029ad280c
2017-06-24 08:03:59 +10:00
Sebastian Hengst 261b25bf86 Backed out changeset 0d953ca28add (bug 1374774) for bustage at media/libstagefright/binding/H264.cpp(205). 'ptr' not declared. r=backout on a CLOSED TREE 2017-06-24 00:49:18 +02:00
Sebastian Hengst f5e3176d23 Backed out changeset 3a889c491c7f (bug 1374774) 2017-06-24 00:48:23 +02:00
Sebastian Hengst ca778305be Backed out changeset 361c9c559b7e (bug 1374774) 2017-06-24 00:48:18 +02:00
Sebastian Hengst 9ec478d2f5 Backed out changeset 728072e0f9b6 (bug 1374774) 2017-06-24 00:48:09 +02:00
Sebastian Hengst 40948cbef1 Backed out changeset c8d141cd0520 (bug 1374774) 2017-06-24 00:48:04 +02:00
Sebastian Hengst 465af7fa38 Backed out changeset e08d2c276f62 (bug 1374774) 2017-06-24 00:48:00 +02:00
Sebastian Hengst 9d3e7b7424 Backed out changeset ddc1ce464361 (bug 1374774) 2017-06-24 00:47:55 +02:00
Sebastian Hengst 18f07bbb9d Backed out changeset 662829e2529d (bug 1374774) 2017-06-24 00:47:51 +02:00
Sebastian Hengst 85a7e690f4 Backed out changeset 158ce5e7c75b (bug 1374774) 2017-06-24 00:47:46 +02:00
Sebastian Hengst 2650b6b3ca Backed out changeset 9cc4ece5f9d5 (bug 1374774) 2017-06-24 00:47:42 +02:00
Jean-Yves Avenard 829bc5bf3e Bug 1374774: P11. Ignore SPS' timing information when comparing two SPS NALs. r=gerald
They can change from one SPS to the next, causing unecessary reconstruction of the decoder.

MozReview-Commit-ID: IhCnLuzGc2i

--HG--
extra : rebase_source : b292c658098c378b0a6774f0f559a7b55e4903f6
2017-06-23 10:14:07 +02:00
Jean-Yves Avenard 7ce7d15a72 Bug 1374774: P10. Attempt to reduce SPS change false positives. r=gerald
We now compare the decoded data rather than the raw data, otherwise as seen in video from bug 1372766, we keep draining the decoder. For some reasons the SPS NALs only differ by 1 byte at a time.

MozReview-Commit-ID: LdXinUZHjD4

--HG--
extra : rebase_source : 022e7a011e3929846f00d1be6590f3ea1c697e7c
2017-06-23 03:01:57 +02:00
Jean-Yves Avenard 7d1e767817 Bug 1374774: P9. Only look for SPS changes in stream format change detection. r=gerald
All decoders appear capable of handling content change when just new PPS appears.
So we restrict the test to SPS changes.

MozReview-Commit-ID: LPSfMaTIj6C

--HG--
extra : rebase_source : 524316ba61ffff1549a0828685ac657abe687426
2017-06-22 19:46:27 +02:00
Jean-Yves Avenard 0392b68694 Bug 1374774: P8. Use new SPSNALIterator class. r=gerald
MozReview-Commit-ID: 1nrvInxgugz

--HG--
extra : rebase_source : ac6782a20d882fa0c67db1214102dbd956eae019
2017-06-23 02:08:41 +02:00
Jean-Yves Avenard 0e9d876c18 Bug 1374774: P7. Add SPSNAL and SPSNALIterator classes. r=gerald
We will use them to simplify the parsing of the extradata.

MozReview-Commit-ID: 5M5uGXAkkFb

--HG--
extra : rebase_source : e83c8995ebbc60359029f15334e91baaeb098bbd
2017-06-23 01:51:42 +02:00
Jean-Yves Avenard 8d489f9bb9 Bug 1374774: P6. Fix ByteReader constness. r=gerald
MozReview-Commit-ID: 8bQA189OOVF

--HG--
extra : rebase_source : 4f4e371c43da839ae6168241879d580b97435bb0
2017-06-22 22:50:08 +02:00
Jean-Yves Avenard d2bb0f2ec4 Bug 1374774: P5. Ignore duplicated SPS when reading NALs in-band. r=gerald
With some H264 streams, we find that the SPS/PPS NALs are duplicated on the stream. This caused us to treat it as if the content changed due to the discrepency between the extradata found in the MP4 metadata and what found inband.

When scanning for SPS NALs, we now attempt to detect duplicates, and if so ignore them.

MozReview-Commit-ID: D8OVOXSwEkY

--HG--
extra : rebase_source : e28a8230fce4c0f361c4747fce342667d84bff45
2017-06-22 19:41:33 +02:00
Jean-Yves Avenard bcd57adc64 Bug 1374774: P3. Remove HasSPS method. r=gerald
It was only used in one spot, and incorrectly at that.

MozReview-Commit-ID: EWkkrAlYT7W

--HG--
extra : rebase_source : 9c719bbf668eafaac0415580ffdfa0cea0942673
2017-06-22 14:44:21 +02:00
Jean-Yves Avenard da6d087d1b Bug 1374774: P2. Add comment for HasSPS methods. r=gerald
MozReview-Commit-ID: Irvcx5XnPyp

--HG--
extra : rebase_source : fa2528239b3eabd838fa9ecc9dc0b2d7de3b25ef
2017-06-22 14:42:46 +02:00
Jean-Yves Avenard abaade7f70 Bug 1374774: P1. Move H264 methods into H264 code. r=gerald
HasSPS, ExtractExtraData and CompareExtraData have nothing to do with the handling of annex B format. They are raw H264 related methods.

It will also prevent in the following change to have cycling references between two headers.

MozReview-Commit-ID: FCs5aU4GcTU

--HG--
extra : rebase_source : b204723cdbb599d4f0a227871ed28f5da39e9cff
2017-06-22 14:36:11 +02:00
Ralph Giles 8454796ebc Bug 1369932 - Fix typo in aom build description. r=froydnj
The configuration object is spelled with capitals. We didn't
try to build this code on Windows previously, so short-circuit
evaluation saved us from hitting the mistake.

MozReview-Commit-ID: FCGtHW8Dzlw

--HG--
extra : rebase_source : 70676bd436211aa65c7ea447b4aab4bbab61c27a
2017-06-22 17:36:28 -07:00
Carsten "Tomcat" Book e3ba7c834b Merge mozilla-central to autoland 2017-06-23 11:46:07 +02:00
Carsten "Tomcat" Book 5f51e5596e merge mozilla-inbound to mozilla-central a=merge 2017-06-23 11:28:19 +02:00
Munro Mengjue Chiang 14928e4c02 Bug 1374938 - use our own avfoundation wrapper. r=jib
MozReview-Commit-ID: KObTvtvRk10

--HG--
extra : rebase_source : 0fe3d7580cd6f64fad2dce791d52965893a7046a
2017-06-22 14:22:10 +08:00
Nicholas Nethercote f1364a75ea Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.
All the instances are converted as follows.

- nsSubstring  --> nsAString
- nsCSubstring --> nsACString

--HG--
extra : rebase_source : cfd2238c52e3cb4d13e3bd5ddb80ba6584ab6d91
2017-06-20 19:19:52 +10:00
Nico Grunbaum 5579381f1c Bug 1305813 - do not send empty StreamId;r=drno
Also moving RID (StreamID) storage to the stack to clear up the TODO item
and simplify the code.

When unset the StreamID is stored as an empty string.

Added missing GUARDED_BY on rid_

Added a check to shortcut checking strlen on the StreamId when it is an empty string (which is most of the time).

MozReview-Commit-ID: EPUlPNBXYsQ

--HG--
extra : rebase_source : 08e1b9ea796c991d141164424014d2311ff9341c
2017-06-22 00:46:07 -07:00
Carsten "Tomcat" Book 7fa56f5378 Merge mozilla-central to autoland 2017-06-22 14:11:46 +02:00
Nico Grunbaum f24257104b Bug 1343515 - fixing video recv side jitter timebase;r=drno
MozReview-Commit-ID: Kax8OTcSnSL

--HG--
extra : rebase_source : 197786598a62e7657219f0cca11b6742c441b62d
2017-06-07 12:33:22 -07:00
Dan Minor 76c049c746 Bug 1373988 - Make webrtc-gtest build work with system jpeg and libvpx; r=glandium
MozReview-Commit-ID: 1x8v7G2fvlK

--HG--
extra : rebase_source : cf5475a104b95901cc66045e7f8a61d82f397980
2017-06-19 08:56:19 -04:00
Ralph Giles 9304715912 Bug 1374870 - opus: Update to the 1.2 release. r=kinetik
New upstream release with only minor cleanup after 1.2-rc1.

- Speech quality improvements especially in the 12-24 kbit/s range
- Improved VBR encoding for hybrid mode
- More aggressive use of wider speech bandwidth, including fullband speech
    starting at 14 kbit/s
- Music quality improvements in the 32-48 kb/s range
- More optimizations for x86 (SSEx) and ARM Neon
- Support for directly encoding packets up to 120 ms
- DTX support for CELT mode
- SILK CBR improvements
- Support for all of the fixes in draft-ietf-codec-opus-update-04 (the mono
    downmix and the folding fixes need --enable-update-draft)
- Many bug fixes, including integer overflows discovered through fuzzing
    (no security implications)

MozReview-Commit-ID: CDVdiu3R4qT

--HG--
extra : rebase_source : df73c8f7b86043237af16947d0fde12d81c122f4
2017-06-20 17:12:53 -07:00
Ralph Giles 00e22264e9 Bug 1374870 - opus: Update import script. r=kinetik
The rename patch was merged upstream.

MozReview-Commit-ID: 42gAnSL2tER

--HG--
extra : rebase_source : 716ee238454f1c017bccc14f056b9f67cecf5c99
2017-06-20 17:11:41 -07:00
Wes Kocher c0e1236f1a Merge autoland to m-c a=merge
MozReview-Commit-ID: LFtpTAueYrF
2017-06-20 18:24:29 -07:00
Chris Peterson 7dd51821f3 Bug 1373525 - media/mtransport: Remove unused member functions and unused member variable trickled_. r=drno
media/mtransport/test/ice_unittest.cpp:353:12 [-Wunused-member-function] unused member function 'Stream'
media/mtransport/test/ice_unittest.cpp:1394:7 [-Wunused-member-function] unused member function 'trickled'
media/mtransport/test/ice_unittest.cpp:1867:8 [-Wunused-member-function] unused member function 'SetExpectedTypes'
media/mtransport/test/transport_unittests.cpp:917:8 [-Wunused-member-function] unused member function 'InitIce'

MozReview-Commit-ID: 70PNtdc92mg

--HG--
extra : source : 5dc220c3efd5bd2f8f844eb85887a4bcfabb3990
extra : intermediate-source : 0751fb1b9b19a8451c5aba7e021bcb386962ce5d
2017-06-11 00:09:42 -07:00
Chris Peterson 1244053765 Bug 1373525 - webrtc: Remove unused member function in WrappableJSErrorResult. r=bwc
media/webrtc/signaling/src/peerconnection/PeerConnectionImpl.cpp:181:3 [-Wunused-member-function] unused member function 'operator (anonymous namespace)::JSErrorResult &'

And suppress -Wcomma warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/audio_coding/neteq/background_noise.h:98:22: warning: possible misuse of comma operator here [-Wcomma]
media/webrtc/trunk/webrtc/modules/desktop_capture/differ_unittest.cc:187:22: warning: possible misuse of comma operator here [-Wcomma]

MozReview-Commit-ID: FVecnczsWk7

--HG--
extra : source : a651d94c9adcd64690a6acba4629cf7e1b299e3c
extra : intermediate-source : d5cdb25590475e306cdb8b9766a237e22940f7fa
2017-06-12 21:43:29 -07:00
Dan Glastonbury 39441f1b4c Bug 1374494 - P2: Update cubeb-pulse-rs to commit djg/cubeb-pulse-rs/6451581. r=kinetik
MozReview-Commit-ID: IscK7OpIZbB

--HG--
extra : rebase_source : d2ec3568fedd8f9841c3ecd5f02e434238add889
2017-06-09 12:30:29 +10:00
Dan Glastonbury 310ef6224e Bug 1374494 - P1: Add pulse-rs folder to update.sh. r=kinetik
MozReview-Commit-ID: DNhPe2JhfU2

--HG--
extra : rebase_source : a306bdb305e0eb7042a703b2642d9f737fb14fbc
2017-06-19 17:47:13 +10:00
Carsten "Tomcat" Book ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey 4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng d1637b9c5a Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Alfredo Yang f2e77f3bb0 Bug 1370175 - enable rust mp4 parser on other platforms and fallback to stagefright if rust parser fails. r=kinetik
MozReview-Commit-ID: 6ykgAOagR7a

--HG--
extra : rebase_source : 24b67a9aa1e0c8e5a28e65ee23470738aebd946f
2017-06-14 11:29:10 +08:00
Alex Chronopoulos 1569d73eef Bug 1374275 - Update cubeb from upstream to 18153b9. r=kinetik
MozReview-Commit-ID: 4PKadUfp0Bc

--HG--
extra : rebase_source : 430224ccb31ba49c6c980529af3ba8385005f8be
2017-06-20 12:09:28 +03:00
Nils Ohlmeier [:drno] 7bddcc5ecd Bug 1374440: stop sending max-message-size. r=jesup
MozReview-Commit-ID: 7iqS3bPLwRf

--HG--
extra : rebase_source : aa30c0e798f3bd3b5219d7c02c2ed944f7a7a7c5
2017-06-19 14:33:24 -07:00
Sebastian Hengst 593e520c55 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: Oi3PA6ZpRz
2017-06-18 20:35:11 +02:00
Sebastian Hengst 968a22a73d merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-18 00:25:47 +02:00
Sebastian Hengst 3654d560d6 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: DPQl41S3ZkU
2017-06-17 22:26:03 +02:00
Jan Beich 897f2d691d Bug 1341285 - Restore number of CPU cores detection on BSDs. r=jesup 2017-06-17 13:43:31 -04:00
Jan Beich 7bf7ce4954 Bug 1341285 - Sync sndio with WebRTC 57 and fix warnings. r=jesup 2017-06-17 13:43:11 -04:00
Wes Kocher b0560565d7 Merge m-c to inbound, a=merge
MozReview-Commit-ID: 8k4A4tEOtIT
2017-06-16 18:17:38 -07:00
Nils Ohlmeier [:drno] 6cdb6b786c Bug 1373450: report if MaxMessageSize was set in SDP. r=jesup
MozReview-Commit-ID: OqspJsw1Bw

--HG--
extra : rebase_source : ff9c5883e6d9f284c7f0771f937d48f48910b508
2017-06-15 16:12:25 -07:00
Sebastian Hengst efd723cdad merge mozilla-central to autoland. r=merge 2017-06-18 00:21:41 +02:00
Dan Glastonbury 79484d5aa4 Bug 1373475: Remove panic from pulse_format_to_cubeb_format. r=kinetik
Remove left-over panic! from this function and return default values
of F32NE, just as cubeb_pulse.c does.

MozReview-Commit-ID: 5MgIOSaexF2

--HG--
extra : rebase_source : b1159b09c97df8a41811a85cb0f1674062d5cd92
2017-06-16 11:15:48 +10:00
Dan Minor 44063ab8cf Bug 1349539 - Use CheckedInt in MediaPipeline.cpp; r=jesup
MozReview-Commit-ID: Lj9FlT3J42M

--HG--
extra : rebase_source : 31b4e88aaee819a3b1d083c2cc6d7c2564567f99
2017-05-31 15:54:32 -04:00
Ralph Giles 368a366bfc Bug 1306476 - Update libvorbis. r=derf
Update to the latest upstream master of libvorbis (v1.3.5-48-ge5b1378)
to pick up various fixes.

MozReview-Commit-ID: KTXAtrbtWW6

--HG--
extra : rebase_source : e36f22ce74cad13851979722c40f3742dba45f8c
2017-06-16 12:50:16 -07:00
Ralph Giles 0fbeea4132 Bug 1372767 - opus: enable SSE simd optimization. r=kinetik,ted
Opus now has SSE, SSE2 and SSE 4.1 optimizations. Enable these
in our build by adding the extra source files and defines.

MozReview-Commit-ID: BKMATikknBU

--HG--
extra : rebase_source : 4eea2529150fe5f4f374127968843e6aa29fecaf
2017-06-13 16:41:35 -07:00
Ralph Giles 5e590fea4b Bug 1372393 - opus: Fix unified build. r=kinetik
Apply patch from upstream fixing duplicate symbol issue
with the unified build.

MozReview-Commit-ID: 54yOXWanTkm

--HG--
extra : rebase_source : e03f024409bb7e225b456dc747f692ef9e755103
2017-06-13 10:51:30 -07:00
Ralph Giles f4988a7a24 Bug 1372393 - opus: Update to 1.2-rc1. r=kinetik
Update our in-tree implementation of the opus audio codec
to the 1.2 release candidiate. This gives us some wider
testing before making the first stable release of the
new series.

This release improves the quality and compactness of encoded
audio, and optimizes performance on ARM NEON platforms.

MozReview-Commit-ID: 30bM6iVBamd

--HG--
extra : rebase_source : 7a679a4ea419dbfb242aeebf220518e2f9397977
2017-06-12 14:29:32 -07:00
Ralph Giles 02f1758bb2 Bug 1372393 - opus: Fix nonunified build patch. r=kinetik
Update patch listing files which need to be built separately.

MozReview-Commit-ID: DTTQFGI8LyJ

--HG--
extra : rebase_source : 0eeaba1de3792f1d80d6dfddb4efe2f3ae59f0ae
2017-06-13 11:42:17 -07:00
Ralph Giles c3950c39fb Bug 1372393 - opus: Fix update script. r=kinetik
Handle numbers for SIMD extension versions and variant
spacing in the source file listings.

MozReview-Commit-ID: pbYwDyk2cL

--HG--
extra : rebase_source : e0ab07fc7e80de4a16ec2f93b8e97d25d2a0af53
2017-06-13 14:15:17 -07:00
Sebastian Hengst 9b6197930c merge mozilla-central to autoland. r=merge a=merge 2017-06-15 20:13:40 +02:00
Sebastian Hengst 1b26da1b2f merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-06-15 11:17:07 +02:00
Nils Ohlmeier [:drno] 4252852455 Bug 1373144: turn multiple msid's error into warning. r=bwc
MozReview-Commit-ID: 5jxHFAsbvRf

--HG--
extra : rebase_source : 5ac29c3dc12f4b8f24846a9d50cccaf2df66bb7c
2017-06-14 22:25:36 -07:00
Nils Ohlmeier [:drno] f6cddda6c5 Bug 1373103: log TCP read callback log message only if more then 5 callback are pending. r=mjf
MozReview-Commit-ID: E0oAG89XGwg

--HG--
extra : rebase_source : 21d14ddd28d819a498fce03d1b484e5a82e22a0d
2017-06-14 18:35:59 -07:00
Dan Minor 8e114807a7 Bug 1341285 - Fix lint errors in WebRtcAudioTrack.java; r=drno
--HG--
extra : rebase_source : 84981127cde93ca9de53d56ee29a4d8b00aebfeb
2017-06-14 08:38:07 -04:00
Carsten "Tomcat" Book 8726f73b05 Backed out changeset ff8a5005cfa0 (bug 1371016) for making linux bc2 browser_windowStateContainer.js crashes in @ RunWatchdog more worse 2017-06-14 14:38:29 +02:00
Ralph Giles 1e804b6991 Bug 1372768 - Remove unused opus floating point code. r=kinetik
We were including opus_sources_float even in fixed_point builds
so webrtc could call the audio classifier. Now that that's been
removed in bug 1372622, we can drop the extra sources.

This applies only to Android arm builds.

MozReview-Commit-ID: FiOxRrCGBYm

--HG--
extra : rebase_source : 248f8ba6773dcb03369dc2f47b50fbe31dec8567
2017-06-13 17:30:21 -07:00
Jan Beich ccc649dbc7 Bug 1341285 - Add missing BSD bits lost during the rebase. r=jesup 2017-06-14 20:58:52 -04:00
Ralph Giles b2fcea0bf2 Bug 1371016 - aom: Add /arch:AVX2 when compiling under msvc. r=ted
Propagate the libvpx AVX flag changes from bug 1279593.

This flag tells the compiler to generate AVX code
in these modules intead of using normal SSE instructions
which can trigger expensive state-switching.

NB: This should only be set for AVX-specific implementation
files; setting this flag for general code will invalidate
our runtime simd support checks.

MozReview-Commit-ID: 5BVeCTsNlup

--HG--
extra : rebase_source : 219b5912a220e960e45ec43a532f407fe18eb41b
2017-06-07 12:34:31 -07:00
Nils Ohlmeier [:drno] 66305cc2e0 Bug 1371161: port SDP file parser to LibFuzzer r=decoder
MozReview-Commit-ID: FJhOdy2ZVqf

--HG--
rename : media/webrtc/signaling/fuzztest/sdp_file_parser.cpp => media/webrtc/signaling/fuzztest/sdp_parser_libfuzz.cpp
extra : rebase_source : f12c0e593212e077b694ef5732568e19c0a7fbed
2017-06-09 16:36:38 -07:00
Wes Kocher ebf35623cd Merge mozilla-central to autoland a=merge
UPGRADE_NSS_RELEASE
2017-06-13 18:57:32 -07:00
Wes Kocher 95da7820b1 Backed out changeset e9227c17f3bc (bug 1372622) to unblock merging mozilla-central to autoland a=backout
MozReview-Commit-ID: 82CarYra7u1
2017-06-13 18:55:44 -07:00
Ralph Giles ee5444cd1d Bug 1372751 - opus: remove gcc 4.8 work-around. r=kinetik
Our minimum-supported version of gcc is not 4.9, so we can
remove the work-around patch for the Internal Compiler Error
we encountered with the opus library and 4.8.

MozReview-Commit-ID: IS5zhU2z7fT

--HG--
extra : rebase_source : c9e183a3503ebd672a7b3e82c016147f61662cdc
2017-06-13 16:11:05 -07:00
Ralph Giles 3677fc81cc Bug 1372622 - webrtc: Remove AudioClassifier. r=drno
This is no longer called from anywhere, and because it calls
into private libopus APIs it needs regular changes. Remove
to reduce the maintenance effort.

It was removed upstream per
https://bugs.chromium.org/p/webrtc/issues/detail?id=5676

MozReview-Commit-ID: 3N5wL7iAwkH

--HG--
extra : rebase_source : e04c4272019bf09cae6ebedde77f8d75fe082d31
2017-06-12 18:13:18 -07:00
Ralph Giles 2ccddcb958 Bug 1371016 - aom: Add /arch:AVX2 when compiling under msvc. r=ted
Propagate the libvpx AVX flag changes from bug 1279593.

This flag tells the compiler to generate AVX code
in these modules intead of using normal SSE instructions
which can trigger expensive state-switching.

NB: This should only be set for AVX-specific implementation
files; setting this flag for general code will invalidate
our runtime simd support checks.

MozReview-Commit-ID: 5BVeCTsNlup

--HG--
extra : rebase_source : 219b5912a220e960e45ec43a532f407fe18eb41b
2017-06-07 12:34:31 -07:00
Carsten "Tomcat" Book d67ef71097 merge mozilla-inbound to mozilla-central a=merge 2017-06-13 12:09:48 +02:00
Wes Kocher 6e40405064 Merge m-c to inbound, a=merge CLOSED TREE
MozReview-Commit-ID: 5Agk5fuwDGU
2017-06-12 17:11:10 -07:00
Wes Kocher f8412cddff Merge inbound to central, a=merge CLOSED TREE
MozReview-Commit-ID: 4j8ngmg8FAD
2017-06-12 17:02:56 -07:00
Carsten "Tomcat" Book 98c02d6711 Merge mozilla-central to mozilla-inbound 2017-06-12 15:38:17 +02:00
Kershaw Chang 104a4b2e9c Bug 1343743 - Part6: Pass a labeled event target to StunAddrsRequestChild's constructor., r=bwc
Pass an event target argument in constructor, so we can call gNeckoChild->SetEventTargetForActor before sending constructor message to parent.
2017-06-12 00:25:00 +02:00
Kershaw Chang d17d3c6887 Bug 1343743 - Part4: Pass a labeled main thread event target in nsIUDPSocketChild::bind, r=jdm
Add an event target parameter in nsIUDPSocketChild::bind, so we can use this labeled event target to dispatch runnables in UDPSocketChild.
2017-06-12 00:24:00 +02:00
Kershaw Chang a2f2bae579 Bug 1343743 - Part3-1: Use system group's event target for TCPSocketChild's constructor, r=bwc
Pass an event target argument in constructor, so we can call gNeckoChild->SetEventTargetForActor before sending constructor message to parent.
2017-06-12 00:23:00 +02:00
Dan Glastonbury a74de3d86f Bug 1372057 - Limit pulse-rust to nightly builds. r=kinetik
MozReview-Commit-ID: Ev4GSuEN5Xa

--HG--
extra : rebase_source : 0e3910ffa437963810d5f42d5e2f3486e72801ef
2017-06-12 11:26:33 +10:00
Wes Kocher 101940382d Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: K0rvhhOLins
2017-06-12 17:13:12 -07:00
Paul Ellenbogen ad7b0fb2a3 Bug 1371362: Remove unused audio and video stream counters of PeerConnectionImpl r=bwc
MozReview-Commit-ID: AtZRVqCyF4A

--HG--
extra : rebase_source : 5c395ecd15a8403de8181675a61f2545a5a14299
2017-06-08 11:17:08 -07:00
Petr Sumbera 479e4d175f Bug 1371266 - libpng should be built with -std=c89. r=glennrp 2017-06-08 06:29:03 -07:00
Paul Ellenbogen 8837b303c7 Bug 1371841: Only send PeerConnectionImpl::RecordEndOfCallTelemetry telemetry when connection information is exchanged. r=bwc
MozReview-Commit-ID: Dw6HMtdngD5

--HG--
extra : rebase_source : af9c6165c34afbddd1dd429c151a835acd36d742
2017-06-09 14:21:33 -07:00
Nils Ohlmeier [:drno] cf31c442c8 Bug 1370601 - Make it possible for offerer and answerer to switch roles in jsep_session_unittest.cpp; r=bwc
MozReview-Commit-ID: A34A5ER92oP

--HG--
extra : rebase_source : 05ebb3889b8eed8c4074f6d15f3c2d2e39d48507
2017-04-07 17:29:43 -07:00
Masatoshi Kimura 7f80207800 Bug 1371536 - Suppress more MSVC warnings in media/libspeex_resampler. r=padenot
MozReview-Commit-ID: DVUorkhSBTW

--HG--
extra : rebase_source : f0903adb6b8046b8a69695887de75b876ff1ce70
2017-06-09 14:54:47 +09:00
Dan Glastonbury 0170a00894 Bug 1371319 - null out pulse pointers on destruction. r=kinetik
To avoid a double freeing of pa_context and pa_threaded_mainloop on
error, null out pointers once the object is freed.

Added assertions that pointer are null after destroy()'ing.

MozReview-Commit-ID: 1Ycmkrc2kWe

--HG--
extra : rebase_source : 1074ba307a45f9714b07c66d112a1b4b190c4540
2017-06-09 10:33:17 +10:00
Ralph Giles d3ba166c62 Bug 1370975 - aom: Use Visual Studio 14 configuration. r=gerald
Prefer the vs14 targets since we build for Windows
with cl instead of cygwin's gcc. This corresponds
to Visual Studio 2015.

In practice there is little difference, other the
upstream build system assuming a Visual Studio style
output directory, but this should help pick up any
compiler-specific work-arounds.

MozReview-Commit-ID: 4etKKIEJWws

--HG--
extra : rebase_source : 5d03abdda718ed7811dc5d22cc56586d84d207d9
2017-06-06 14:07:11 -07:00
Carsten "Tomcat" Book b9d94b34d4 merge mozilla-inbound to mozilla-central a=merge 2017-06-08 14:43:56 +02:00
Glenn Randers-Pehrson cec136b369 Bug 1368407 - Check for too-large PNG width. r=tn
--HG--
extra : source : 76404bf85ef79bacff8fd82b364698af17275d6b
2017-06-03 14:37:00 -04:00
Ryan VanderMeulen f6491af56c Backed out changeset 76404bf85ef7 for landing with the wrong bug number in the commit message. 2017-06-07 22:43:58 -04:00
Glenn Randers-Pehrson a20fe96562 Bug 1367496 - Check for too-large PNG width. r=tn
--HG--
extra : rebase_source : 0c4a6e639e803bceff110cab600aadb3779a79fe
2017-06-03 14:37:00 -04:00
Dan Glastonbury 839fad3c98 Bug 1360060 - P3: device_collection_destroy for cubeb-pulse-rs. r=kinetik
MozReview-Commit-ID: Hvn12h4O4FE

--HG--
extra : rebase_source : 9a689bcc516c1a3d363c2996bce67a083970aad9
2017-05-24 19:33:19 +10:00
Dan Glastonbury d8f7d93bff Bug 1360060 - P2: Add patch to libcubeb/update.sh r=kinetik
MozReview-Commit-ID: CPSGDKtrJZI

--HG--
extra : rebase_source : 14dbf4d6af2104f6043f4269cc8522ce946e8ffe
2017-05-24 20:48:00 +10:00
Dan Glastonbury 11c2d37f9d Bug 1360060 - P1: Enable selection of cubeb-pulse-rust over cubeb-pulse. r=kinetik
MozReview-Commit-ID: GN5POBqy56W

--HG--
extra : rebase_source : 0af5972b29c2209beef82ef109e0b5f10613848e
2017-04-27 10:51:52 +10:00
Ralph Giles fcb2bf2018 Bug 1369950 - Update aom. r=gerald
Update our in-tree copy of the aom reference implementation
of the av1 video codec to upstream git commit id
aadbb0251996c8ebb8310567bea330ab7ae9abe4.

This picks up recent changes and addresses a build issue on win64.

MozReview-Commit-ID: 34LXXzFtEFN

--HG--
extra : rebase_source : 0face926928de6bd1c6a1726df912bd20e363e60
2017-05-10 14:16:55 -07:00
Masatoshi Kimura 7713108b41 Bug 1370062 - turn off more warnings in ffvpx. r=rillian
MozReview-Commit-ID: JqG9XXxBQfv

--HG--
extra : rebase_source : 089cde35ba41b5520e02bc03151c4cfe760c7184
2017-06-04 17:42:50 +09:00
Paul Adenot 08dd28ea34 Bug 1369967 - Remove one use of a stack-allocated buffer and fix another buffer's size. r=jesup
Two things here:
- The default stack size of the thread pool is not very big, it's better to
stick the buffer we need on the object.
- There was a unit mismatch between bytes and samples. This changes the name to
make the unit more obvious, and fixes its usage by dividing by the sample size.

MozReview-Commit-ID: 19bbS6iGvTw

--HG--
extra : rebase_source : bb5c2c074b8c1c3d69e002c8d82f4f72cc57582d
2017-06-05 11:42:43 +02:00
Jean-Yves Avenard fe9bd75acb Bug 1367128: P2. Add methods to trim index. r=gerald
The MoofParser's used by the MP4Demuxer, can grow very large as it keeps adding new tables and is never reset.

Once we have demuxed all data present in the MP4 media segment, we no longer require the samples table for that media segment and we can drop it from the index.

Unfortunately. some websites (in particular some using live video) use media segments containing a single sample in order to (incorrectly) reduce latency. While this is a very bad approach from a performance perspective it does happen in the wild.

MozReview-Commit-ID: I66jxcScmKM

--HG--
extra : rebase_source : d0029b74df94b92dc0a115c77f6e560b30e5ed5c
2017-06-02 21:15:10 +02:00
Jean-Yves Avenard 1e3d2193d7 Bug 1367128: P1. Remove unused member. r=alwu
MozReview-Commit-ID: 1SQaAdePmyf

--HG--
extra : rebase_source : 41418340e20f42bf6ff669a02d43ab0b4a3ee2fa
2017-06-02 18:07:36 +02:00
Gerald Squelart 7e4d1255aa Bug 1369326 - Make mp4_demuxer::ResourceStream use a MediaResourceIndex - r=cpearce
Access the MediaResource through a MediaResourceIndex, which brings caching
reads (and therefore can avoid some of the repeated locking and IOs from
consecutive read operations).

MozReview-Commit-ID: Crk6ZgLWdw8

--HG--
extra : rebase_source : 9cc8c3577747829e8bd5931e9f48c782d6423fe6
2017-05-31 18:17:37 +12:00
Masatoshi Kimura a39099bca1 Bug 1166955 - Stop including nsAutoPtr.h from BasePin.cpp. r=jesup
MozReview-Commit-ID: CCvJyVmH1JI

--HG--
extra : rebase_source : 72cf22b38f7c4d3ef5c315351f0eca942345b752
2017-06-03 17:59:29 +09:00