Commit Graph

5855 Commits

Author SHA1 Message Date
Michael Froman
2383b3776a Bug 1414169 - pt 4 - Trickled ICE candidates are highlighted with a light blue background. r=ng
MozReview-Commit-ID: JEMmf9LjvYd

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

MozReview-Commit-ID: HuP3IxYOOBJ

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

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

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

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

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

FakeAudioDeviceModule is _not_ made to be used in production.

MozReview-Commit-ID: FoGs6GFsRRN

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

--HG--
extra : rebase_source : 5a05a3de3123db26ac2facb0e6ffdf6f9a0815f0
2017-12-15 21:45:35 +01:00
Jean-Yves Avenard
9c5a09051e Bug 1404997 - P26. Give Await the threadpool to use. r=gerald
This allows to re-use the SharedThreadPool across calls, preventing the need to create a new thread on each call.

MozReview-Commit-ID: CbP6OTYKhHL

--HG--
extra : rebase_source : 969f2c74f00614d6265fe0e25abfb36c9648d564
2017-12-15 20:06:38 +01:00
Jean-Yves Avenard
1769747959 Bug 1404997 - P23. Strongly enforced that our destination buffer is big enough. r=padenot
MozReview-Commit-ID: A1kLsH75SzX

--HG--
extra : rebase_source : bcc4460507638ef36986ad519e48ba2d4596f4cf
2017-12-13 18:44:30 +01:00
Jean-Yves Avenard
485b10a8b0 Bug 1404997 - P22. Make mConduit release on main thread consistent. r=pehrsons
There's no need for a custom class to perform this task.

MozReview-Commit-ID: JxpDQVM97fl

--HG--
extra : rebase_source : 8387efa0ed3add9e4a42daed98e97372d9cabee5
2017-12-11 00:32:00 +01:00
Jean-Yves Avenard
0c03c673b3 Bug 1404997 - P21. Make MediaPipelineReceiveAudio listener asynchronous. r=pehrsons
We keep the synchronous version that will be used in bug 1424653

MozReview-Commit-ID: JTGaRYm20ca

--HG--
extra : rebase_source : aa694b7ac4f03322edbdefd64cefd198c0909cec
2017-12-11 00:16:24 +01:00
Jean-Yves Avenard
c32881f98c Bug 1404997 - P19. Use new Await method with WebrtcMediaDataDecoder. r=gerald
MozReview-Commit-ID: nRQL312aDE

--HG--
extra : rebase_source : d63e120d24ab4e7f10843387b321fa2ed05f5af3
2017-12-08 17:30:28 +01:00
Jean-Yves Avenard
d9f13cf692 Bug 1404997 - P12. Remove unused TrackAddedCallback class. r=pehrsons
MozReview-Commit-ID: HGe6RjwwC5z

--HG--
extra : rebase_source : f283f958fd8197a31630991f60217117c48daabc
2017-12-05 11:38:11 +01:00
Jean-Yves Avenard
bc93df2fbe Bug 1404997 - P11. More constness fixes. r=pehrsons
MozReview-Commit-ID: 5qgO43V9R9P

--HG--
extra : rebase_source : 6f387e73486079737c066420a3e95f15c1c0ac16
2017-12-05 00:07:52 +01:00
Jean-Yves Avenard
f702757959 Bug 1404997 - P9. Remove unused member and accessor. r=pehrsons
MozReview-Commit-ID: HAO4NTXHJp1

--HG--
extra : rebase_source : b295c0409fa480755f1a925471d8bbda70ca8b5e
2017-12-17 10:15:59 +01:00
Jean-Yves Avenard
4139ca0019 Bug 1404997 - P8. Follow coding style for members and methods. r=drno,padenot
It allows to more easily distinguish between methods from upstream webrtc.org and our code.

MozReview-Commit-ID: ILQhEAYbSmc

--HG--
extra : rebase_source : 934505afddcca9253b00c4094776c95a087058fb
2017-12-08 21:32:38 +01:00
Jean-Yves Avenard
b8ec246a1f Bug 1404997 - P7. Simplify played time calculations. r=pehrsons
Now that the graph rate match the one out of NetEQ, we can remove an unecessary conversion.

Additionally, move a member from the base case to the only one where it's used.

MozReview-Commit-ID: II5mdcl0vhK

--HG--
extra : rebase_source : 1d9edfc2803c3fadde7505b4d84293640e4311e0
2017-12-08 20:58:09 +01:00
Jean-Yves Avenard
2ecd33016c Bug 1404997 - P6. Fix constness were applicable. r=pehrsons
MozReview-Commit-ID: JPlZpRz4A9w

--HG--
extra : rebase_source : c788018469818489965756866765e0872c3fa741
2017-11-30 20:48:48 +01:00
Jean-Yves Avenard
af842a70cd Bug 1404997 - P4. Make AudioProxyThread use AutoTaskQueue. r=pehrsons
Also, pass arguments are const reference.
We also rename class members as per coding style.

MozReview-Commit-ID: 9IkV8wCMpz7

--HG--
extra : rebase_source : 6dc8285342742bf19dd2d03f66dd0668fc32bbcc
2017-11-30 16:27:37 +01:00
Jean-Yves Avenard
d9f0678a3a Bug 1404997 - P3. Rename some VideoFrameConverter members per coding style. r=pehrsons
MozReview-Commit-ID: Dsi5ZdD3Tay

--HG--
extra : rebase_source : 6faef2c1913da77b5978ccbfedfbe870d3c75e9e
2017-11-30 16:25:52 +01:00
Jean-Yves Avenard
6ae2d7162b Bug 1404997 - P2. Use AutoTaskQueue in VideoFrameConverter. r=pehrsons
It removes the need to explicitly shutdown the taskqueue and wait on the taskqueue to have run all dispatched task.
We do want to enforce that no listeners are being called once the VideoFrameConverter's owner has been destroyed as it could potentially lead to a UAF.
For now, access is okay as all operations are performed on the MSG's thread.
However, this will change in follow up patches.
The SourceMediaStream keeps a raw pointer to the MSG, and check if it's value isn't null to determine if the MSG has been shutdown or not, however SourceMediaStream::mGraph isn't thread safe as its access isn't protected by a mutex/monitor.

MozReview-Commit-ID: 1QsJAzPuE6L

--HG--
extra : rebase_source : 35f34450e62ff1f445ad6ccd06c6f6cbd3c6ed54
2017-11-30 16:23:28 +01:00
Jean-Yves Avenard
2fa0e45609 Bug 1404997 - P1. clang-format MediaPipeline.{cpp,h}. r=pehrsons
It's bound to be done automatically, makes it easier to modify later.

MozReview-Commit-ID: IQ5TBtS8Z3v

--HG--
extra : rebase_source : 0b1a326ada5761cfa50c33acbff9b61cf4e59c8c
2017-11-30 13:47:27 +01:00
Paul Adenot
1d9f5026c1 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 : df4ad965c171eab5a72a8d09e0305b1e79325a03
extra : source : e92ff1339db1ca5affa56ccdbec1c8b3836bcd95
2017-10-31 17:40:19 +01:00
Paul Adenot
2c9ab89b7c 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 : c0c8c240621b076bb3b056689f45289212498903
extra : source : 9e92591ba6dcb18364da98756c645c91bfe81517
2017-10-31 17:33:42 +01:00
Paul Adenot
800e5eb38a 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 : 2b961a8bd91d952ccbe9df5a6ab7649321f282a6
extra : source : a3d9aa2649b95329d0cf686d79aa5179e9f3506d
2017-10-31 17:24:26 +01:00
Paul Adenot
e4a5c78e55 Bug 1397793 - Delete old-deprecated VoEExternalMedia. r=dminor
MozReview-Commit-ID: C2189mFvWiY

--HG--
extra : rebase_source : 310304d83b883d82146fb4cc8422cc5c7ba080be
extra : source : b44e089bcfe7a6e2cd6dddce616c4f195d3c5ea2
2017-10-31 17:17:20 +01:00
Dan Minor
01f50b040b Bug 1393119 - Update gn files for mozilla build; r=jesup
MozReview-Commit-ID: KRaCt8uvTJH

--HG--
extra : rebase_source : 343341a758bf37581b9d686760f32784bb36138c
2017-07-27 13:04:25 -04:00
Dan Minor
662432279a Bug 1393119 - Add webrtc.org trunk/build/ files to support gn build; r=jesup
MozReview-Commit-ID: KaupPBeJucK

--HG--
extra : rebase_source : 304c0a281d409c1e33321fbef555196e288451f1
2017-07-27 12:42:30 -04:00
Chris Manchester
73ad6401d3 Bug 1393119 - Add webrtc gn build config; r=dminor
MozReview-Commit-ID: FIPjkDWwAQx

--HG--
extra : rebase_source : 420774d076919ed5c1424181c8153c5e40acbaaf
2017-11-29 11:18:44 -08:00
Sebastian Hengst
281d99b3d3 Backed out changeset b44e089bcfe7 (bug 1397793). r=backout a=backout
--HG--
extra : histedit_source : 2ccb7b753a4be80fb820ed9f1a0e6bccab1320b0
2017-12-11 12:34:38 +02:00
Sebastian Hengst
fe440c72a7 Backed out bug 1423923 for crashes, requested by drno. r=backout a=backout
Backed out changesets:
b44e089bcfe7
a3d9aa2649b9
9e92591ba6dc
e92ff1339db1
bf8977e0f440
a781b123b252
2c7a56648de9
0107b3feb84b
d12894d77770
1cf542ff8687
771c95f2963b
16f44ac4978a
ea8d6efcf3ef
a0d519ba5332
81889a72ac45
c02fd9acc634

--HG--
extra : histedit_source : 1cc2bad6f9f291f76d6c2385a5c7fa4512b9c6e3%2C758892ad6f034b39773940602a1399f4e3c8f887
2017-12-11 12:34:23 +02:00
Byron Campen [:bwc]
06af3d8af8 Bug 1400363 - Part 4: Mute webrtc receive tracks when they are negotiated to stop receiving. r=drno
MozReview-Commit-ID: JEWPHvoiwVC

--HG--
extra : rebase_source : d6bb933f79f27c23cfb693d7d71ce2ff30c5b518
2017-11-29 13:38:32 -06:00
Byron Campen [:bwc]
2e2cf6753f Bug 1400363 - Part 3: Start webrtc receive tracks as muted. r=drno
MozReview-Commit-ID: G2JIyhiAYwl

--HG--
extra : rebase_source : 5ac0178aaddb5b6bf305a30f7359c12d66073c6a
2017-11-29 13:37:21 -06:00
Byron Campen [:bwc]
357ca1db92 Bug 1400363 - Part 2: Unmute webrtc receive tracks when RTP is received. r=drno
MozReview-Commit-ID: IQrCOzBQmqu

--HG--
extra : rebase_source : 2db6b0ca785ffb13dd6345a6e201c13766d0b742
2017-11-29 13:36:41 -06:00
Byron Campen [:bwc]
63a499f3be Bug 1400363 - Part 0: Expose the SourceMediaStream of MediaStreamTrack, and store tracks instead of the source streams. r=pehrsons
MozReview-Commit-ID: KSYFGHsr0qk

--HG--
extra : rebase_source : 657ea373fb69d1e85b28a5535028a650c33dce9e
2017-11-30 14:47:13 -06:00
Sylvestre Ledru
a9961096c0 Bug 1394734 - Simplify various corner cases r=glandium
MozReview-Commit-ID: 4s4JdXZPvmv

--HG--
extra : rebase_source : c8f663c99442d41db5f81ac5fe1aa1f47fd5ed82
2017-12-07 22:10:19 +01:00
Sylvestre Ledru
4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
5de63ef061 Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 5orfnoude7h

--HG--
extra : rebase_source : 1ed9a6b56e1d27221a07624767a7fb0e6147117f
2017-12-08 13:46:13 +01:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Mike Hommey
b8fc1317ef Bug 1424114 - Add missing string.h include in timecard.c. r=jesup
--HG--
extra : rebase_source : e81ef4ec2d920dc0ef3e0f70fc5e7bd68c23e755
2017-12-08 11:45:28 +09:00
Alex Chronopoulos
1d4361649f Bug 1423901 - Update cubeb from upstream to a88bf02. r=padenot
MozReview-Commit-ID: Kk8IwJZY0Mt

--HG--
extra : rebase_source : ad8a373b4ae8c29fc245efcfeeaab1e24fc76c0f
2017-12-07 16:42:20 +02:00
Bogdan Tara
cbd802ee7d Merge inbound to mozilla central r=merge a=merge 2017-12-07 12:53:20 +02:00
Byron Campen [:bwc]
faba4831bd Bug 1422215 - Part 2: Do offer/answer validation sooner. r=drno
--HG--
extra : rebase_source : d0ef727ddfe291201ac10822cb8041ad8117e1fb
extra : source : e01d1eabb63a569b3e1da87118e364a8e39ee433
2017-12-05 16:01:23 -06:00
Byron Campen [:bwc]
07cece1597 Bug 1422215 - Part 1: Make logging more consistent in JsepSessionImpl. r=drno
--HG--
extra : rebase_source : 893995a73d234e426b80f7c63480e4f200d76cf5
extra : source : 4a8daeb3732d028c70778953aa08ab70fe042665
2017-12-05 16:00:37 -06:00
Sylvestre Ledru
c5458f8c09 Bug 1423722 - Update of the libvorbis lib r=rillian
Nothing significant in this release, just to be in sync with upstream

MozReview-Commit-ID: GOMzG6TOHYg

--HG--
extra : rebase_source : 73c7a83e358d0b8c7686f0b79d805947c928600e
2017-12-06 22:18:02 +01: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
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
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
Tom Ritter
5e81122570 Bug 1411742 Remove the pref media.getusermedia.playout_delay and the field as they are not used anywhere r=jib
MozReview-Commit-ID: Gjbeg0zWtJ1

--HG--
extra : rebase_source : 55ad0e8f5e8ec45e7ed365ea516da9ecbc498253
2017-11-16 21:57:07 -06:00
Alfredo.Yang
818f7e1ab6 Bug 1417791 - correct the header path in rust parser updating script. r=kinetik
MozReview-Commit-ID: 5G3CgnVqqyx

--HG--
extra : rebase_source : d2da0a070637e50b8c1c8a2aa7facce305b4158c
2017-11-16 14:14:07 +08:00
Michael Froman
cb81178b8a Bug 1414167 - Add offer/answer labels to local and remote sdp headings on about:webrtc. r=drno,smaug
Add a new |offerer| field to RTCStatsReport.
Based on offerer, label the local sdp as offer or answer.
Based on offerer, label the remote sdp as offer or answer.

MozReview-Commit-ID: 4jdWP8tpr9w

--HG--
extra : rebase_source : 5724645ef8e39c2af0c5fccf7d7872ee2cb437b5
2017-11-15 13:40:09 -06:00
Munro Mengjue Chiang
83d4da19c4 Bug 1399413 - Make VideoEngine & VideoCaptureModule singletons. r=jib
MozReview-Commit-ID: Czm0IYYpOpN

--HG--
extra : rebase_source : 7a6838c5725fd01b33c8cdde58d8e937643d8898
2017-11-02 11:25:14 +08:00
Alfredo.Yang
7bdbfe6743 Bug 1417011 - remove stagefright folder. r=kinetik
MozReview-Commit-ID: F20u08Dr1yn

--HG--
extra : rebase_source : cd23f462c072f194e5bd8a16c72d0ca02cf9be35
2017-11-15 14:34:07 +08:00
Alfredo.Yang
4b077a3d5d Bug 1417011 - move mp4 gtest. r=kinetik
MozReview-Commit-ID: DO4HknJLE5K

--HG--
rename : media/libstagefright/gtest/TestInterval.cpp => dom/media/gtest/mp4_demuxer/TestInterval.cpp
rename : media/libstagefright/gtest/TestMP4Rust.cpp => dom/media/gtest/mp4_demuxer/TestMP4.cpp
rename : media/libstagefright/gtest/TestParser.cpp => dom/media/gtest/mp4_demuxer/TestParser.cpp
rename : media/libstagefright/gtest/moz.build => dom/media/gtest/mp4_demuxer/moz.build
rename : media/libstagefright/gtest/test_case_1156505.mp4 => dom/media/gtest/mp4_demuxer/test_case_1156505.mp4
rename : media/libstagefright/gtest/test_case_1181213.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181213.mp4
rename : media/libstagefright/gtest/test_case_1181215.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181215.mp4
rename : media/libstagefright/gtest/test_case_1181220.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181220.mp4
rename : media/libstagefright/gtest/test_case_1181223.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181223.mp4
rename : media/libstagefright/gtest/test_case_1181719.mp4 => dom/media/gtest/mp4_demuxer/test_case_1181719.mp4
rename : media/libstagefright/gtest/test_case_1185230.mp4 => dom/media/gtest/mp4_demuxer/test_case_1185230.mp4
rename : media/libstagefright/gtest/test_case_1187067.mp4 => dom/media/gtest/mp4_demuxer/test_case_1187067.mp4
rename : media/libstagefright/gtest/test_case_1200326.mp4 => dom/media/gtest/mp4_demuxer/test_case_1200326.mp4
rename : media/libstagefright/gtest/test_case_1204580.mp4 => dom/media/gtest/mp4_demuxer/test_case_1204580.mp4
rename : media/libstagefright/gtest/test_case_1216748.mp4 => dom/media/gtest/mp4_demuxer/test_case_1216748.mp4
rename : media/libstagefright/gtest/test_case_1296473.mp4 => dom/media/gtest/mp4_demuxer/test_case_1296473.mp4
rename : media/libstagefright/gtest/test_case_1296532.mp4 => dom/media/gtest/mp4_demuxer/test_case_1296532.mp4
rename : media/libstagefright/gtest/test_case_1301065-harder.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-harder.mp4
rename : media/libstagefright/gtest/test_case_1301065-i64max.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-i64max.mp4
rename : media/libstagefright/gtest/test_case_1301065-i64min.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-i64min.mp4
rename : media/libstagefright/gtest/test_case_1301065-max-ez.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-max-ez.mp4
rename : media/libstagefright/gtest/test_case_1301065-max-ok.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-max-ok.mp4
rename : media/libstagefright/gtest/test_case_1301065-overfl.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-overfl.mp4
rename : media/libstagefright/gtest/test_case_1301065-u32max.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-u32max.mp4
rename : media/libstagefright/gtest/test_case_1301065-u64max.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065-u64max.mp4
rename : media/libstagefright/gtest/test_case_1301065.mp4 => dom/media/gtest/mp4_demuxer/test_case_1301065.mp4
rename : media/libstagefright/gtest/test_case_1329061.mov => dom/media/gtest/mp4_demuxer/test_case_1329061.mov
rename : media/libstagefright/gtest/test_case_1351094.mp4 => dom/media/gtest/mp4_demuxer/test_case_1351094.mp4
rename : media/libstagefright/gtest/test_case_1380468.mp4 => dom/media/gtest/mp4_demuxer/test_case_1380468.mp4
rename : media/libstagefright/gtest/test_case_1388991.mp4 => dom/media/gtest/mp4_demuxer/test_case_1388991.mp4
rename : media/libstagefright/gtest/test_case_1389299.mp4 => dom/media/gtest/mp4_demuxer/test_case_1389299.mp4
rename : media/libstagefright/gtest/test_case_1389527.mp4 => dom/media/gtest/mp4_demuxer/test_case_1389527.mp4
rename : media/libstagefright/gtest/test_case_1395244.mp4 => dom/media/gtest/mp4_demuxer/test_case_1395244.mp4
rename : media/libstagefright/gtest/test_case_1410565.mp4 => dom/media/gtest/mp4_demuxer/test_case_1410565.mp4
extra : rebase_source : 1322b2964280608e41d7f3729cd1fc37656e9eda
2017-11-15 14:26:18 +08:00
Alfredo.Yang
b3c4d27b09 Bug 1417011 - move MP4Metadata and MoofParser to ./dom/media/mp4. r=kinetik
MozReview-Commit-ID: IdNFBer3RCT

--HG--
rename : media/libstagefright/binding/include/mp4_demuxer/Atom.h => dom/media/mp4/Atom.h
rename : media/libstagefright/binding/include/mp4_demuxer/AtomType.h => dom/media/mp4/AtomType.h
rename : media/libstagefright/binding/Box.cpp => dom/media/mp4/Box.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/Box.h => dom/media/mp4/Box.h
rename : media/libstagefright/binding/BufferStream.cpp => dom/media/mp4/BufferStream.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/BufferStream.h => dom/media/mp4/BufferStream.h
rename : media/libstagefright/binding/DecoderData.cpp => dom/media/mp4/DecoderData.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/DecoderData.h => dom/media/mp4/DecoderData.h
rename : media/libstagefright/binding/Index.cpp => dom/media/mp4/Index.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/Index.h => dom/media/mp4/Index.h
rename : media/libstagefright/binding/include/mp4_demuxer/Interval.h => dom/media/mp4/Interval.h
rename : media/libstagefright/binding/MP4Metadata.cpp => dom/media/mp4/MP4Metadata.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/MP4Metadata.h => dom/media/mp4/MP4Metadata.h
rename : media/libstagefright/binding/MoofParser.cpp => dom/media/mp4/MoofParser.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/MoofParser.h => dom/media/mp4/MoofParser.h
rename : media/libstagefright/binding/ResourceStream.cpp => dom/media/mp4/ResourceStream.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/ResourceStream.h => dom/media/mp4/ResourceStream.h
rename : media/libstagefright/binding/SinfParser.cpp => dom/media/mp4/SinfParser.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/SinfParser.h => dom/media/mp4/SinfParser.h
rename : media/libstagefright/binding/include/mp4_demuxer/Stream.h => dom/media/mp4/Stream.h
extra : rebase_source : fe414148a53dede2def894131cd1f69920a1dd69
2017-11-15 12:00:14 +08:00
Alfredo.Yang
0c947765e5 Bug 1417011 - move Adts.h, AnnexB.h and H264.h to agnostic/mp4_demuxer. r=kinetik
MozReview-Commit-ID: HQUtpmF6Xky

--HG--
rename : media/libstagefright/binding/Adts.cpp => dom/media/platforms/agnostic/mp4_demuxer/Adts.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/Adts.h => dom/media/platforms/agnostic/mp4_demuxer/Adts.h
rename : media/libstagefright/binding/AnnexB.cpp => dom/media/platforms/agnostic/mp4_demuxer/AnnexB.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/AnnexB.h => dom/media/platforms/agnostic/mp4_demuxer/AnnexB.h
rename : media/libstagefright/binding/H264.cpp => dom/media/platforms/agnostic/mp4_demuxer/H264.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/H264.h => dom/media/platforms/agnostic/mp4_demuxer/H264.h
extra : rebase_source : 1e38929091ebb1a546ca2b17fee8d576a21cad4e
2017-11-15 11:39:07 +08:00
Alfredo.Yang
23ba3bcec8 Bug 1417011 - move BufferReader, BitReader and ByteWriter to dom/media. r=kinetik
MozReview-Commit-ID: KqmSM3RlD1V

--HG--
rename : media/libstagefright/binding/BitReader.cpp => dom/media/BitReader.cpp
rename : media/libstagefright/binding/include/mp4_demuxer/BitReader.h => dom/media/BitReader.h
rename : media/libstagefright/binding/include/mp4_demuxer/BufferReader.h => dom/media/BufferReader.h
rename : media/libstagefright/binding/include/mp4_demuxer/ByteWriter.h => dom/media/ByteWriter.h
extra : rebase_source : 6ed0bcba4c2336bb7e532b3a5c3abce73ccdc5f5
2017-11-15 11:15:20 +08:00
Alfredo.Yang
20418e06c4 Bug 1417011 - move rust mp4 parser to media/mp4parse-rust. r=kinetik
MozReview-Commit-ID: 4Rcuv3UBoJV

--HG--
rename : media/libstagefright/binding/mp4parse-cargo.patch => media/mp4parse-rust/mp4parse-cargo.patch
rename : media/libstagefright/binding/include/mp4parse.h => media/mp4parse-rust/mp4parse.h
rename : media/libstagefright/binding/mp4parse/Cargo.toml => media/mp4parse-rust/mp4parse/Cargo.toml
rename : media/libstagefright/binding/mp4parse/src/boxes.rs => media/mp4parse-rust/mp4parse/src/boxes.rs
rename : media/libstagefright/binding/mp4parse/src/lib.rs => media/mp4parse-rust/mp4parse/src/lib.rs
rename : media/libstagefright/binding/mp4parse/src/tests.rs => media/mp4parse-rust/mp4parse/src/tests.rs
rename : media/libstagefright/binding/mp4parse/tests/afl.rs => media/mp4parse-rust/mp4parse/tests/afl.rs
rename : media/libstagefright/binding/mp4parse/tests/bipbop-cenc-audioinit.mp4 => media/mp4parse-rust/mp4parse/tests/bipbop-cenc-audioinit.mp4
rename : media/libstagefright/binding/mp4parse/tests/bipbop_480wp_1001kbps-cenc-video-key1-init.mp4 => media/mp4parse-rust/mp4parse/tests/bipbop_480wp_1001kbps-cenc-video-key1-init.mp4
rename : media/libstagefright/binding/mp4parse/tests/minimal.mp4 => media/mp4parse-rust/mp4parse/tests/minimal.mp4
rename : media/libstagefright/binding/mp4parse/tests/public.rs => media/mp4parse-rust/mp4parse/tests/public.rs
rename : media/libstagefright/binding/mp4parse_capi/Cargo.toml => media/mp4parse-rust/mp4parse_capi/Cargo.toml
rename : media/libstagefright/binding/mp4parse_capi/build.rs => media/mp4parse-rust/mp4parse_capi/build.rs
rename : media/libstagefright/binding/mp4parse_capi/src/lib.rs => media/mp4parse-rust/mp4parse_capi/src/lib.rs
rename : media/libstagefright/binding/mp4parse_fallible/Cargo.toml => media/mp4parse-rust/mp4parse_fallible/Cargo.toml
rename : media/libstagefright/binding/mp4parse_fallible/README => media/mp4parse-rust/mp4parse_fallible/README
rename : media/libstagefright/binding/mp4parse_fallible/lib.rs => media/mp4parse-rust/mp4parse_fallible/lib.rs
rename : media/libstagefright/binding/update-rust.sh => media/mp4parse-rust/update-rust.sh
extra : rebase_source : 7a86c39e5338ddf7e81a767edfd3ed8d6d1f7577
2017-11-15 09:51:38 +08:00
Nika Layzell
b4d99baba8 Bug 1416384 - Part 6: Eliminate calls to Assert{Inner,Outer} and As{Inner,Outer} in nsGlobalWindow, r=smaug
MozReview-Commit-ID: GIiSlDzjgWb

--HG--
extra : rebase_source : e21578e4056b1f3000ef320d2c380fd9889ca9eb
2017-11-15 11:34:27 -05:00
Andrea Marchesini
4b1b084ce7 Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
shindli
385fb3428c Backed out 4 changesets (bug 1416724) for failing /builds/worker/workspace/build/src/dom/media/hls/HLSDemuxer.cpp:89:5 r=backout on a CLOSED TREE
Backed out changeset 45352aa4319d (bug 1416724)
Backed out changeset 01d1e5263bcd (bug 1416724)
Backed out changeset bc854c315ec8 (bug 1416724)
Backed out changeset 35a50167485d (bug 1416724)
2017-11-15 09:49:04 +02:00
Chris Peterson
768b96f58b Bug 1415470 - build: Enable VS2017 C5038 initializer list order warnings (like gcc -Wreorder). r=glandium
C5038 is a new warning in VS2017, similar to gcc and clang's -Wreorder, which is enabled by -Wall. We should enable C5038 so Windows developers can see these warnings locally instead of when gcc and clang fail with warnings-as-errors on Try.

https://blogs.msdn.microsoft.com/vcblog/2017/07/21/diagnostic-improvements-in-vs2017-15-3-0/

We need to suppress C5038 warnings from Windows Runtime Library header files (wrl.h) included in ANGLE and widget/windows:

z:\build\build\src\vs2017_15.4.2\SDK\Include\10.0.15063.0\winrt\wrl\wrappers\corewrappers.h(515): error C5038: data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::sync_' will be initialized after data member 'Microsoft::WRL::Wrappers::Details::SyncLockWithStatusT<Microsoft::WRL::Wrappers::HandleTraits::SemaphoreTraits>::status_'
...

And suppress C5038 warnings in upstream webrtc code:

media/webrtc/trunk/webrtc/modules/video_capture/windows/BaseFilter.cpp(176): error C5038: data member 'mozilla::media::BaseFilter::mClsId' will be initialized after data member 'mozilla::media::BaseFilter::mState'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(169): error C5038: data member 'mozilla::media::BasePin::mFilter' will be initialized after data member 'mozilla::media::BasePin::mLock'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(170): error C5038: data member 'mozilla::media::BasePin::mLock' will be initialized after data member 'mozilla::media::BasePin::mName'
media/webrtc/trunk/webrtc/modules/video_capture/windows/BasePin.cpp(172): error C5038: data member 'mozilla::media::BasePin::mDirection' will be initialized after data member 'mozilla::media::BasePin::mQualitySink'

MozReview-Commit-ID: BMDVkvQXNoq

--HG--
extra : rebase_source : 0d5ede9530d0d0750b8fffdc1cdfdc646ec8f22a
2017-11-07 19:52:10 -08:00
Andrea Marchesini
642cdd108b Bug 1416724 - part 3 - AbstractThread::Dispatch return value check in dom/media, r=jwwang 2017-11-15 07:58:03 +01:00
Matthew Gregan
feb6071e04 Bug 1409904 - Don't bother logging when audioipc server's poll() hits EINTR. r=kamidphish
MozReview-Commit-ID: 854rPXdmbny
2017-11-15 15:40:23 +13:00
Alfredo.Yang
776dcceab4 Bug 1415809 - stop building stagefright. r=kinetik
MozReview-Commit-ID: 4PUrzpKkC6M


remove extra build config



Bug 1415809 - stop building stagefright. r?kinetik

--HG--
extra : rebase_source : cc8ef91bd3e4f1c0352ec8b2347ee79ffe167560
2017-11-14 15:45:23 +08:00
Alfredo.Yang
59da86b6b1 Bug 1415809 - update gtest. r=kinetik
MozReview-Commit-ID: Ck94z9GhXZa

--HG--
extra : rebase_source : a2f322dbd42aad549258581f4fdc1b84b7630c22
2017-11-13 16:50:02 +08:00
Alfredo.Yang
13cd8ce149 Bug 1415809 - remove stagefright stuff from DecoderData. r=kinetik
MozReview-Commit-ID: DzCNkweiNHZ

--HG--
extra : rebase_source : 6f63cdb023f501f4a3c16b697b7a4d45f3ca0911
2017-11-10 16:02:06 +08:00
Alfredo.Yang
f2716d5693 Bug 1415809 - rename MP4MetadataRust to MP4Metadata. r=kinetik
MozReview-Commit-ID: Inbl2zoIYvj

--HG--
extra : rebase_source : c30b057ae1722bedb72c2e96aa4c252e72fd724f
2017-11-10 15:29:44 +08:00
Alfredo.Yang
77f0ffd196 Bug 1415809 - return error when parsing fails. r=kinetik
MozReview-Commit-ID: Dlzx9fsGEbE

--HG--
extra : rebase_source : 139152fcf02d51bb74e85a9feea7deb60fcddebe
2017-11-09 16:07:31 +08:00
Alfredo.Yang
ff70c5cd00 Bug 1415809 - remove MP4MetadataStagefright. r=kinetik
MozReview-Commit-ID: 19HhGal5E16

--HG--
extra : rebase_source : 68c28196ff8cb1d96d7e412364c08553e9f1e1b3
2017-11-08 15:40:05 +08:00
Dan Glastonbury
702bf586df Bug 1414623 - P2: Connect callback send/receive with Mutex. r=kinetik
state_callback() and data_callback() can be called from multiple
threads.  To protect the send/receive pair of calls, a Mutex is added
to Connection to prevent one thread from starving when two threads try
to wait on the socket in recvmsg.

MozReview-Commit-ID: LUXcqnw2Hm1

--HG--
extra : rebase_source : e98f50a109510e35bab6516febc9e76539c3228f
2017-11-14 09:17:38 +10:00
Dan Glastonbury
db190864d1 Bug 1414623 - P1: Make state_callback synchronous. r=kinetik
MozReview-Commit-ID: EvgJiPQAYO6

--HG--
extra : rebase_source : 24ed86b7183bb009f9f3ebfb5a1fe757a3428da4
2017-11-10 12:03:45 +10:00
Dan Minor
f2ef09632b Bug 1376276 - Fix limiting framerate in getusermedia with screen on Windows; r=jesup
This changes code in PlatformUIThread::Run to match what was present in
ThreadWindowsUI::Run prior to the branch 49 update. With this update in place
it is possible to limit framerate on Windows again. The limit does not work
as well as on other platforms, the actual framerate seems to be 1.5x to 2x
the request value on the systems I have tested. That was also the case prior
to the branch 49 update.

MozReview-Commit-ID: W5xnWfkaET

--HG--
extra : rebase_source : dc4422864306063e83e6e1f4a7d51a0d97cbf1c6
2017-10-27 11:45:57 -04:00
Ryan VanderMeulen
b16410f51c Merge inbound to m-c. a=merge 2017-11-10 16:13:15 -05:00
huangwenjun
4d46bb2355 Bug 1223312 - Part 2: Disable Noise reduction same as ARM. r=jesup
--HG--
extra : rebase_source : 4f06c862e6f019587717c7be19d2085c9047e80d
2017-11-08 18:33:00 -05:00
huangwenjun
adc74c715f Bug 1223312 - Part 1: Enable webrtc on MIPS64 platforms by default. r=drno, r=jesup, r=ted
--HG--
extra : rebase_source : 4bda2b90dc957d93e92edc6f36d10997608617d4
2017-11-08 18:30:00 -05:00
Paul Adenot
8ad630e34b Bug 1221580 - Update libcubeb to revision 7d00ea6705. r=kinetik,achronop
MozReview-Commit-ID: 8q8Va6I2hru

--HG--
extra : rebase_source : bbc96137fdd4469d57fe99f41ad1baa97e05d468
2017-11-10 12:31:24 +01:00
Noemi Erli
8d8df3ddfe Merge mozilla-central to mozilla-autoland. r=merge a=merge CLOSED TREE 2017-11-10 12:43:53 +02:00
Alfredo.Yang
b4d31b83be Bug 1415807 - remove 'chan' box becuase it could exist with other codec types. r=kinetik
MozReview-Commit-ID: EGjjIZQHgYO

--HG--
extra : rebase_source : 8ebcd35399db292996e09dd1b458313420f4573e
2017-11-10 09:30:30 +08:00
Sebastian Hengst
1b0413a887 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 11:53:05 +02:00
Ralph Giles
7138888244 Bug 1415446 - Update to libogg 1.3.3. r=kinetik
Update our in-tree copy of libogg to the latest upstream release.

This fixes an issue handling corrupt streams when packets are
continued between framing pages, along with some minor portability
fixes.

MozReview-Commit-ID: 3Vixrru4gLV

--HG--
extra : rebase_source : be30a403c32ec777c57ca95fcc642abf875188ae
2017-11-08 08:49:05 -08:00
Ted Mielczarek
33c2d96bbf bug 1256010 - Remove media/openmax_dl/dl/Makefile.in. r=nalexander
MozReview-Commit-ID: H30bGAkF0h9

--HG--
extra : rebase_source : 49d80c82669cfbbfc8923e42fde66bb73c8e828d
2017-11-08 10:57:32 -08:00
Jan Beich
8821d0ee0f Bug 1414440 - Always build libyuv x86 optimizations with Clang. r=sotaro
SSE2 isn't enabled by default on BSD x86 systems which ends up disabling
SIMD-optimized routines in libyuv. As Clang can build the code fine without
-msse limit the requirement to GCC.

https://github.com/llvm-mirror/clang/blob/6fc97e7c1cf4/lib/Driver/ToolChains/Arch/X86.cpp#L98

MozReview-Commit-ID: BaVAbEpkoHj

--HG--
extra : rebase_source : d32d55c09f34ad2d8d9e0d275167b576c9070e65
2017-11-03 23:12:19 +00:00
Narcis Beleuzu
218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Alfredo.Yang
6816c396dc Bug 1393045 - support QT AudioSampleEntry v2. r=kinetik
MozReview-Commit-ID: GchJJBrdKYm

--HG--
extra : rebase_source : a74d0c4a944802e1905c6e16d052d2675322fc3e
2017-11-08 09:21:58 +08:00
Matthew Gregan
f26c326098 Bug 1409904 - Convert error! logging to warn! to avoid spurious stderr spamming from audioipc. r=kamidphish 2017-11-08 16:20:48 +13:00
Margareta Eliza Balazs
130574a8e2 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-08 00:09:29 +02:00
Randall Barker
a61eb9e8d3 Bug 1414994 - Set CONFIG_LINUX_PERF in media/ffvpx/config_android32.h to 0 to fix Android builds on MacOS r=jya
MozReview-Commit-ID: 2wkqm8C2uJ6
2017-11-07 12:47:30 -08:00
Alfredo.Yang
4e9d007f90 Bug 1413076 - return other kind of error in addition to OOM. r=jya
MozReview-Commit-ID: CpRF1Kr5Z2c

--HG--
extra : rebase_source : 56dbc1926d5e051ad5261d4bd495c9fbe5c26833
2017-10-31 10:13:51 +08:00
Alfredo.Yang
38793a1060 Bug 1414742 - logging BufferReader error only when enabling mozlog in MP4Metadata. r=kinetik
MozReview-Commit-ID: z69MJKQV5y

--HG--
extra : rebase_source : 36da5aa42e65320c147cb4f1887d9e2569df1726
2017-11-06 16:21:19 +08:00
Alfredo.Yang
6a9a8c409a Bug 1413702 - avoid dividing by zero. r=kinetik
MozReview-Commit-ID: 38ZdC9udcH1

--HG--
extra : rebase_source : 78f784be1cad741ce84b464c7537af2e15ba68c9
2017-11-06 17:26:09 +08:00
Chris Pearce
f231fe980b Bug 1414991 - Unified build fixes in media. r=gerald
MozReview-Commit-ID: KjLeQMSxOfO

--HG--
extra : rebase_source : 37b7222bfbadc0836acdeee19ebd82676872b4ea
2017-11-07 12:57:34 +13:00
Jean-Yves Avenard
f49e01980d Bug 1414596 - P3. Re-generate config_*.{h,asm}. r=gerald
MozReview-Commit-ID: 2INNZuMs1y8

--HG--
extra : rebase_source : a2d539f151e90a9b1299b6ea0f895a9d8af3bdcd
2017-11-06 14:30:44 +01:00
Jean-Yves Avenard
420718da1b Bug 1414596 - P1. Re-enable assembly optimized code. r=gerald
It was incorrectly disabled during the last resync.

MozReview-Commit-ID: IP0T4Aq5Q2q

--HG--
extra : rebase_source : 77b3c792ddabfc5536b8c680010d0438a22699be
2017-11-06 13:56:16 +01:00
Jean-Yves Avenard
ee1feb36a7 Bug 1412558 - P2. Disable ffvp8 and ffvp9 decoders on Unixes 32 bits. r=mshal
The system ffmpeg will be used instead or libvpx if not found.

MozReview-Commit-ID: GX5WWPOhPq9

--HG--
extra : rebase_source : 3eec2ee1bc3b66d88653b913d6d1b3ad1a5d5acd
2017-11-06 17:57:48 +01:00
Jean-Yves Avenard
b6b4f5d024 Bug 1412558 - P1. Don't export some unused symbols. r=gerald
MozReview-Commit-ID: 8ckJEYseCaS

--HG--
extra : rebase_source : a0d8b3f4a8942b28d0f9208079efc87c4ec62de4
2017-11-06 18:22:43 +01:00
Sylvestre Ledru
3465611f71 Bug 1414628 - ConfigureCodec: Remove private field 'mHardwareH264Enabled' r=dminor
MozReview-Commit-ID: 83U02hqgW6d

--HG--
extra : rebase_source : 5baf00d2a8a3ad239981bb1774743980e3dbc0a6
2017-11-05 16:56:19 +01:00
JW Wang
2e17f2f227 Bug 1414213. P2 - don't continue reading if reader.Read(5) failed. r=jya
MozReview-Commit-ID: 1vNbACa9Vpv

--HG--
extra : rebase_source : 099d2ea1a704e6b2b710b80a273ab9f9d3e3257e
2017-11-06 11:24:16 +08:00
JW Wang
e75848012d Bug 1414213. P1 - H264::NumSPS() should return 0 if aExtraData is empty. r=jya
MozReview-Commit-ID: JTzEqYt9mQr

--HG--
extra : rebase_source : 660d93f8088ae3d01ba23c74ee6deef7a0cb34aa
extra : source : 9f971ae67cecbd4d040881b3ed0b1752b6a6e04d
2017-11-03 17:40:32 +08:00
Michael Froman
033ed8ae3a Bug 1415249 - remove unused variables introduced in Bug 1408218. r=drno
Two variables, contains_mac_based_ipv6 and contains_teredo_ipv6, were
added that are set but never used.  This will cause compiler warnings
issues in the future.

MozReview-Commit-ID: C5ZReH94RpM

--HG--
extra : rebase_source : 50e06da3c093a118151d840b7d25a979afce6321
2017-11-07 09:28:47 -06:00
Ralph Giles
05817d3bd3 Bug 1413734 - av1: fix build issues. r=kinetik
This revision of libaom has some conflicts with our vendor script
and build system. A number of new .asm files have the same basename
as .c files, which our build system cannot handle.

To work around this, I ran `./mach vendor aom` with the check for
duplicate filenames disabled, then manually renamed the conflicting
files in the filesystem and sources.mozbuild.

Also add av1_convolve_scale_sse4.c to sources.mozbuild manually.
This is needed by the build but for some reason isn't picked up
by generate_sources_mozbuild.sh.

MozReview-Commit-ID: 2iBo4kSBz1G

--HG--
rename : third_party/aom/aom_dsp/arm/idct16x16_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct16x16_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct16x16_add_neon.asm => third_party/aom/aom_dsp/arm/idct16x16_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct32x32_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct32x32_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct32x32_add_neon.asm => third_party/aom/aom_dsp/arm/idct32x32_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct4x4_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct4x4_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct4x4_add_neon.asm => third_party/aom/aom_dsp/arm/idct4x4_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct8x8_1_add_neon.asm => third_party/aom/aom_dsp/arm/idct8x8_1_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/idct8x8_add_neon.asm => third_party/aom/aom_dsp/arm/idct8x8_add_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_16_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_16_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_4_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_4_neon_asm.asm
rename : third_party/aom/aom_dsp/arm/loopfilter_8_neon.asm => third_party/aom/aom_dsp/arm/loopfilter_8_neon_asm.asm
rename : third_party/aom/aom_dsp/x86/highbd_intrapred_sse2.asm => third_party/aom/aom_dsp/x86/highbd_intrapred_sse2_asm.asm
rename : third_party/aom/aom_dsp/x86/intrapred_sse2.asm => third_party/aom/aom_dsp/x86/intrapred_sse2_asm.asm
rename : third_party/aom/aom_dsp/x86/intrapred_ssse3.asm => third_party/aom/aom_dsp/x86/intrapred_ssse3_asm.asm
extra : rebase_source : 7bf598ac1a925e16e42301839376a963836ae182
2017-11-01 15:49:14 -07:00
Ralph Giles
92f3d837b2 Bug 1413734 - av1: Update decoder library. r=kinetik
Update to upstream commit id e87fb2378f01103d5d6e477a4ef6892dc714e614
from a couple of weeks ago to pick up changes.

MozReview-Commit-ID: H7H69A7qFXD

--HG--
extra : rebase_source : dee676da15b65e4eea612d20529c4fb312bbddfb
2017-11-01 15:36:09 -07:00
Jean-Yves Avenard
2f8b62c59a Bug 1295886 - P16. Enable FLAC C decoder on aarch64 machines. r=mshal
MozReview-Commit-ID: 9i3AaG5CGex

--HG--
extra : rebase_source : 2e6cc87d2e1629d5b44fd67627675c4460201023
2017-11-02 10:51:22 +01:00