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

5375 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 29fb7aad8e Bug 1378123 - Make inner window track whether there is an active PeerConnection. r=jib
MozReview-Commit-ID: 98Hwhnxtt1T

--HG--
extra : rebase_source : 3d7be906acec0d4262fae15d1755cdb7cfc71eb3
2017-08-04 13:28:15 +03: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
Wes Kocher 269f7e9f5c Merge m-c to inbound, a=merge
MozReview-Commit-ID: 9wTctDOsPpO
2017-06-02 17:31:31 -07:00
Nathan Froyd a98cff2fb4 Bug 1369791 - turn off more warnings for ffvpx; r=rillian 2017-06-02 17:07:17 -04:00
Randell Jesup ae21d19935 Bug 1353030: document use of WrapRunnable(this) r=cpearce
MozReview-Commit-ID: Fb3KjsI9tE3
2017-06-02 16:36:34 -04:00
Wes Kocher 0d038d6513 Merge autoland to m-c a=merge
MozReview-Commit-ID: Fjt5XIDd0p6
2017-06-02 17:21:39 -07:00
Jim Chen 858e777c78 Bug 1369108 - 3. Implement new device permission code path for Fennec; r=esawin
Instead of asking for permission in VideoCaptureDeviceInfoAndroid.java,
we now merely check for permission there. The actual permission prompt
now happens in WebrtcUI.js, using the new
"getUserMedia:ask-device-permission" and
"getUserMedia:got-device-permission" notifications.

MozReview-Commit-ID: DSVPjjW2JNR
2017-06-02 16:11:53 -04:00
Jim Chen 9798dcedbb Bug 1369108 - 2. Refresh Android camera list when necessary; r=jesup
Currently, if permission is first denied, the list of cameras is empty.
However, if permission is later granted, the list stays empty because we
never try to refresh the list. This patch causes us to refresh the list
when necessary.

MozReview-Commit-ID: 5eodPCWVyaP
2017-06-02 16:11:53 -04:00
Nils Ohlmeier [:drno] 9406837246 Bug 1367930: adjust ssrc's and encondings as simulcast answerer. r=bwc
MozReview-Commit-ID: EPdIWF5nn7u

--HG--
extra : rebase_source : 5301c7541f1f2d2eeac37f5b0545ad83e71d8e46
2017-05-27 00:04:55 -07:00
Nils Ohlmeier [:drno] f8f118d912 Bug 1335262: read and emit datachannel max-message-size. r=jesup
MozReview-Commit-ID: HwaoshovZIS

--HG--
extra : rebase_source : c1c171c53e5433607083dcd88fc9de0820e3382f
2017-05-31 20:58:53 -07:00
Randell Jesup 712586b20b Bug 1369724: Fix setting size for fake H264 codec r=jya
From bug 1341285

MozReview-Commit-ID: E6g6phiQC5H
2017-06-02 09:59:36 -04:00
Nils Ohlmeier [:drno] 8cb88eaf14 Bug 1176415: verify absence of SSRC's in data channel m-sections. r=bwc
MozReview-Commit-ID: ADstE36mzzu

--HG--
extra : rebase_source : 4f94e662bb931ed7d5b87a7658a78d19ad450976
2017-06-01 11:29:07 -07:00
Nils Ohlmeier [:drno] b922e0c78a Bug 1176415: stop adding ssrc's to data channel m-sections. r=bwc
MozReview-Commit-ID: H7tiJ9YRThQ

--HG--
extra : rebase_source : ac638a15838cef16d9c614ca7eb677960e38df2f
2017-05-31 22:13:04 -07:00
Alfredo Yang 385ae73922 Bug 1367508 - Update rust parser to limit table size in case of OOM. r=kinetik
MozReview-Commit-ID: H5dAp12Hnbn

--HG--
extra : rebase_source : 0b8189c6c62a14476c4c6f3ebb699757258a6008
2017-06-01 10:27:48 +08:00
Jean-Yves Avenard 8902ac6e16 Bug 1313398: P5. Do not parse encrypted data. r=gerald
The encrypted data is nonsensical as far as the parsing of NALs is concerned.

MozReview-Commit-ID: Hm1fJf6h2S7

--HG--
extra : rebase_source : b32f56d748ad33afbd227379c1639a5aa449fb84
2017-06-01 13:37:35 +02:00
Jean-Yves Avenard 097f5acf02 Bug 1313398: P2. Always check for SPS/PPS inband. r=gerald
Ignore the known out of band extradata.

MozReview-Commit-ID: 8ARjrTtxhwY

--HG--
extra : rebase_source : 16d8d3ca9eb4663ec94ec804c290ea0409fbeea4
2017-05-31 16:15:45 +02:00
Jean-Yves Avenard f6be4845be Bug 1369313: Remove PPS related code. r=alwu
It is no longer needed.

MozReview-Commit-ID: DeD8893ES2p

--HG--
extra : rebase_source : df22efbf6c5b17cb7bf63b5e50cb495002b58b1c
2017-06-01 11:19:59 +02:00
Gerald Squelart 3c84151dc6 Bug 1364828 - Use nsTArray (with fallible append) in mp4_demuxer::ByteWriter - r=jya
mfbt's Vector is actually infallible by default, so it would crash in case of
OOM. I'm switching to nsTArray, and using fallible AppendElements in
ByteWriter.

MozReview-Commit-ID: F7TBpCyIlg

--HG--
extra : rebase_source : 54f21d3c6ddb99cb8f83f86a08e2aecf7ce36a31
2017-06-07 14:21:09 +12:00
Masatoshi Kimura 2ccb684d0c Bug 1279593 - Add /arch:AVX or /arch:AVX2 to compile some files under media/libvpx. r=ted.mielczarek
MozReview-Commit-ID: CDXWpG4058E

--HG--
extra : rebase_source : dda30eeb18671eb5e9b3418bac4079fdd7632b6d
2017-06-06 20:31:34 +09:00
Carsten "Tomcat" Book bd7620cf36 Merge mozilla-central to mozilla-inbound 2017-06-13 12:11:42 +02:00
Randell Jesup 6b92cb978e Bug 1341285: Fix bustage on android due to merge failure r=bustage 2017-06-13 02:33:20 -04:00
Randell Jesup 450c4d90a1 Bug 1341285: rollup of changes for webrtc after applying webrtc.org v57 update r=ng,jesup,pehrsons,drno,dminor,cpearce,jya,glandium,dmajor
Includes re-importing gyp files removed from upstream in v56, and then
updating them to match the BUILD.gn file changes.

--HG--
rename : media/webrtc/trunk/webrtc/call/audio_send_stream.cc => media/webrtc/trunk/webrtc/call/audio_send_stream_call.cc
2017-06-13 01:54:13 -04:00
Randell Jesup c2dfe0a8c9 Bug 1341285: Webrtc updated to branch 57 rev 52b6562a10b495; initial pull made Feb 2 2017 14:38 EST
Pull updated from 71394677e4dc343ca5c0f996037207a9bd9616c9 to 52b6562a10b495 in late May

--HG--
rename : media/webrtc/trunk/webrtc/base/iosfilesystem.mm => media/webrtc/trunk/webrtc/base/applefilesystem.mm
rename : media/webrtc/trunk/webrtc/test/testsupport/gtest_prod_util.h => media/webrtc/trunk/webrtc/base/gtest_prod_util.h
rename : media/webrtc/trunk/webrtc/base/exp_filter.cc => media/webrtc/trunk/webrtc/base/numerics/exp_filter.cc
rename : media/webrtc/trunk/webrtc/base/exp_filter.h => media/webrtc/trunk/webrtc/base/numerics/exp_filter.h
rename : media/webrtc/trunk/webrtc/base/exp_filter_unittest.cc => media/webrtc/trunk/webrtc/base/numerics/exp_filter_unittest.cc
rename : media/webrtc/trunk/webrtc/base/rtccertificate_unittests.cc => media/webrtc/trunk/webrtc/base/rtccertificate_unittest.cc
rename : media/webrtc/trunk/webrtc/common_audio/swap_queue.h => media/webrtc/trunk/webrtc/base/swap_queue.h
rename : media/webrtc/trunk/webrtc/common_audio/swap_queue_unittest.cc => media/webrtc/trunk/webrtc/base/swap_queue_unittest.cc
rename : media/webrtc/trunk/webrtc/audio_receive_stream.h => media/webrtc/trunk/webrtc/call/audio_receive_stream.h
rename : media/webrtc/trunk/webrtc/audio_state.h => media/webrtc/trunk/webrtc/call/audio_state.h
rename : media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/h264_bitstream_parser_unittest.cc => media/webrtc/trunk/webrtc/common_video/h264/h264_bitstream_parser_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/rtp_rtcp/source/h264_sps_parser_unittest.cc => media/webrtc/trunk/webrtc/common_video/h264/sps_parser_unittest.cc
rename : media/webrtc/trunk/webrtc/frame_callback.h => media/webrtc/trunk/webrtc/common_video/include/frame_callback.h
rename : media/webrtc/trunk/webrtc/call/rtc_event_log.proto => media/webrtc/trunk/webrtc/logging/rtc_event_log/rtc_event_log.proto
rename : media/webrtc/trunk/webrtc/video/video_decoder.cc => media/webrtc/trunk/webrtc/media/engine/videodecodersoftwarefallbackwrapper.cc
rename : media/webrtc/trunk/webrtc/video/video_encoder_unittest.cc => media/webrtc/trunk/webrtc/media/engine/videoencodersoftwarefallbackwrapper_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.h => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receive_test.h
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receiver_unittest_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_receiver_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test_oldapi.h => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/acm_send_test.h
rename : media/webrtc/trunk/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest_oldapi.cc => media/webrtc/trunk/webrtc/modules/audio_coding/acm2/audio_coding_module_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack.cc => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_tracker.cc
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack.h => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_tracker.h
rename : media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_unittest.cc => media/webrtc/trunk/webrtc/modules/audio_coding/neteq/nack_tracker_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.c => media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_core_neon.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_resampler.c => media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_resampler.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/echo_cancellation.c => media/webrtc/trunk/webrtc/modules/audio_processing/aec/echo_cancellation.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_c.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_c.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_mips.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_mips.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/aecm_core_neon.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.c => media/webrtc/trunk/webrtc/modules/audio_processing/aecm/echo_control_mobile.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/agc/histogram.h => media/webrtc/trunk/webrtc/modules/audio_processing/agc/loudness_histogram.h
rename : media/webrtc/trunk/webrtc/modules/audio_processing/test/audio_processing_unittest.cc => media/webrtc/trunk/webrtc/modules/audio_processing/audio_processing_unittest.cc
rename : media/webrtc/trunk/webrtc/test/common_unittest.cc => media/webrtc/trunk/webrtc/modules/audio_processing/config_unittest.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator_wrapper.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/delay_estimator_wrapper.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_rdft_mips.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_mips.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_rdft_neon.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_neon.cc
rename : media/webrtc/trunk/webrtc/modules/audio_processing/aec/aec_rdft_sse2.c => media/webrtc/trunk/webrtc/modules/audio_processing/utility/ooura_fft_sse2.cc
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios.mm => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info.mm
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios_objc.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/device_info_ios_objc.mm => media/webrtc/trunk/webrtc/modules/video_capture/objc/device_info_objc.mm
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/rtc_video_capture_ios_objc.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/rtc_video_capture_objc.h
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/rtc_video_capture_ios_objc.mm => media/webrtc/trunk/webrtc/modules/video_capture/objc/rtc_video_capture_objc.mm
rename : media/webrtc/trunk/webrtc/modules/video_capture/ios/video_capture_ios.h => media/webrtc/trunk/webrtc/modules/video_capture/objc/video_capture.h
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/screenshare_layers_unittest.cc => media/webrtc/trunk/webrtc/modules/video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc
rename : media/webrtc/trunk/webrtc/p2p/base/constants.cc => media/webrtc/trunk/webrtc/p2p/base/p2pconstants.cc
rename : media/webrtc/trunk/webrtc/p2p/base/constants.h => media/webrtc/trunk/webrtc/p2p/base/p2pconstants.h
rename : media/webrtc/trunk/webrtc/base/objc/NSString+StdString.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/NSString+StdString.h
rename : media/webrtc/trunk/webrtc/base/objc/NSString+StdString.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/NSString+StdString.mm
rename : media/webrtc/trunk/webrtc/base/objc/RTCCameraPreviewView.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCCameraPreviewView.m
rename : media/webrtc/trunk/webrtc/base/objc/RTCDispatcher.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCDispatcher.m
rename : media/webrtc/trunk/webrtc/api/objc/RTCEAGLVideoView.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCEAGLVideoView.m
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceCandidate+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceCandidate.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceCandidate.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceServer+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceServer+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceServer.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCIceServer.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCStatsReport+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCLegacyStatsReport+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCStatsReport.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCLegacyStatsReport.mm
rename : media/webrtc/trunk/webrtc/base/objc/RTCLogging.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCLogging.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaConstraints+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaConstraints.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaSource.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaSource.mm
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaStreamTrack+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCMediaStreamTrack+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCNSGLVideoView.m => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCNSGLVideoView.m
rename : media/webrtc/trunk/webrtc/api/objc/RTCOpenGLVideoRenderer.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCOpenGLVideoRenderer.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCSessionDescription+Private.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCSessionDescription+Private.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCSessionDescription.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/RTCSessionDescription.mm
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.cc => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.cc
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_decoder.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_decoder.h
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.cc => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.cc
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu.h
rename : media/webrtc/trunk/webrtc/modules/video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc => media/webrtc/trunk/webrtc/sdk/objc/Framework/Classes/h264_video_toolbox_nalu_unittest.cc
rename : media/webrtc/trunk/webrtc/base/objc/RTCCameraPreviewView.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h
rename : media/webrtc/trunk/webrtc/base/objc/RTCDispatcher.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCDispatcher.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCEAGLVideoView.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCEAGLVideoView.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceCandidate.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceCandidate.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCIceServer.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCIceServer.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCStatsReport.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLegacyStatsReport.h
rename : media/webrtc/trunk/webrtc/base/objc/RTCLogging.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCLogging.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaConstraints.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaConstraints.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaSource.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaSource.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaStreamTrack.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCMediaStreamTrack.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCNSGLVideoView.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCSessionDescription.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCSessionDescription.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCVideoFrame.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCVideoRenderer.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoRenderer.h
rename : media/webrtc/trunk/webrtc/api/objc/RTCMediaSource.h => media/webrtc/trunk/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoSource.h
rename : media/webrtc/trunk/webrtc/api/objctests/RTCIceCandidateTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCIceCandidateTest.mm
rename : media/webrtc/trunk/webrtc/api/objctests/RTCIceServerTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCIceServerTest.mm
rename : media/webrtc/trunk/webrtc/api/objctests/RTCMediaConstraintsTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCMediaConstraintsTest.mm
rename : media/webrtc/trunk/webrtc/api/objctests/RTCSessionDescriptionTest.mm => media/webrtc/trunk/webrtc/sdk/objc/Framework/UnitTests/RTCSessionDescriptionTest.mm
rename : media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_mac.cc => media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_darwin.cc
rename : media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_posix.cc => media/webrtc/trunk/webrtc/system_wrappers/source/atomic32_non_darwin_unix.cc
rename : media/webrtc/trunk/webrtc/video/full_stack_plot.py => media/webrtc/trunk/webrtc/video/full_stack_tests_plot.py
rename : media/webrtc/trunk/webrtc/call/transport_adapter.cc => media/webrtc/trunk/webrtc/video/transport_adapter.cc
rename : media/webrtc/trunk/webrtc/call/transport_adapter.h => media/webrtc/trunk/webrtc/video/transport_adapter.h
rename : media/webrtc/trunk/webrtc/modules/utility/source/file_player_unittests.cc => media/webrtc/trunk/webrtc/voice_engine/file_player_unittests.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/channel_transport.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/channel_transport.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/channel_transport.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/channel_transport.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/traffic_control_win.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/traffic_control_win.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/traffic_control_win.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/traffic_control_win.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_manager_win.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_manager_win.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_manager_win.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_manager_win.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_win.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_win.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket2_win.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket2_win.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_posix.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_posix.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_posix.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_posix.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_unittest.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_unittest.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_wrapper.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_manager_wrapper.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_manager_wrapper.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_posix.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_posix.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_posix.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_posix.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_wrapper.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_wrapper.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_wrapper.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_wrapper.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_socket_wrapper_unittest.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_socket_wrapper_unittest.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport_impl.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport_impl.cc
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport_impl.h => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport_impl.h
rename : media/webrtc/trunk/webrtc/test/channel_transport/udp_transport_unittest.cc => media/webrtc/trunk/webrtc/voice_engine/test/channel_transport/udp_transport_unittest.cc
2017-06-13 01:52:22 -04:00
Ryan VanderMeulen b9fe830aa0 Merge inbound to m-c. a=merge
CLOSED TREE
2017-05-31 14:32:55 -04:00
Dan Minor f7fe01502f Bug 1354350 - libyuv should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno
This applies the fix from Bug 1354207 to the libyuv moz.build.

--HG--
extra : rebase_source : 006b869166a0c361fb006226a3769fb975b3dcb7
extra : amend_source : a3f9336cd38d07e37c31ec4f3f0614dee89cb1ed
2017-05-30 15:33:55 -04:00
Dan Minor f17b41d15d Bug 1354353 - nICEr and nrappkit should not build with NVALGRIND under MOZ_VALGRIND builds; r=drno
This applies the fix used in Bug 1354207 for webrtc to nICEr and nrappkit.

--HG--
extra : rebase_source : d3f1370c9100ca66272611348c1b3462e65cdfaf
2017-05-30 12:37:29 -04:00
Alex Chronopoulos 4c1cef4cb9 Bug 1368910 - Update cubeb from upstream to 3428c2b. r=kinetik
MozReview-Commit-ID: FIUMIri84Wr
2017-05-31 07:59:22 +03:00
Alfredo Yang 371305491a Bug 1368850 - fix warning message about enumeration value 'mp4parse_codec_MP4V' not handled. r=gerald
MozReview-Commit-ID: 9z6DMh872QR

--HG--
extra : rebase_source : 673b519119cbdd2d46ae20932be67b2ecc3916dc
2017-05-31 15:38:00 +08:00
Carsten "Tomcat" Book b318c7dca7 merge mozilla-inbound to mozilla-central + UPGRADE_NSS_RELEASE a=merge
--HG--
rename : toolkit/components/extensions/test/xpcshell/xpcshell.ini => toolkit/components/extensions/test/xpcshell/xpcshell-common.ini
extra : amend_source : 458fd54fe8070ca3034ac441267ff7025adb5251
2017-05-30 11:37:46 +02:00
Dan Glastonbury 9224fdaf13 Bug 1367646 - Update cubeb from upstream to 087dc94. r=kinetik
MozReview-Commit-ID: E1D2XCtugqW

--HG--
extra : rebase_source : 20d630e763aa840d1a07e0edf128206dd8b679e8
2017-05-25 14:45:04 +10:00
Petr Sumbera acc89e9d56 Bug 1367775 - libstagefright build should avoid _GLIBCXX_OS_DEFINES on Solaris. r=gerald 2017-05-29 00:36:19 -07:00
Nico Grunbaum e45ddffb1e Bug 1359775 - Part 1 - add RTCRtpContributingSourceStats;r=jib,smaug
Still left TODO:
  * add an aboutWebrtc.js section
  * write tests

MozReview-Commit-ID: DwFxq19KWeu

--HG--
extra : rebase_source : fad3018d851316af83df48c62db16028a1a84b5c
2017-04-26 04:27:13 -07:00
Phil Ringnalda 93e4bc0075 Backed out 2 changesets (bug 1363669) for stagefright_MPEG4Metadata.test_case_mp4 gtest failures
Backed out changeset 92c5898618c2 (bug 1363669)
Backed out changeset be3f9be99903 (bug 1363669)

MozReview-Commit-ID: 37We5EdBTQ4
2017-05-25 22:15:27 -07:00
Alfredo Yang 9a47aeaf13 Bug 1363669 - update rust mp4 parser for mp4v. r=kinetik
MozReview-Commit-ID: 3HhKbIxTBPV

--HG--
extra : rebase_source : 6dcb95775b5b196d02fa2fce0083742e5fc703fa
2017-05-25 14:33:36 +08:00
Alfredo Yang 3873af0c56 Bug 1363669 - add 'mp4v' mimetype for rust parser. r=kinetik
MozReview-Commit-ID: B6b3H3xfaav

--HG--
extra : rebase_source : d3561658d881ce80f0a1360a11e709d50f96545d
2017-05-18 15:48:26 +08:00
Jim Chen e7f79e098e Bug 1363885 - 2. Remove ViERenderer dependency on orientation listener; r=snorp
ViERenderer is not used anywhere but has a couple calls to the obsolete
GeckoAppShell orientation listener. The entire ViERenderer.java file is
getting removed in the upcoming WebRTC update, so we should just go
ahead and remove those lines.

MozReview-Commit-ID: AwG7dBg5MV8
2017-05-25 18:33:30 -04:00
Alfredo Yang 735198aa6d Bug 1363669 - update gtest about 'mp4v' video parsing. r=kinetik
MozReview-Commit-ID: 12taLJSJgVm

--HG--
extra : rebase_source : 2b45da30224d433b8c76d255815cbb185196bfd6
2017-05-26 17:05:39 +08:00
Alfredo Yang a87d972281 Bug 1363669 - update rust mp4 parser for mp4v. r=kinetik
MozReview-Commit-ID: 3HhKbIxTBPV

--HG--
extra : rebase_source : 6dcb95775b5b196d02fa2fce0083742e5fc703fa
2017-05-25 14:33:36 +08:00
Alfredo Yang 0725d6f5e0 Bug 1363669 - add 'mp4v' mimetype for rust parser. r=kinetik
MozReview-Commit-ID: B6b3H3xfaav

--HG--
extra : rebase_source : d3561658d881ce80f0a1360a11e709d50f96545d
2017-05-18 15:48:26 +08:00
Alfredo Yang 55d6ddef12 Bug 1365872 - remove parsing mp4v mCodecSpecificConfig which is for b2g. r=jya
MozReview-Commit-ID: G3l6AtEH0hO

--HG--
extra : rebase_source : bad9f7ae16715acb53826a494203cd7bbee138b3
2017-05-18 16:54:43 +08:00
Ralph Giles 1951777591 Bug 1367208 - Update to libopus 1.1.5. r=kinetik
This fixes a quality issue with the surround-sound encoder
handling loud signals.

MozReview-Commit-ID: EkzEqs9io6N

--HG--
extra : rebase_source : 15e31af6865f0726beae0a988cb986bd182bac8e
2017-05-23 13:38:45 -07:00
Nils Ohlmeier [:drno] 411dd4acd1 Bug 1366581: offer bundle support for single m-section. r=bwc
MozReview-Commit-ID: DYmjCmV1fKF

--HG--
extra : rebase_source : 1d9e60663e11261f4ef8fd578de149f9b9517910
2017-05-22 18:42:12 -07:00
Ryan VanderMeulen 22d214ae4b Merge autoland to m-c. a=merge 2017-05-23 10:32:42 -04:00
Alex Chronopoulos 9281e65d26 Bug 1366707 - Update cubeb from upstream to 96cdb17. r=kinetik
MozReview-Commit-ID: 3aiEtrl289U

--HG--
extra : rebase_source : 16ebdb2e20fc516047cc8f4974d6c9e6ec638fcb
2017-05-23 11:29:33 +03:00
Bruce Sun 04ae73ea81 Bug 1358023: (1/2) Refactor the dependency between libpng and freetype2; f=jfkthame, r=glandium
This refactor is for exposing necessary symbols of libpng for freetype2 in a
general way. Currently the necessary symbols of libpng for freetype2 are
exposed only on Android. And whether these symbols are exposed solely depends
on the target platform checking. A better way to decide whether or not to
expose these symbols would be checking the dependency of freetype2 directly.
2017-05-22 12:00:33 +08:00
Michael Froman da7254ecbf Bug 1339906 - pt 5 - add writable field to webidl for RTCIceCandidatePairStats and implement readable and writeable fields. r=drno,qdot
MozReview-Commit-ID: 6IODhX5mtnP

--HG--
extra : rebase_source : 30245be09b3b4bf057672cceb2d90d3393da035c
2017-06-06 17:33:02 -05:00
Michael Froman 1b76f106fd Bug 1339906 - pt 4 - add last sent and received timestamps to RTCIceCandidatePairStats. r=drno,qdot
MozReview-Commit-ID: GE23lS7qs9n

--HG--
extra : rebase_source : 5b39e4232258eca1807d3c962a2ed40c2724822b
2017-06-06 17:36:40 -05:00
Michael Froman eb58727687 Bug 1339906 - pt 3 - change componentId to transportId to match RTCIceCandidatePairStats spec. r=drno,qdot
MozReview-Commit-ID: Jfc2BOMt98v

--HG--
extra : rebase_source : db7bca1a23cc2f46cce778dd0638182cc1143791
2017-06-06 16:59:18 -05:00
Michael Froman 69f85fff44 Bug 1339906 - pt 1 - Add bytesSent and bytesReceived to RTCIceCandidatePairStats. r=drno,qdot
MozReview-Commit-ID: BQGPTUzRCB3

--HG--
extra : rebase_source : cd2abb970a07479c8425a13d12fc0fbaa487b00e
2017-06-06 16:30:56 -05:00
Michael Froman 55d8a7bd34 Bug 1368159 - change log statement for pre-existing local addresses from error to warning in nr_ice_set_local_addresses. r=drno
When I added this check during the modifications for Bug 1345511 (Move
nICEr stun local address discovery to an IPC call to enable future
sandbox restrictions on content process) I originally thought this was
more of an error condition, but it really isn't.  It can happen each
time the following method(s) is called:
  PeerConnectionMedia::EnsureTransports() ->
    GatherIfReady() ->
      EnsureIceGathering_s()

MozReview-Commit-ID: Ct3teqXBxWd

--HG--
extra : rebase_source : a116a8423fd999c4746e9375b8f42a6d908a1ea7
2017-06-07 13:38:46 -05:00
Michael Froman fd474519c7 Bug 1365291 - capture 'this' with RefPtr on dispatch to STS thread. r=jib
- Avoid any potential for this going away from underneath the dispatch
to STS thread.
- Added notes in PeerConnectionImpl on the test-only nature of the
AddRIDExtension, AddRIDFilter, and GetMediaPipelineForTrack methods.
PeerConnectionImpl::GetMediaPipelineForTrack by returning a reference
to the RefPtr instead of a copy.

MozReview-Commit-ID: EwMr9ulKtm8

--HG--
extra : rebase_source : 55c8b14f63020feda57accd2b4b331de708866c4
2017-05-16 16:07:33 -05:00
Michael Froman 117651c749 Bug 1325991 - sections with bundle-only should have port set to 0. r=drno
Now that Chrome release is bundle-aware, let's reapply the patch to
properly emit port 0 for m-lines in sections with the bundle-only
attribute.

MozReview-Commit-ID: 8RftSXIzIpD

--HG--
extra : rebase_source : 6f9c4cb6b322aec7c00060827e1f5e7852f8acfc
2017-05-08 14:06:54 -05:00
Nils Ohlmeier [:drno] edfc95cb55 Bug 1338521: don't over-write remote SSRC with random value r=jesup
MozReview-Commit-ID: CEZnuzxeHkz

--HG--
extra : rebase_source : 6541a71ca473af08075895e047218460e8407a2f
2017-04-28 16:00:06 -07:00
Nils Ohlmeier [:drno] 652aa12a75 Bug 1361206: warn about non-matching RTP header extension IDs. r=bwc
MozReview-Commit-ID: DLG5ICBydAK

--HG--
extra : rebase_source : dfc81395d47ddd25c9347e94e6cf630d727cdd43
2017-05-01 21:02:53 -07:00
Nils Ohlmeier [:drno] 4dd7f2dc11 Bug 1365090: use target bitrate instead of max for simulcast. r=bwc
MozReview-Commit-ID: GThcXHHnoCV

--HG--
extra : rebase_source : 352a82ad81858782898a10440ff77b4891af6a60
2017-05-16 16:15:04 -07:00
Nils Ohlmeier [:drno] 4d8185fc04 Bug 1365090: clear RID vector when reconfiguring send media codec. r=jesup
MozReview-Commit-ID: Bs5Cihjt8fV

--HG--
extra : rebase_source : 0e423cdf7b82ecca29aecc2c72601005b56786cd
2017-05-15 21:47:34 -07:00
Jean-Yves Avenard 410447cfc4 Bug 1365227: P2. Enforce that ExtractExtra data works on AVCC only. r=JamesCheng
MozReview-Commit-ID: ox5oaDvdfx

--HG--
extra : rebase_source : cb3386502b0e400543e9a2e6c8dd15c594377847
2017-05-16 14:51:24 +02:00
Jean-Yves Avenard dd9e7bd359 Bug 1365227: P1. Create AVCC header for converted annexB. r=JamesCheng
Otherwise AnnexB::IsAVCC will return false on those converted samples.

MozReview-Commit-ID: 6OBV6L49InL

--HG--
extra : rebase_source : b4c315583392cfe455d0932f4345a8a02e367f2f
2017-05-16 14:22:43 +02:00
Nathan Froyd c1d1748428 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Sebastian Hengst 819d69e9f8 Backed out changeset bbea5fa74727 (bug 1361984) on request from jya. r=backout a=backout
MozReview-Commit-ID: DxCysbtslYA
2017-05-14 21:38:48 +02:00
Nils Ohlmeier [:drno] 0f4a3fb4f5 Bug 1364325: replace AddLocalRTPExtensions with SetLocalRTPExtensions. r=bwc
MozReview-Commit-ID: G98AVhWA5FU

--HG--
extra : rebase_source : 4d24e3814adf60fc188e050760fc07a4010a9b15
2017-05-11 23:08:37 -07:00
Ralph Giles 72c31d122b Bug 1364237 - aom: Enable YASM for intel cpus. r=froydnj
I had removed the USE_YASM define in porting the libvpx
moz.build to libaom, to avoid depending on VPX_USE_ASM.
Turns out USE_YASM is a magic context define, without which
the build won't compile libaom's yasm-format .asm files,
so we need to define it for the two intel architecture
source sets.

Restore the define unconditionally for intel targets.
We require yasm in the default build for those targets,
and want to fail if it isn't available to block performance
regressions.

MozReview-Commit-ID: CqGtY8RNLNf

--HG--
extra : rebase_source : ccc7f9dfc467642d9e4c623c55e54e769fb38f2f
2017-05-11 15:31:50 -07:00
Ralph Giles 105c65063a Bug 1364237 - aom: Remove obsolete 32-bit macOS build config. r=froydnj
We no longer support 32-bit x86 macOS, and
these flags point to configurations we
don't generate.

MozReview-Commit-ID: 3mIfHCf6aUj

--HG--
extra : rebase_source : 35b5089ade7f9d5d03e5f4d3f0760cc969b4b8c7
2017-05-11 13:56:51 -07:00
Nils Ohlmeier [:drno] 9b6b4c7751 Bug 1363563: remove and erase existing header extensions. r=mjf
MozReview-Commit-ID: IzVEaOhLNwR

--HG--
extra : rebase_source : 0574353c3f0be051fe766090802a5d91d41077e9
2017-05-10 16:19:40 -07:00
Michael Froman d13f3ad75f Bug 1361139 - pt 2 - remove test-related SSRC filtering from MediaPipeline. r=drno
Now that RID filtering (Bug 1358224) has fixed the intermittant oranges
from Bug 1351531 and 1351590, remove the functionality from MediaPipeline.

MozReview-Commit-ID: 1rED3iaHRCK

--HG--
extra : rebase_source : 5539f9badc99a8abfcf5419b436718233e9ab567
2017-05-05 17:32:01 -05:00
James Cheng bbc9597929 Bug 1361984 - Fix the logic of AnnexB::ConvertSampleToAnnexB that checks the sample's extradata field even the sample is AVCC format converted by ConvertSampleToAVCC from AnnexB format. r=jya
MozReview-Commit-ID: C5cAlvRwkYj

--HG--
extra : rebase_source : 58e0ea5939446f21395a417ce23ffd2b91f5d83c
2017-05-11 16:43:12 +08:00
Munro Mengjue Chiang 6856ba9b3d Bug 1363259 - set min and max fps through AVCaptureConnection. r=jib
MozReview-Commit-ID: 4GY1gOICLqU

--HG--
extra : rebase_source : 97b50fa34186f9c92f0d01e1d486137b5159a8bd
2017-05-09 10:28:31 +08:00
Ralph Giles f56cb16c14 Bug 1336153 - Remove MOZ_RUST. r=ted
We now have code that unconditionally requires the rust
compiler and are committed to adding more. Remove this
last vestige of conditional support.

MozReview-Commit-ID: EK6FBnAbR

--HG--
extra : rebase_source : 6efda10a74f9ca0482304c2b1ffe6941e42138f8
2017-05-09 11:36:13 -07:00
Andrea Marchesini 667a1e29ae Bug 1363395 - nsGlobalWindow::GetLocation should support to be called on the outer window, r=smaug 2017-05-09 22:41:19 +02:00
Alex Chronopoulos 517b0f8cbf Bug 1362334 - Update cubeb from upstream to 26a50b0. r=kinetik
MozReview-Commit-ID: KQXwt0DJHvP
2017-05-09 09:49:30 +03:00
Andrea Marchesini 11d4a9bf51 Bug 1363102 - Add a error check of Location::ToString in PeerConnectionImpl.cpp, r=mystor 2017-05-08 19:48:03 +02:00
Andrea Marchesini a67a0a31e8 Bug 1362003 - nsGlobalWindow::GetLocation doesn't need to receive an ErrorResult param, r=bz
Renaming nsGlobalWindow::GetLocation() to Location().
2017-05-08 15:49:31 +02:00
Ralph Giles 59ccc608ee Bug 1314147 - Generate build description for libaom. r=froydnj,kinetik
Result of running generate_sources_mozbuild.sh.

MozReview-Commit-ID: DFmYUs5LRlG

--HG--
extra : rebase_source : 5360198dfe600017d4c5f624cdefe569cdfccc9e
2017-04-14 10:36:43 -07:00
Ralph Giles a3714d238c Bug 1314147 - Port the libvpx mozbuild generator to aom. r=froydnj,kinetik
This is a port of the libvpx scripts, themselves a port of
Chromium's scripts to generate an external build description
using hooks in the upstream configure and make scripts.
The libaom library is a fork of libvpx so we can use a similar
approach.

I've put the upstream source in $(topsrc_dir)/third_party/aom
but the build description and any patches are under the media
directory with the other codecs, similar to how zlib works.

Config files and headers generated by the upstream build system
are also under $(topsrc_dir)/media/libaom/.

MozReview-Commit-ID: ATLgOTPD2i1

--HG--
extra : rebase_source : c0fdcdb41a5bac5fdf64f773458cb62937fc9dd8
2017-04-12 17:01:43 -07:00
Carsten "Tomcat" Book b5f09cc95b Backed out changeset 2c7d3f3cb9e8 (bug 1336271) on request for possible memory issues 2017-05-05 09:04:09 +02:00
Alfredo Yang 9006749e49 Bug 1336271 - ignore ftyp box when parsing mp4 metadata. r=jya
MozReview-Commit-ID: IarGzXtmGQ2

--HG--
extra : rebase_source : 0926bda331f491f9b14ab8da18be29d1a1b5e6da
2017-05-03 16:55:00 +08:00
Dan Glastonbury 4f5a7952ca Bug 1360053 - Fetch version dbcd7f of cubeb-pulse-rs from github. r=kinetik
MozReview-Commit-ID: 8vy5Sy1430s

--HG--
extra : rebase_source : 72b3370258affb14dfa2754b1816eea13a4d1e2e
2017-04-27 10:06:33 +10:00
Chris Pearce 12f8d2203e Bug 1352556 - Validate output of MFGetAttributeSize. r=gerald
MozReview-Commit-ID: J1NirhKfTK6
2017-05-01 16:12:27 +12:00
Jim Chen 5b467557ab Bug 1357873 - Fix format warning in webrtc; r=jesup
Use printf macros to fix format warnings on AArch64.
2017-05-01 14:46:01 -04:00
Jim Chen 55f9cd162e Bug 1357873 - Fix format warning in omx-plugin; r=cpearce
Use printf macros to fix format warnings on AArch64.
2017-05-01 14:46:01 -04:00
Michael Froman 4e635ff251 Bug 1358224 - pt 3 - fix leak in RTPHeaderExtension's rid char buffer. r=drno
Turns out since Firefox doesn't receive simulcast streams, we never
noticed this leak.  Convert RTPHeaderExtension.rid from a char* to
rtc::scoped_ptr<char[]> so it gets deleted properly.  This also
requires a new copy constructor and assignment operator.

MozReview-Commit-ID: Jh4Gp4dAl9g

--HG--
extra : rebase_source : 8c1081fecd6e56a8f932af54fbd294adb85866f5
2017-04-27 12:27:02 -05:00
Michael Froman efa82b57bc Bug 1358224 - pt 2 - change to RTP stream id filtering on simulcast mochitests. r=drno
The simulcast mochitests setup the receiving PeerConnection to receive
simulcast video streams which Firefox doesn't really support.  Without
a test media server, this is about the best we can do and still test
simulcast.

Unfortunately the two simulcast streams arriving with different ssrcs
(as expect) exercises code we have to deal with some services switching
ssrcs midstream.  In the tests, this causes intermittent failures
because the test is waiting to receive a certain ssrc, and the receiving
VideoConduit has switched to the other ssrc.

This change adds the ability to filter on RID at the MediaPipeline level,
which we can setup prior to media flowing.  This avoids the ssrc switching
issue since the VideoConduit only receives one ssrc until we change the
RID filter to the second RID.  At that point, the VideoConduit sees a new
ssrc and the switching code works as intended.

The modified mochitests setup the RTP stream id header extension, and then
filter on each of the RTP stream ids in turn.

MozReview-Commit-ID: KApfaxMX8rl

--HG--
extra : rebase_source : d7ae88d9675acd7b3700f342ca6a68d0bbb0ced5
2017-04-26 10:51:00 -05:00
Michael Froman c526c139fc Bug 1358224 - pt 1 - addRIDExtension and addRIDFilter chrome-only API for RID (RTP Stream Id) filtering of receive tracks. r=qdot
The simulcast mochitests exhibit an intermittent failure due to ssrc-based
filtering that can be solved by filtering by RID.  The RTP header parser
used in MediaPipeline also needs to have the RID RTP header extension
specified in order for it to properly parse the RTP header and allow
filtering on RID.

MozReview-Commit-ID: E54HCGLVYDk

--HG--
extra : rebase_source : b53085f23cb6558611aa7622f55637e19439c9c3
2017-04-26 10:01:07 -05:00
Carsten "Tomcat" Book 1045b9730a merge mozilla-inbound to mozilla-central a=merge 2017-04-28 10:36:11 +02:00
Ralph Giles b50ae2a480 Bug 1360396 - Update nestegg from upstream. r=kinetik
Pull recent changes from the upstream nestegg webm parser
repo. This include a definition of NESTEGG_CODEC_AV1 for
supporting the Alliance for Open Media's AV1 video codec,
and a fix for an unitialized variable warning.

MozReview-Commit-ID: EC1WsaFYlqo

--HG--
extra : rebase_source : 22139c35e505b9cf3c165ff76cdfaaea953baf4d
2017-04-27 17:14:25 -07:00