Commit Graph

5840 Commits

Author SHA1 Message Date
Randell Jesup
c359f64e82 Bug 1429219: Ensure VP8 simulcast with temporal layers won't fail if there aren't enough bits r=drno 2018-01-10 20:41:09 -05:00
Randell Jesup
aa370f7694 Bug 1426449: set the correct number of temporal layers for screencasts r=drno 2018-01-10 20:41:03 -05:00
Michael Froman
69d270acdf Bug 1427009 - limit accepted mid length to 16 chars. r=bwc
webrtc.org only supports one-byte rtp header extensions which means
we can only support 16 character mids for now.

MozReview-Commit-ID: C7aTeB5Bi2M

--HG--
extra : rebase_source : e25518d02fb056f82d298f000e37cfe059099a38
2018-01-08 16:23:06 -06:00
Andreas Pehrson
3ab8b1b7d2 Bug 1428098 - Do not reconfigure manually when input resolution changes. r=dminor
webrtc.org now handles this.

MozReview-Commit-ID: 8loJR1L0h1m

--HG--
extra : rebase_source : adc9ced1b2d64a04ef19e951a40a85c88856a280
2018-01-03 10:28:17 +01:00
Dorel Luca
a19f5582cc Merge mozilla-central to mozilla-inbound r=merge 2018-01-11 00:05:23 +02:00
Dan Minor
58945425b9 Bug 1393119 - Remove webrtc gyp files; r=jesup
This removes the gyp files to build webrtc. It looks like part of Bug 1371485 is
to vendor gyp elsewhere in tree at which time we can complete cleaning this up.

MozReview-Commit-ID: 8MqatafniN5

--HG--
extra : rebase_source : 2f45ef1473c2bbf2882fe867e8b535998b8dc9ef
2017-12-19 09:21:03 -05:00
Dan Minor
582a3b1cc8 Bug 1393119 - Add generated files; r=jesup
MozReview-Commit-ID: 379Yq1cIQyD

--HG--
extra : rebase_source : a684d4020bb94c9b4e2bf2a0b8f89b1392eb6c8f
2017-12-01 12:44:51 -05:00
Dan Minor
8711c98b6f Bug 1406936 - Add unittests for re-configuring VideoConduit; r=pehrsons
This adds new tests that are a subset of the existing tests for configuration.
Another option would be to use parameterized tests to get coverage of all existing
tests during reconfiguration, but I don't think the additional complexity is
justified at this point.

MozReview-Commit-ID: F28KRYaVe1B

--HG--
extra : rebase_source : fdcb1316387504240424f1041d43df5d98331380
2017-11-28 14:50:05 -05:00
Dan Minor
2a03027769 Bug 1406936 - Copy state when reusing SendStream in ConfigureSendMediaCodecs; r=pehrsons
This is necessary for changes to encoding constraints and simulcast encodings to
be picked up.

MozReview-Commit-ID: JpVN0ST70Cn

--HG--
extra : rebase_source : ea61544b98e7e231527cf6f13d78862d3567b4b7
2017-11-28 14:51:53 -05:00
Dan Minor
3761af22af Bug 1406936 - Reset FEC payloads in ConfigureRecvMediaCodecs; r=mjf
MozReview-Commit-ID: CAyDUry0Ekr

--HG--
extra : rebase_source : 12284b7751b7c4e5ae5d6fa2de6857eefe8cdf13
2017-11-30 10:59:54 -05:00
Dan Minor
311a54355d Bug 1406936 - Clean up unused variables; r=pehrsons
MozReview-Commit-ID: DZtmnViblGS

--HG--
extra : rebase_source : f85697a1f7fb6d3e549b3f6663ad101b8fc020e0
2017-11-30 13:13:26 -05:00
Alfredo.Yang
7a29b0590c Bug 1426773 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: 8GzXp7Oq9Wx

--HG--
extra : rebase_source : 251cdf64d067a11fb288b73ab822cfe9bbe4115b
2018-01-08 10:08:04 +08:00
Alfredo.Yang
3cf0d3b491 Bug 1423469 - update mp4 rust parser. r=kinetik
MozReview-Commit-ID: IMnqoNL2jay

--HG--
extra : rebase_source : 14bd23405f9dfdcbb8bae5a850439918aacec5e3
2018-01-05 11:11:06 +08:00
David Major
28ad88d8c4 Bug 1321651 - revert clang-cl changes from bug 1298418 that are no longer needed. r=froydnj 2018-01-05 14:16:08 -05:00
Randell Jesup
f007b19e6f Bug 1426123: add assertion and comments that SelectSendResolution() can never result in divide-by-zero r=jib 2018-01-04 14:11:00 -05:00
Alex Chronopoulos
6da3011397 Bug 1427702 - Update cubeb from upstream to bda37c2. r=kamidphish
MozReview-Commit-ID: H106jbl4sok
2018-01-03 12:06:11 +02:00
Mike Hommey
aaf69c3c9b Bug 1427150 - Update cubeb from upstream to 43e15fc. r=kamidphish
--HG--
extra : rebase_source : 2c1338aa1f138e66ef1925fba760cdfcc7a2480a
2017-12-28 08:41:23 +09:00
Coroiu Cristina
9fdfc0197b Merge mozilla-central to autoland r=merge a=merge on a CLOSED TREE 2017-12-24 11:59:08 +02:00
Ryan VanderMeulen
c20bfd39b5 Bug 1425996 - Add in a few more instances of Unused that got missed in the first patch. r=gerald 2017-12-23 16:40:13 -05:00
Masatoshi Kimura
a1d349bfab Bug 1426898 - Stop including Char16.h everywhere. r=Waldo
We had to force-include Char16.h to simulate char16_t on older MSVC versions.
But it is no longer the case. We should not rebuild the world whenever we
touch this file.

MozReview-Commit-ID: 1XY7tQD8LoK

--HG--
extra : rebase_source : a08ccfc9b6a4abf90f6f8b97a42079865724c9ec
2017-12-23 00:53:12 +09:00
Masatoshi Kimura
89dad26c61 Bug 1426898 - Fix a bug of a local patch for libyuv. r=jesup
>+#if !defined(_MSC_VER) && (_MSC_VER < 1600)
is wrong. It should have been:
>+#if !(defined(_MSC_VER) && (_MSC_VER < 1600))
But I reverted this local change completely because we do not support such
older MSVC versions anyway.

MozReview-Commit-ID: 3VhtViP7WpX

--HG--
extra : rebase_source : f18f57d8505e5847452263847d561b5cdef255b7
2017-12-23 00:56:11 +09:00
Jean-Yves Avenard
212565b86e Bug 1426486 - P2. Make mTrackId a base member. r=bwc
Also remove unused code.
mTrackId / mTrackIdexternal were protected/private members and only ever written.

MozReview-Commit-ID: C3wMhxSCA2H

--HG--
extra : rebase_source : 18845e480e8e2d741ef1172b212373888a9c1fe8
2017-12-21 17:57:24 +01:00
Jean-Yves Avenard
2bd009f7e0 Bug 1426486 - P1. Make GetInputStream()->AsSourceStream() invariant. r=pehrsons
It can never be nullptr, strongly assert that this is the case and remove unecessary tests.

MozReview-Commit-ID: 7fi6jNnFUH8

--HG--
extra : rebase_source : 632ad1738c2984dd803c25dc44aa81c896292b64
2017-12-20 21:33:26 +01:00
Alex Chronopoulos
2fee2a59fa Bug 1426719 - Update cubeb from upstream to e1e8337. r=jesup
MozReview-Commit-ID: E0eHOl3zA0a

--HG--
extra : rebase_source : 679f4125e1966382ea20fc8095a5b29370c22f19
2017-12-21 21:25:40 +02:00
Dan Minor
f122364420 Bug 1426678 - Ensure SendTrack is not null before trying to dispatch DTMF event; r=bwc
MozReview-Commit-ID: CZbvPlIceXB

--HG--
extra : rebase_source : a77a1b804d1705d474f145f36b475c02d0e1c49d
2017-12-21 11:41:41 -05:00
Csoregi Natalia
12c47a01be Merge inbound to mozilla-central r=merge a=merge 2017-12-21 12:01:59 +02:00
JW Wang
79b5f2dd2e Bug 1425996 - fix build error: unused variable 'rv'. r=gerald
MozReview-Commit-ID: 7MhsSWbxB3z

--HG--
extra : rebase_source : 81207a1e5b663314295f2f95afd4b726ffe8f12d
2017-12-21 12:12:42 +08:00
Jean-Yves Avenard
c3f319f1c7 Bug 1426171 - Only use the graph's rate if supported by the AudioConduit. r=pehrsons
Otherwise we will use 48kHz as default, the MSG will resample as needed.
It would be possible to allow all frequencies in the AudioConduit as the webrtc backend supports them all, however it would require more changes and likely heap allocation that we're trying to limit in this part of the code.

MozReview-Commit-ID: B3x5t1FSaQ8

--HG--
extra : rebase_source : 77f83a876ed9b5ded45419245655709aee2573df
2017-12-20 14:16:04 +01:00
Heiher
dc4dbdb876 Bug 1426323 - Media: WebRTC: Fix build config for MIPS64. r=jesup
---
 media/webrtc/trunk/build/build_config.h | 4 ++++
 1 file changed, 4 insertions(+)
2017-12-21 09:00:39 +08:00
Margareta Eliza Balazs
060948a574 Merge inbound to mozilla-central r=merge a=merge 2017-12-20 11:47:11 +02:00
Matthew Gregan
3d317e6af8 Bug 1405877 - Update media/audioipc with fd passing changes (2565ddfcacbc14e1ac0d66af1a4154c07050bba2). r=kamidphish 2017-12-20 14:51:11 +13:00
Nils Ohlmeier [:drno]
ae5815d5e1 Bug 1426059: removed transportlayerprsock code. r=bwc
MozReview-Commit-ID: IWcpxq1Z2V9

--HG--
extra : rebase_source : 5f4461cf80bd19c7f9eb22bc5026cfb0f1c51ce1
2017-12-18 20:30:05 -08:00
Byron Campen [:bwc]
a6bb393781 Bug 1425901: Use nsITimerCallback for DTMF timers. r=drno
MozReview-Commit-ID: 2IlDknNhlAG

--HG--
extra : rebase_source : 3c51e468c2285b5714372108c6ef5f41f8ba00d5
2017-12-18 12:36:23 -06:00
Byron Campen [:bwc]
2d7be6de42 Bug 1425873 - Part 2: Sync send stream ids even when there is no send track. r+drno r=drno
MozReview-Commit-ID: 7s3f1Q8sCI1

--HG--
extra : rebase_source : a3c0446e31cff547b8277c8811de2e5e0967de93
2017-12-18 11:52:01 -06:00
Michael Froman
e49fa718b2 Bug 1414169 - pt 6 - Add all raw candidates table (local and remote). r=ng
Also remove the unmatched candidates in the candidate pair table since
they are now included in the "all raw candidates" table.

MozReview-Commit-ID: 4ZvhWfmjGJh

--HG--
extra : rebase_source : bf999db83cd49dd454434d2b157023da41b0dbcd
2017-11-29 14:16:12 -06:00
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