Commit Graph

5710 Commits

Author SHA1 Message Date
Dorel Luca
1208bc03a7 Merge mozilla-central to autoland r=merge on a CLOSED TREE
--HG--
extra : rebase_source : 5f22b0e83fd5f1b28e0c1ebbcc429c332835eb36
2017-12-07 00:27:29 +02:00
Sylvestre Ledru
2599c6df9b Bug 1420414 - Remove libvorbis/todo.txt and rename README => README.md just like upstream r=rillian
MozReview-Commit-ID: CVCFnA2eyvV

--HG--
rename : media/libvorbis/README => media/libvorbis/README.md
extra : rebase_source : 6937f8ff548a675c52ee4f7cc2b34db3481d37c3
2017-12-06 21:05:13 +01:00
Sylvestre Ledru
cfc98dfe7d Bug 1420414 - Update of the update.sh vorbis script r=rillian
* +x on the script
* add the #!/bin/sh
* check the number of args
* readme has been renamed
* todo.txt no longer exits

MozReview-Commit-ID: 67JIO610CNg

--HG--
extra : rebase_source : ee717814cb1f2cd64369caa0c7ee89dedad61c66
2017-12-06 21:00:48 +01:00
Byron Campen [:bwc]
184f4a9578 Bug 1421965: Avoid nullptr crash when conduits cannot be created. r=drno
MozReview-Commit-ID: AdWiIbpFP0Y

--HG--
extra : rebase_source : 5e2327f1ddf2249ba0f55c5dcbb4acdf49b65133
2017-12-04 12:57:26 -06:00
Paul Adenot
f73796a286 Bug 1397793 - Revert Mozilla changes to OutputMixer r=jesup
The MSG provides the reverse stream, and feed it directly to the APM.

MozReview-Commit-ID: A6DO407CJkp

--HG--
extra : rebase_source : 65515c02928ed56d57ddd2facd586125df7f09ec
extra : histedit_source : fc61533566deca6023cb749acda96b5772661ebc
2017-10-31 17:40:19 +01:00
Paul Adenot
42b91c9e61 Bug 1397793 - Move away from VoEExternalMedia "external" API in AudioConduit.cpp. r=dminor
This forces us to do a copy. It's not the end of the world but could be avoided.
The number of channels received is now explicit (via
`AudioFrame::num_channels_`), instead of being guessed based on the number of
samples (considering we're always dealing with 10ms of audio, and we know the
rate).

It's still coupled a bit with audio devices, but we cheat, and use a "fake audio
device", which isn't going to touch actual OS APIs.

MozReview-Commit-ID: 1Tfajkv1HQR

--HG--
extra : rebase_source : f9ed6f1beeb3745dc17c4e6264808d1918e8906c
extra : histedit_source : 4338aea961b861462caa79afab66ebaea06e40b2
2017-10-31 17:33:42 +01:00
Paul Adenot
43c980e20d Bug 1397793 - Use the MSG rate in MediaPipeline/PeerConnectionImpl. r=pehrsons
We used to fix the rate, arbitrarily, to 32kHz. Because the graph is almost
never running at 32kHz (more like 44.1kHz or 48kHz), and the codec would often
not be at 32kHz, this meant multiple resampling:
- Once here, in MediaPipeline, to bring to 32kHz
- Once when getting inserted in the MSG (so that the audio was brought back to
MSG rate)
- Maybe once in cubeb (depending on the platform)

This always removes the second resampling: the track is now at the correct rate,
as far as the MSG is concerned.

Additionally, if the MSG is running at 48kHz, more resampling are saved, because
it's one of the native webrtc.org rates.

MozReview-Commit-ID: DBWcwuWxUpu

--HG--
extra : rebase_source : 588d188f63237f1ce2cb0f2b290d54797d2d22e8
extra : histedit_source : 51733a22f6019140f7a309038a2ff524fbb564a4
2017-10-31 17:24:26 +01:00
Paul Adenot
15fe8a65ea Bug 1397793 - Delete old-deprecated VoEExternalMedia. r=dminor
MozReview-Commit-ID: C2189mFvWiY

--HG--
extra : rebase_source : 9182b1c9ddc8548cb0687b63bf850d94627dd505
extra : histedit_source : e115740ff0e51c5af4bdc596e9833728d91a6ed7
2017-10-31 17:17:20 +01:00
Sebastian Hengst
586a1914e3 merge mozilla-central to autoland. r=merge a=merge 2017-12-05 01:37:16 +02:00
Nico Grunbaum
b3714d4280 Bug 1422987 - Correct override warning in RtpSourceObserver work. r=mjf, a=RyanVM
MozReview-Commit-ID: 6bkbBfodlUH
2017-12-04 14:19:46 -08:00
Nils Ohlmeier [:drno]
36b122125e Bug 1421819: only init Call object in Tranceivers. r=bwc
MozReview-Commit-ID: 7Rhk9470BVO

--HG--
extra : rebase_source : 173bd1da34fec75dcf5be9b0230ef3c9aa46e960
2017-11-30 17:46:32 -08:00
Nico Grunbaum
34b88025d1 Bug 1363667 - P2.1 - Fix jsep extmap unit test r=mjf
MozReview-Commit-ID: A5aqX2t5Lqu

--HG--
extra : rebase_source : ff985e6046bb1819a9489f5af4d4c316d6905005
2017-11-21 14:51:26 -08:00
Nico Grunbaum
98751926ce Bug 1363667 - P7 - RTP Source mochitests r=mjf
MozReview-Commit-ID: D4kBN2hVYpo

--HG--
extra : rebase_source : 02a668baf6c6880c2029c23fac7c433978c68d6c
2017-11-14 10:34:53 -08:00
Nico Grunbaum
a3f1b24f7a Bug 1363667 - P6 - RTP Source PeerConnection JS impl r=mjf
MozReview-Commit-ID: CkFY5fABkr

--HG--
extra : rebase_source : 85e274f27600affb29d09e16f9c6d43dee191df3
2017-11-14 10:32:07 -08:00
Nico Grunbaum
89b0c3e5e9 Bug 1363667 - P4 - RTP Source Observer unit tests r=mjf
MozReview-Commit-ID: DuFqdReT7JD

--HG--
extra : rebase_source : 2341750f103f391b2e7903f1fed21252df2e95bb
2017-11-14 10:26:04 -08:00
Nico Grunbaum
b42a174bc8 Bug 1363667 - P3 - RTP Source Observer r=mjf
MozReview-Commit-ID: BwZhi49KlfB

--HG--
extra : rebase_source : b6b9230d07848952a200d2ded956d39439e5dc1e
2017-11-14 10:17:10 -08:00
Nico Grunbaum
9dbbdd4080 Bug 1363667 - P2 - Add RTP Sources RTP header extensions r=mjf
MozReview-Commit-ID: JVPR5OhHMOR

--HG--
extra : rebase_source : 15ee770fa7eb56b606ec1a497a43710207300c3e
2017-11-14 09:32:29 -08:00
Daniel Holbert
d84cb4a5a7 Bug 1412240 part 2: Compile ffvpx library with -ffreestanding, to avoid triggering clang bug in icecc configurations. r=glandium,jya
Specifically: without this fix, icecc + clang users will hit this clang bug when compiling stdatomics.h:
  https://bugs.llvm.org/show_bug.cgi?id=26828

MozReview-Commit-ID: BJUN82HyXpF

--HG--
extra : rebase_source : 3f06d3401198de45240aa9f0c7c865e048f90b89
2017-11-30 10:57:07 -08:00
Daniel Holbert
945b072cbc Bug 1412240 part 1: Add a preemptive stdlib.h include in our libavutil_visibility.h hackaround file. r=jya
MozReview-Commit-ID: 8nmOy2aqPA0

--HG--
extra : rebase_source : 485e205af8fbb205c81929e12eac00410570124d
2017-11-30 11:48:28 -08:00
Munro Mengjue Chiang
14192dcba4 Bug 1388219 - down scale camera output frame to the target capability. r=jib
MozReview-Commit-ID: 7dlbWXndbgf

--HG--
extra : rebase_source : d29809c0b898648b535afdd2c9e3e97a297d99e0
2017-12-01 10:12:51 +08:00
Noemi Erli
ee9a2b7acc Backed out changeset 57c4f4fea139 (bug 1412240)for Static failures in /usr/include/bits/stdlib.h:91:3: "Assumed value of MB_LEN_MAX wrong" r=backout on a CLOSED TREE
--HG--
extra : amend_source : b954696ebb772b1a9f69e0bb9b23f824e05cb779
2017-11-30 12:47:38 +02:00
Daniel Holbert
adec63f306 Bug 1412240: Compile ffvpx library with -ffreestanding, to avoid triggering clang bug in icecc configurations. r=glandium,jya
Specifically: without this fix, icecc + clang users will hit this clang bug when compiling stdatomics.h:
  https://bugs.llvm.org/show_bug.cgi?id=26828

MozReview-Commit-ID: BJUN82HyXpF

--HG--
extra : rebase_source : dde23b590c3eebe9fb56dba2d81738059efde654
2017-11-25 10:21:03 -08:00
Ryan VanderMeulen
5395ec18d2 Backed out 3 changesets (bug 1421025, bug 1388219) for causing bug 1421706 on a CLOSED TREE.
Backed out changeset 1a69438ec05f (bug 1421025)
Backed out changeset 213c2c200c08 (bug 1388219)
Backed out changeset 341aaeb4ce69 (bug 1388219)
2017-11-29 17:00:27 -05:00
Dorel Luca
be78e6ea9b Merge inbound to mozilla-central r=merge a=merge 2017-11-29 12:26:15 +02:00
Dorel Luca
f1b2e9a5b8 Backed out changeset 98a1ef2f2b30 (bug 1414829) for merge conflict 2017-11-29 12:24:09 +02:00
Dorel Luca
d23400b578 Backed out changeset 47c4c885164f (bug 1414829) for merge conflict 2017-11-29 12:22:35 +02:00
Tiberius Oros
18ea9ecad9 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE
--HG--
rename : devtools/client/webconsole/new-console-output/test/mochitest/test-bug-618078-network-exceptions.html => devtools/client/webconsole/new-console-output/test/mochitest/test-network-exceptions.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.html => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.html
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js
rename : devtools/client/webconsole/new-console-output/test/mochitest/test_bug1092055_shouldwarn.js^headers^ => devtools/client/webconsole/new-console-output/test/mochitest/test-subresource-security-error.js^headers^
extra : rebase_source : e126b0ab427161de0acd67cdfb9a1434415412dc
2017-11-29 02:25:59 +02:00
Jesse Schwartzentruber
5b3e545888 Bug 1419798 - Only build fuzzing interfaces if clang or AFL compilers are used. r=glandium
MozReview-Commit-ID: H1I9wdqTV4n

--HG--
extra : rebase_source : 18eb2536a5db80c585828ae44329f1a00d82209a
2017-11-22 11:21:09 -05:00
Alex Chronopoulos
2e3d7ac97e Bug 1421267 - Update cubeb from upstream to e17ba01. r=padenot
MozReview-Commit-ID: 8s9ZPsZkxD4

--HG--
extra : rebase_source : 540d20626dbe01a317c36ce77f7c2e856996d2e0
2017-11-28 16:27:34 +02:00
Randell Jesup
db7beeb540 Bug 1415582 - Mirror changes done to Encoder InitDone to decoder. r=bwc 2017-11-08 11:00:24 -05:00
Dan Minor
60e9120105 Bug 1414829 - Fix VideoConduitTest gtest assertion failures; r=drno on a CLOSED TREE
--HG--
extra : rebase_source : c608cf5dd89ac08a6cd281dcc8224a03de7ad57b
extra : amend_source : 8ad11cc46a1d83ff48f68b59c9c6317d4a8439bd
2017-11-28 15:58:47 -05:00
Dan Minor
9f925cd4fa Bug 1417797 - Stop callback in WebrtcGmpVideoDecoder::ReleaseGmp; r=jesup
--HG--
extra : rebase_source : 135df1636edd214d55398d8884d7778d07aebcfe
2017-11-20 07:09:19 -05:00
Dan Minor
5def7db0a1 Bug 1414829 - Add DeleteStreams to media conduits; r=jesup
MozReview-Commit-ID: AQbHQVigoTd

--HG--
extra : rebase_source : 07c0c84eb2575d98d80e30423734979bc66d9977
2017-11-08 10:51:05 -05:00
Byron Campen [:bwc]
b2254c16eb Bug 1290948 - Part 8: Don't cause ICE to fail if there's no streams to establish. r+drno r=drno
MozReview-Commit-ID: 4wxlK9w3sL6

--HG--
extra : rebase_source : 06a01ef64beb1352cee503349a287a511de50053
2017-09-29 09:16:14 -05:00
Dan Minor
14aa323f6f Bug 1406937 - Add unittests for the video-encode path through VideoConduit; r=pehrsons
MozReview-Commit-ID: 8pxdYORXmlP

--HG--
extra : rebase_source : d19427e587230acd5df751a23696255cc5d6b1bf
2017-11-24 11:38:12 -05:00
Alex Chronopoulos
be5209e3f2 Bug 1420930 - Update cubeb from upstream to 8a0a300. r=padenot
MozReview-Commit-ID: 7JriSdO8TTf

--HG--
extra : rebase_source : 37732a6d51ac9bc9cafdbe7d886d7c2e05d88c5f
2017-11-27 18:16:16 +02:00
Munro Mengjue Chiang
aa4f8e8705 Bug 1388219 - down scale camera output frame to the target capability. r=jib
MozReview-Commit-ID: BpAhwYrgHtA

--HG--
extra : rebase_source : 0213c8c820765898a0509ec7845c487d7fa0c230
2017-11-17 23:48:49 +08:00
James Cheng
1c2ea0c110 Bug 1417297 - Part1 - Convert gmp-clearkey to use Chromium ContentDecryptionModule_9 interface. r=cpearce
1. Make ClearKeyCDM inherits cdm::ContentDecryptionModule_9
2. Pass cdm::Host_9 instance instead of cdm::Host8
3. Modify the manifest to 1.4.9

MozReview-Commit-ID: JbeBm5YNZ22

--HG--
extra : rebase_source : feb6aa44e361cb68f8a75284e79b1617609438a4
2017-11-23 16:47:13 +08:00
Nils Ohlmeier [:drno]
0cc879cf44 Bug 1230759: Part 3 - changes to signaling to work with libsrtp 2.2 r=jesup
MozReview-Commit-ID: BHyoeIyQOJy

--HG--
extra : rebase_source : ec6260f390dfc4ba36c115426bd4ea24d9f0b340
2017-11-07 22:04:23 -08:00
Dan Minor
e8f6af16d7 Bug 1406935 - Add unittests for ConfigureRecvMediaCodecs; r=pehrsons
MozReview-Commit-ID: BHeHPVmeBYm

--HG--
extra : rebase_source : be59d684fe8eabcb5515fc8399da7b6ed010135f
2017-11-16 14:13:23 -05:00
Dan Minor
574910af02 Bug 1406935 - Initialize mRembFbSet in VideoCodecConfig ctor; r=mjf
MozReview-Commit-ID: B99JXDxkoYk

--HG--
extra : rebase_source : 183a2172f6d32a029dc7d19908873bddea66c711
2017-11-22 11:48:42 -05:00
Dan Minor
eaf37cc4c4 Bug 1406935 - Add unittests for ConfigureSendMediaCodec; r=pehrsons
MozReview-Commit-ID: 9yYxdOYmNtx

--HG--
extra : rebase_source : ee63d061fe14b6f0370283d2e0e56ea5a8873c70
2017-10-23 15:26:03 -04:00
Dan Minor
b2e561f2b6 Bug 1406935 - Reset FEC payload types in ConfigureSendMediaCodec; r=mjf
MozReview-Commit-ID: 7z0lsof3rUm

--HG--
extra : rebase_source : 12daa5329df9de7dbb87c8bd166395dcd0d53fe2
2017-11-22 11:44:35 -05:00
Dan Minor
2953ba72a4 Bug 1406935 - Ensure maximum bitrate is at least minimum bitrate in VideoConduit; r=pehrsons
MozReview-Commit-ID: ImKXYTN7WtM

--HG--
extra : rebase_source : 4645fe9ee5f75762a692d68b3568885e96a191b7
2017-11-22 11:43:46 -05:00
Dan Minor
4c65912b7d Bug 1406935 - Add mocks for AudioStreams, VideoStreams and Call; r=pehrsons
MozReview-Commit-ID: AL0iudPJKED

--HG--
extra : rebase_source : a40c16fa6ffb3807912af0f7fbd5316a1b23ff66
2017-10-23 14:57:41 -04:00
Matthew Gregan
e88ffe59d1 Bug 1419627 - Update mp4parse-rust to cbindgen version. r=rillian
MozReview-Commit-ID: CJwg8isx8Jk

--HG--
extra : rebase_source : 74086f8e6a40f3a3d2e5f75407c06dfa03e6736d
2017-11-22 15:18:00 +13:00
Byron Campen [:bwc]
9fed82e6f6 Bug 1290948 - Part 6: Remove some unused code. r+drno r=drno
MozReview-Commit-ID: G1uxg77wO78

--HG--
extra : rebase_source : bb8f7238bebb48251967cc453257ea6665095535
2017-08-23 16:15:11 -05:00
Byron Campen [:bwc]
7a8dcf7887 Bug 1290948 - Part 5: TransceiverImpl and some major refactoring. r+drno r=drno
MozReview-Commit-ID: 3IBAch7xVNG

--HG--
extra : rebase_source : 7379357abe05ef043260a13faf2bcebbcd2b1d39
2017-08-23 16:12:43 -05:00
Byron Campen [:bwc]
46f6fa03a6 Bug 1290948 - Part 4: Transceivers JSEP/SDP work. r+drno r=drno
MozReview-Commit-ID: JwK3It3UA5M

--HG--
extra : rebase_source : e1a5afa85ed544ab0acac08240b6007954e289e4
2017-08-23 15:55:05 -05:00
Munro Mengjue Chiang
7afd6261d5 Bug 1418871 - release RWLock before return if CreateCapabilityMap failed. r=jib
MozReview-Commit-ID: 7wPGf4Dxjq5

--HG--
extra : rebase_source : 1bb561a454f4a26d0d8f40aa1efef7aaab1fe572
2017-11-20 15:04:42 +08:00