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

3694 Коммитов

Автор SHA1 Сообщение Дата
Byron Campen [:bwc] e05489b922 Bug 1643058: Timestamp mDNS lookups. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D79531
2020-06-25 13:21:52 +00:00
Dorel Luca e037947c1d Backed out 6 changesets (bug 1643058) for WPT failures in webrtc/RTCRtpReceiver-getSynchronizationSources.https.html. CLOSED TREE
Backed out changeset 6dd69c93d9e2 (bug 1643058)
Backed out changeset fcc0942206d9 (bug 1643058)
Backed out changeset 12c6d279b173 (bug 1643058)
Backed out changeset 7d90312af10f (bug 1643058)
Backed out changeset c4f71ccf6934 (bug 1643058)
Backed out changeset e6edf6df8183 (bug 1643058)
2020-06-24 07:28:06 +03:00
Byron Campen [:bwc] 67473c1fc0 Bug 1643058: Timestamp mDNS lookups. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D79531
2020-06-23 18:07:05 +00:00
Dan Minor 0e2a0cec63 Bug 1647368 - Update gn generated files; r=ng
Depends on D80546

Differential Revision: https://phabricator.services.mozilla.com/D80547
2020-06-22 21:10:30 +00:00
Dan Minor 56605a5c2c Bug 1647368 - Update build files; r=ng
Depends on D80545

Differential Revision: https://phabricator.services.mozilla.com/D80546
2020-06-22 21:10:05 +00:00
Dan Minor 0868cb89d3 Bug 1647368 - Move objc video capture code to dom/media/systemservices; r=ng
All changes in these files are a result of code formatting being applied.
When these files were under webrtc, they were treated as third party code and
not formatting. By moving them, formatting is now applied.

Differential Revision: https://phabricator.services.mozilla.com/D80544
2020-06-22 21:09:34 +00:00
Jean-Yves Avenard 87438519f0 Bug 1637500 - P2. Rename methods as they are not always dealing with "threads". r=froydnj
Before P1, GetCurrentThreadSerialEventTarget would have always returned the same data as NS_GetCurrentThread, making the comment incorrect Now it will properly return the running TaskQueue if any.

This change of name more clearly exposes what they are doing, as we aren't always dealing with threads directly; but a nsISerialEventTarget

Differential Revision: https://phabricator.services.mozilla.com/D80354
2020-06-23 05:05:36 +00:00
Dan Minor 1116efcc34 Bug 1646092 - Do not add ssrc-group to sdp on recvonly msections; r=bwc
Chrome will not accept sdp with ssrc-group:FID on recvonly msections, causing
calls to fail to be established between Firefox and Chrome when only a
microphone is present on the Firefox side.

Differential Revision: https://phabricator.services.mozilla.com/D80034
2020-06-22 12:32:16 +00:00
Byron Campen [:bwc] 61e3e355eb Bug 1646838: Rename this variable. r=mjf
Depends on D80277

Differential Revision: https://phabricator.services.mozilla.com/D80278
2020-06-18 23:44:37 +00:00
Byron Campen [:bwc] 43dd35b65d Bug 1646838: Rewrite this to use c++ structured bindings, and pick better names. r=mjf
Depends on D80275

Differential Revision: https://phabricator.services.mozilla.com/D80277
2020-06-18 23:46:13 +00:00
Byron Campen [:bwc] 0d162c327d Bug 1646838: Replace this function with a better named one. r=mjf
Depends on D80272

Differential Revision: https://phabricator.services.mozilla.com/D80275
2020-06-18 23:47:47 +00:00
Byron Campen [:bwc] 9a4fa6ba9e Bug 1646838: This enum and function are not even used, so removing them. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D80272
2020-06-18 23:43:29 +00:00
Dorel Luca 524cb78f56 Backed out changeset 35dcd6ad89c6 (bug 1646092) for Gtests failures in JsepSessionTest.OfferAnswerRecvOnlyLines. CLOSED TREE 2020-06-18 23:22:29 +03:00
Dan Minor c8da0b9e5f Bug 1646092 - Do not add ssrc-group to sdp on recvonly msections; r=bwc
Chrome will not accept sdp with ssrc-group:FID on recvonly msections, causing
calls to fail to be established between Firefox and Chrome when only a
microphone is present on the Firefox side.

Differential Revision: https://phabricator.services.mozilla.com/D80034
2020-06-18 15:30:41 +00:00
Dan Minor 8b02726f4f Bug 1645675 - Fix DTMF call return values in AudioConduit; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D79723
2020-06-18 02:35:50 +00:00
Dan Minor 737ca9006d Bug 1639734 - Restore check that sink is registered in AddOrUpdateSink; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D78723
2020-06-08 19:14:06 +00:00
Nils Ohlmeier [:drno] b2a1ca628f Bug 1646150: removed unused libwebrtc sctp code. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D79883
2020-06-16 20:02:30 +00:00
Dan Minor 0b5eafd46f Bug 1645127 - Copy MID from source packet to RTX packet; r=ng
This change is already present upstream.

Differential Revision: https://phabricator.services.mozilla.com/D79548
2020-06-13 22:48:58 +00:00
Nico Grunbaum 5442b2eb88 Bug 1624967 - Display entire SDP history about:webrtc;r=dminor,webidl,smaug,flod
Differential Revision: https://phabricator.services.mozilla.com/D78866
2020-06-10 13:51:41 +00:00
Nico Grunbaum 87986ab67c Bug 1637450 - P2 - Access remote SSRC from any thread;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D78827
2020-06-10 13:55:43 +00:00
Nico Grunbaum 8108184b4f Bug 1637450 - Add Video Frame statistics to about:webrtc;r=bwc,webidl,smaug
Differential Revision: https://phabricator.services.mozilla.com/D75073
2020-06-10 16:34:25 +00:00
Dan Minor f8f95a8f04 Bug 1643155 - Rename obfuscate_host_addresses pref; r=ng,mkaply
Renaming this to blocklist, as this is a list of sites for which hostname
obfuscation is disabled.

Differential Revision: https://phabricator.services.mozilla.com/D78681
2020-06-09 09:30:04 +00:00
Dan Minor 31189b2a44 Bug 1641600 - Check RTX blocklist pref in PeerConnectionImpl; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77814
2020-06-04 14:42:15 +00:00
Dan Minor bcf0e14ff6 Bug 1641600 - Add SetRtxIsAllowed method to JsepTrack and JsepSession; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77813
2020-06-04 14:45:02 +00:00
Taegeon Lee 14c6288864 Bug 1629421 Fix redundant string initialization of ClientWebGlContext.cpp r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D78458
2020-06-05 11:15:30 +00:00
Nico Grunbaum 79a227b703 Bug 1615191 - P1 - implement remoteTimestamp for RTCRemoteOutboundRtpStreamStats;r=dminor,smaug
r?smaug for WebIDL review

Differential Revision: https://phabricator.services.mozilla.com/D78003
2020-06-05 11:41:24 +00:00
Nico Grunbaum 41e48cb684 Bug 1615191 - P0 - implement remoteTimestamp for RTCRemoteOutboundRtpStreamStats in libwebrtc;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D78004
2020-06-05 11:41:24 +00:00
Butkovits Atila 8257764785 Backed out 3 changesets (bug 1641600) for failures at test_peerConnection_constructedStream.html. CLOSED TREE
Backed out changeset 41a85b7d3e5e (bug 1641600)
Backed out changeset 249782af96bb (bug 1641600)
Backed out changeset 86c2932e66d3 (bug 1641600)
2020-06-04 15:06:33 +03:00
Dan Minor 9c0a2aac8a Bug 1641600 - Check RTX blocklist pref in PeerConnectionImpl; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77814
2020-06-03 20:57:33 +00:00
Dan Minor ee1ae2eb58 Bug 1641600 - Add SetRtxIsAllowed method to JsepTrack and JsepSession; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D77813
2020-06-03 20:54:58 +00:00
Byron Campen [:bwc] 4bebff252f Bug 1636185: Inline this since nothing else was using it. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D74279
2020-06-01 21:56:57 +00:00
Byron Campen [:bwc] 55f0931f37 Bug 1636185: Don't use GetRemoteSSRCLocked when setting/unsetting ssrcs, because that is intended to be used for stats, not configuration. r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D74267
2020-06-01 21:56:44 +00:00
Dan Minor f9c221ca56 Bug 1640697 - Test MID associated with multiple SSRCs; r=ng
Differential Revision: https://phabricator.services.mozilla.com/D76900
2020-05-28 19:13:22 +00:00
Dan Minor df92d55880 Bug 1640697 - Use set for MID bindings in MediaPipelineFilter; r=ng
With RTX enabled, we have multiple SSRCs associated with a single MID, but the
filter code assumes that only one binding will be present. This change allows
a set of SSRCs to be associated with a MID.

Differential Revision: https://phabricator.services.mozilla.com/D76894
2020-05-28 19:13:14 +00:00
Nico Grunbaum 46b83b6604 Bug 1218356 - P2 - Implement the RTCDataChannel stats;r=dminor
Note that transportId is not implemented and is not a stat but a key back into
the stats report. It identifies the related transport stats object. We don't
have transport stats, so this can not be implemented at the moment.

Differential Revision: https://phabricator.services.mozilla.com/D57116
2020-05-29 10:46:42 +00:00
Nico Grunbaum ee658e6245 Bug 1218356 - P1 - Add serializers for RTCDataChannel stats;r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D57115
2020-05-29 10:38:37 +00:00
ChrisCushman 2c81dcfe0b Bug 1629422 - Eliminating redundant initialization in MediaTransportHandler r=dminor
Differential Revision: https://phabricator.services.mozilla.com/D76770
2020-05-28 15:04:06 +00:00
Dan Minor d59bd05dc1 Bug 1603296 - Check for null data_ in EnsureCapacityWithHeadroom; r=ng
Since this passes IsConsistent() and data_ is null, capacity_ must be zero,
which implies size_ is zero, and so we attempt to copy zero bytes from a null
pointer. This doesn't seem to crash, but is still undefined behaviour.

Differential Revision: https://phabricator.services.mozilla.com/D76913
2020-05-28 14:06:41 +00:00
Dan Minor 169cad5736 Bug 1639377 - Do not offer RRID header extension if RTX is disabled; r=drno
Differential Revision: https://phabricator.services.mozilla.com/D76890
2020-05-26 20:49:29 +00:00
Dan Minor 715e2622ab Bug 1637319 - Only enumerate capture devices on Linux that support V4L2_CAP_VIDEO_CAPTURE; r=ng
The side effect of not filtering on V4L2_CAP_VIDEO_CAPTURE is that every device
is enumerated twice. Because we look up devices by name, and the device that
supports V4L2_CAP_VIDEO_CAPTURE seems to always appear first in /dev/video,
this does not seem to end up with us ever choosing an inappropriate device. We
might get away with just filtering device names from the list, but if the order
of devices ever changed in /dev/video there could be problems.

Differential Revision: https://phabricator.services.mozilla.com/D75593
2020-05-15 19:40:28 +00:00
Dan Minor fdcf957cca Bug 1634675 - Remove webrtc-gtests r=drno,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73451
2020-05-20 19:59:45 +00:00
Aaron Klotz b4b8568b47 Bug 1637452: Part 13 - Fix JNI includes in media/webrtc; r=bwc
In this bug we're moving away from monolithic JNI headers to class-specific
headers so that we don't have to rebuild the world every time we make a change
to a JNI interface.

Differential Revision: https://phabricator.services.mozilla.com/D75376
2020-05-15 17:05:28 +00:00
Dan Minor b9598227dc Bug 1632489 - Only adjust valid capture times when generating padding; r=bwc
The current code will only set the TranmissionOffset extension if
capture_time_ms is > 0, but when adjusting timestamps for rtx packets, it is
adjusted  without first checking to see if it is valid, which will cause invalid
values of capture_time_ms to be written to TranmissionOffset, leading to assertion
failures.

This bug is still present on tip of libwebrtc, so we'll also need to prepare a
patch for upstream.

Depends on D74842

Differential Revision: https://phabricator.services.mozilla.com/D75528
2020-05-15 14:47:36 +00:00
Dan Minor 83b49d068b Bug 1632489 - Use repaired-rtp-stream-id in rtx packets; r=ng
This imports a few fixes from tip of libwebrtc, which now supports mid, rid
and rrid. The rtx packet is now allocated as max_packet_size_, which is
necessary to have enough capacity for the rrid. It takes the
CopyHeaderAndExtensionsToRtxPacket function from upstream, which omits
copying extensions that should not be copied over, such as rid. It is necessary
to make AllocateExtension and FindExtension public in order for this
function to work.

It then copies the rid from the source packet over to rrid in the rtx packet.
Upstream has code for this as well, but taking it would require more
extensive changes to our copy of libwebrtc. We can drop these local
modifications with the next update.

Differential Revision: https://phabricator.services.mozilla.com/D74840
2020-05-15 11:58:54 +00:00
Dan Minor 0cf534a4f7 Bug 1632489 - Enable repaired-rtp-stream-id extension in jsep; r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D74839
2020-05-15 11:55:08 +00:00
Nico Grunbaum 3ad9a07524 Bug 1279153 - Add support for rtcp-rsize;r=bwc,dminor
Differential Revision: https://phabricator.services.mozilla.com/D72807
2020-05-15 01:54:34 +00:00
Dan Minor 79e6c1318b Bug 1637636 - Add callback to Call::OnSentPacket in conduits; r=ng
In order for the SendSideCongestionController to work properly, it needs the
timestamp at which the packets were sent. This is set by calling
Call::OnSentPacket when a packet is sent. Without the sent timestamp, it drops
the estimated available bandwidth so low that only one simulcast stream will
be allocated any bandwidth.

Differential Revision: https://phabricator.services.mozilla.com/D75310
2020-05-14 18:29:44 +00:00
Nico Grunbaum 5a8efe4876 Bug 1534466 - P2 - add missing video impl for GetRtpSources;r=jib
Differential Revision: https://phabricator.services.mozilla.com/D74823
2020-05-13 23:18:24 +00:00
Brindusan Cristian 1b5de135bc acked out 4 changesets (bug 1632489) for android crashes at test_peerConnection_maxFsConstraint.html. CLOSED TREE
Backed out changeset 22ef19e55421 (bug 1632489)
Backed out changeset 8e0260c41854 (bug 1632489)
Backed out changeset cc52615f7682 (bug 1632489)
Backed out changeset 45ad6b848a8f (bug 1632489)
2020-05-14 00:15:50 +03:00
Dan Minor 110b9c482b Bug 1632489 - Use repaired-rtp-stream-id in rtx packets; r=ng
This imports a few fixes from tip of libwebrtc, which now supports mid, rid
and rrid. The rtx packet is now allocated as max_packet_size_, which is
necessary to have enough capacity for the rrid. It takes the
CopyHeaderAndExtensionsToRtxPacket function from upstream, which omits
copying extensions that should not be copied over, such as rid. It is necessary
to make AllocateExtension and FindExtension public in order for this
function to work.

It then copies the rid from the source packet over to rrid in the rtx packet.
Upstream has code for this as well, but taking it would require more
extensive changes to our copy of libwebrtc. We can drop these local
modifications with the next update.

Depends on D74839

Differential Revision: https://phabricator.services.mozilla.com/D74840
2020-05-12 21:35:10 +00:00