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

3609 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 62219e33b9 Bug 1628692 - Prepare media/webrtc/signaling/src/peerconnection/ for making FallibleTArray uncopyable. r=jesup,bwc,erahm
Differential Revision: https://phabricator.services.mozilla.com/D72621
2020-04-29 15:38:28 +00:00
Byron Campen [:bwc] 606eb34163 Bug 1629565: Fix bug where repeated sRD(offer) could start gathering. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D72235
2020-04-27 14:47:44 +00:00
Simon Giesecke c0341c3791 Bug 1628715 - Part 10: Activate nodiscard attributes on AppendElement(s). r=xpcom-reviewers,nika,peterv
Differential Revision: https://phabricator.services.mozilla.com/D70834
2020-04-24 14:34:15 +00:00
Dan Minor 8a8b6e82bc Bug 1628678 - Disable some threading asserts in AudioSendStream and ChannelProxy; r=bwc
With transport-cc enabled, we get feedback calls into AudioSendStream occuring
on the sts thread. Since AudioSendStream is constructed on the main thread,
this trips up the worker_thread_checker_ checks. The functions that are called
end up doing their work using AudioCodingModuleImpl::ModifyEncoder, which
takes a lock, so it should be safe to remove these assertions.

We've had to do similar things to ChannelProxy in the past to get stats
working from the sts thread. ChannelProxy has been removed upstream, but we
should consider changing our use of AudioSendStream with the next libwebrtc
update so that is always called from the same thread.

Differential Revision: https://phabricator.services.mozilla.com/D72157
2020-04-23 15:18:00 +00:00
Nico Grunbaum 5e3d3c4d85 Bug 1628630 - Add Support for RTX in WebRTC SDP CAPI;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70330

--HG--
extra : moz-landing-system : lando
2020-04-16 10:56:36 +00:00
Nico Grunbaum 4f8f4fd418 Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 09:17:46 +00:00
Brindusan Cristian 094e7f1fa3 Backed out 2 changesets (bug 1628630) for build bustages at SdpAttribute.h. CLOSED TREE
Backed out changeset 5c05d978aa32 (bug 1628630)
Backed out changeset bbd66b8940bb (bug 1628630)
2020-04-16 09:01:26 +03:00
Nico Grunbaum 763dd6c1c0 Bug 1628630 - Add Support for RTX in WebRTC SDP CAPI;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70330

--HG--
extra : moz-landing-system : lando
2020-04-16 05:36:10 +00:00
Nico Grunbaum 53809171df Bug 1628630 - update WEBRTC-SDP to 0.3.5;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D70339

--HG--
extra : moz-landing-system : lando
2020-04-16 05:35:58 +00:00
Dan Minor fbe8b27f53 Bug 1611938 - Add mutex to WebrtcMediaDataEncoderCodec; r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D68785

--HG--
extra : moz-landing-system : lando
2020-04-15 15:45:56 +00:00
Dan Minor 4639b29902 Bug 1628851 - Fix VP8 temporal scalability; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D70673

--HG--
extra : moz-landing-system : lando
2020-04-14 18:24:51 +00:00
Nils Ohlmeier [:drno] fc4d0d052e Bug 1627749: remove webrtc_version.h and webrtc_update.sh. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D69851

--HG--
extra : moz-landing-system : lando
2020-04-06 18:47:04 +00:00
Noemi Erli be7697306a Backed out changeset 65ec189c410c (bug 1611938) for causing Android crashes CLOSED TREE 2020-04-08 17:21:10 +03:00
Dan Minor 36fd49aa19 Bug 1611938 - Change dispatches in WebrtcMediaDataEncoderCodec; r=jolin
Differential Revision: https://phabricator.services.mozilla.com/D68785

--HG--
extra : moz-landing-system : lando
2020-04-07 23:48:58 +00:00
Dan Minor 76a59f4a65 Bug 1347911 - Add sdp unit test for ssrc-group; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D69272

--HG--
extra : moz-landing-system : lando
2020-04-08 11:41:05 +00:00
Sergio Garcia Murillo c60f2fd639 Bug 1347911 - Add support for ssrc groups to SdpAttributeList; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D69270

--HG--
extra : moz-landing-system : lando
2020-04-08 11:40:52 +00:00
Sergio Garcia Murillo 2765f304a9 Bug 1347911 - Add support for parsing ssrc-group to sipcc; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D69269

--HG--
extra : moz-landing-system : lando
2020-04-08 11:40:35 +00:00
Dan Minor 27dd57df7f Bug 1347911 - Update rsdparsa_capi to support ssrc-group; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D69268

--HG--
extra : moz-landing-system : lando
2020-04-08 11:40:22 +00:00
Dan Minor 35b359b642 Bug 1347911 - Update webrtc-sdp to 0.3.4; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D69267

--HG--
rename : third_party/rust/webrtc-sdp/examples/sdps/2.sdp => third_party/rust/webrtc-sdp/examples/sdps/02.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/4.sdp => third_party/rust/webrtc-sdp/examples/sdps/04.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/6.sdp => third_party/rust/webrtc-sdp/examples/sdps/06.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/7.sdp => third_party/rust/webrtc-sdp/examples/sdps/07.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/8.sdp => third_party/rust/webrtc-sdp/examples/sdps/08.sdp
rename : third_party/rust/webrtc-sdp/examples/sdps/9.sdp => third_party/rust/webrtc-sdp/examples/sdps/09.sdp
extra : moz-landing-system : lando
2020-04-08 11:40:19 +00:00
Tom Tung d33e72aaa9 Bug 1586761 - P5 - Use new methods in media r=tjr,baku
Differential Revision: https://phabricator.services.mozilla.com/D63906

--HG--
extra : moz-landing-system : lando
2020-03-25 14:16:15 +00:00
Andreas Farre 9e36af2ab6 Bug 1620594 - Part 3: Use default target for timers using SystemGroup. r=nika
Depends on D67632

Differential Revision: https://phabricator.services.mozilla.com/D67633

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:46 +00:00
Andreas Farre 63e21eec70 Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.

Depends on D64390

Differential Revision: https://phabricator.services.mozilla.com/D67631

--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:23 +00:00
Alex Chronopoulos 88b8c3cca3 Bug 1626319 - Change async callback logger to log per thread-id. r=padenot
TRACE_AUDIO_CALLBACK() and TRACE_AUDIO_CALLBACK_COMMENT(aFmt, ...) log to a hardcoded thread id number. This creates confusion when more than one MTG is running because logs from different threads are depicted to the same thread line and overlapping each other. Those logging commands have been removed and the TRACE* command is used that it logs per thread-id.

Differential Revision: https://phabricator.services.mozilla.com/D69031

--HG--
extra : moz-landing-system : lando
2020-04-07 10:45:52 +00:00
J. Ryan Stinnett 9678414e95 Bug 1606823 - Add support for WebRTC transport-cc extension. r=bwc,drno
This change includes support to negotiate the transport-wide-cc RTP extension
needed to enable sender side bandwidth estimation in WebRTC. When this
extension is supported in both sides during the Offer/Answer negotiation the
transport_cc mode is enabled in the WebRTC engine so that this mode is used
instead of the legacy receiver-side (REMB based) mechanism.

The change is inspired on this fork by medooze team:
https://github.com/medooze/gecko-dev/pull/2/files

Co-authored-by: ggarber <gustavogb@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D68734

--HG--
extra : moz-landing-system : lando
2020-03-30 22:32:43 +00:00
André Bargull d53798e749 Bug 1625138 - Part 23: Replace mozilla::RemovePointer with std::remove_pointer. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D68378

--HG--
extra : moz-landing-system : lando
2020-03-28 13:57:17 +00:00
Byron Campen [:bwc] 9b911ee291 Bug 1624956: Make sure we're initted before trying to get ICE stats. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D68246

--HG--
extra : moz-landing-system : lando
2020-03-26 14:11:36 +00:00
Dan Minor fc60c56bd4 Bug 1625288 - Fix broken camera unmute in WebRTC call on macOS; r=jib
Differential Revision: https://phabricator.services.mozilla.com/D68459

--HG--
extra : moz-landing-system : lando
2020-03-27 13:50:02 +00:00
Byron Campen [:bwc] a36e252242 Bug 1620308: Move RTCDTMFSender logic to a single c++ class. r=smaug,jib,mjf
Differential Revision: https://phabricator.services.mozilla.com/D67513

--HG--
extra : moz-landing-system : lando
2020-03-25 18:46:37 +00:00
Byron Campen [:bwc] 944d6971a3 Bug 1603887: Drive closing of DataChannels with transport events, not negotiation events. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D67946

--HG--
extra : moz-landing-system : lando
2020-03-23 21:52:51 +00:00
Byron Campen [:bwc] bcd72fe82e Bug 1616875: Make this work with gtest. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D64692

--HG--
extra : moz-landing-system : lando
2020-03-20 15:35:46 +00:00
Byron Campen [:bwc] 2eecfe8825 Bug 1616875: Make RtpSourceObserver update stats on main thread, and simplify. r=ng
This essentially implements the "queue a task" step required by the spec, which
ensures that if JS checks stats multiple times without relinquishing the event
loop, it will see the same thing each time.

Differential Revision: https://phabricator.services.mozilla.com/D64468

--HG--
extra : moz-landing-system : lando
2020-03-20 15:35:44 +00:00
Byron Campen [:bwc] 2bd9232e1c Bug 1616875: Remove some unnecessary code. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D64238

--HG--
extra : moz-landing-system : lando
2020-03-20 15:34:05 +00:00
Byron Campen [:bwc] 865bbdca09 Bug 1616875: Move some receiver-related testing functions from RTCPeerConnection to RTCRtpReceiver. r=ng,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64262

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:55 +00:00
Byron Campen [:bwc] 1898507132 Bug 1616875: Create RTCRtpReceiver in c++, and move code into it from both JSImpl and other places in c++. Also, move some code from JSImpl to PeerConnectionImpl. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64235

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:24 +00:00
Byron Campen [:bwc] 82081f2ffa Bug 1616875: Remove code that we will not need to move to RTCRtpReceiver. r=ng,smaug
Primarily, this removes code that was compensating for inconsistencies between webrtc.org's timestamps, and JS timestamps. Also, this removes a few bits of indirection on GetRtpSources; that's all going to go directly to RTCRtpReceiver now. None of this code is being moved elsewhere.

Depends on D50395

Differential Revision: https://phabricator.services.mozilla.com/D64234

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:12 +00:00
Byron Campen [:bwc] 7fd72ae8fd Bug 1616875: Use timestamps for SSRC/CSRC statistics that are consistent with JS timestamps. r=ng
This means we won't have to re-implement all of our JSImpl workarounds in c++.
Also, rename a variable in a way that made it easier to read this code.

Differential Revision: https://phabricator.services.mozilla.com/D50395

--HG--
extra : moz-landing-system : lando
2020-03-20 15:33:04 +00:00
Bogdan Tara 2b0b0d8b79 Backed out 9 changesets (bug 1616875) for bustages complaining about RTCRtpReceiver.h CLOSED TREE
Backed out changeset 92ed87a5add4 (bug 1616875)
Backed out changeset 96b3a322e605 (bug 1616875)
Backed out changeset a301ce4e5571 (bug 1616875)
Backed out changeset ac73b2ce3e20 (bug 1616875)
Backed out changeset f5a201261e83 (bug 1616875)
Backed out changeset 36892aed2a94 (bug 1616875)
Backed out changeset 2c21627f3678 (bug 1616875)
Backed out changeset ebdad7b7b632 (bug 1616875)
Backed out changeset 3bad18c7a567 (bug 1616875)
2020-03-20 16:38:30 +02:00
Byron Campen [:bwc] f688bb3c01 Bug 1616875: Make this work with gtest. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D64692

--HG--
extra : moz-landing-system : lando
2020-03-19 18:43:25 +00:00
Byron Campen [:bwc] 4a860bed41 Bug 1616875: Make RtpSourceObserver update stats on main thread, and simplify. r=ng
This essentially implements the "queue a task" step required by the spec, which
ensures that if JS checks stats multiple times without relinquishing the event
loop, it will see the same thing each time.

Differential Revision: https://phabricator.services.mozilla.com/D64468

--HG--
extra : moz-landing-system : lando
2020-03-19 18:43:12 +00:00
Byron Campen [:bwc] 5b459b872c Bug 1616875: Remove some unnecessary code. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D64238

--HG--
extra : moz-landing-system : lando
2020-03-19 18:42:44 +00:00
Byron Campen [:bwc] 72efb619af Bug 1616875: Move some receiver-related testing functions from RTCPeerConnection to RTCRtpReceiver. r=ng,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64262

--HG--
extra : moz-landing-system : lando
2020-03-19 18:42:29 +00:00
Byron Campen [:bwc] fc5f5e381e Bug 1616875: Create RTCRtpReceiver in c++, and move code into it from both JSImpl and other places in c++. Also, move some code from JSImpl to PeerConnectionImpl. r=jib,smaug
Differential Revision: https://phabricator.services.mozilla.com/D64235

--HG--
extra : moz-landing-system : lando
2020-03-19 18:41:58 +00:00
Byron Campen [:bwc] 4e1d375bf8 Bug 1616875: Remove code that we will not need to move to RTCRtpReceiver. r=ng,smaug
Primarily, this removes code that was compensating for inconsistencies between webrtc.org's timestamps, and JS timestamps. Also, this removes a few bits of indirection on GetRtpSources; that's all going to go directly to RTCRtpReceiver now. None of this code is being moved elsewhere.

Depends on D50395

Differential Revision: https://phabricator.services.mozilla.com/D64234

--HG--
extra : moz-landing-system : lando
2020-03-19 18:41:46 +00:00
Byron Campen [:bwc] 2c26ca9900 Bug 1616875: Use timestamps for SSRC/CSRC statistics that are consistent with JS timestamps. r=ng
This means we won't have to re-implement all of our JSImpl workarounds in c++.
Also, rename a variable in a way that made it easier to read this code.

Differential Revision: https://phabricator.services.mozilla.com/D50395

--HG--
extra : moz-landing-system : lando
2020-03-19 18:41:38 +00:00
Dan Minor 294882d83b Bug 1621500 - Null out _owner in RTCVideoCaptureIosObjC; r=ng
We're seeing what looks like occasional late callbacks in
VideoCaptureImpl::DeliverCapturedFrame on OS X. When we call stopCapture, it in
turns calls directOutputToNil which should cause any newly capture frames to be
dropped. It is not clear from the existing code or the documentation what would
happen to any frames which are already enqueued. It looks like it is possible
for frames to be delivered on the old queue, which would explain late callbacks.

Differential Revision: https://phabricator.services.mozilla.com/D67486

--HG--
extra : moz-landing-system : lando
2020-03-19 17:04:22 +00:00
Dan Minor c57e9e9841 Bug 1622732 - Use error! instead of println! in rsdparsa_capi; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D66958

--HG--
extra : moz-landing-system : lando
2020-03-17 16:48:54 +00:00
Dan Minor 8e00f3c3ce Bug 1622923 - Remove expiring WebRTC hostname obfuscation telemetry; r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D67038

--HG--
extra : moz-landing-system : lando
2020-03-17 14:25:38 +00:00
Narcis Beleuzu 0bd97c69da Backed out changeset 1d20f201aaad (bug 1622732) for bustages on lib.rs. CLOSED TREE 2020-03-17 17:36:50 +02:00
Dan Minor b6a9e0498e Bug 1622732 - Use error! instead of println! in rsdparsa_capi; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D66958

--HG--
extra : moz-landing-system : lando
2020-03-16 19:57:36 +00:00
Alex Chronopoulos 9fb4eecd46 Bug 1617915 - Expose output device id when MediaTrackGraph is created. r=padenot
In order to be able to change the audio output device, the device id is exposed to the constructor of MediaStreamGraph. Any component that gets/creates an MTG will be able to provide the device id in order to determine the desired output device. If the provided device id is null the default device will be used.

Differential Revision: https://phabricator.services.mozilla.com/D64133

--HG--
extra : moz-landing-system : lando
2020-03-16 12:56:20 +00:00