3917 Commits

Author SHA1 Message Date
Michael Froman
bfc971dbef Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetAssociatedPayloadTypes 2022-11-19 15:23:19 -06:00
Michael Froman
9a1e96c17c Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetProtectionPayloadTypes
Adds - SetProtectionPayloadTypes
Removes - SetUlpfecPayloadType and SetRedPayloadType
2022-11-19 14:43:25 -06:00
Michael Froman
1a199f9d24 Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetRedPayloadType 2022-11-19 14:38:16 -06:00
Michael Froman
fc5826346e Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetRtcpXr 2022-11-19 14:15:17 -06:00
Michael Froman
082971e09e Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetUlpfecPayloadType 2022-11-19 14:02:38 -06:00
Michael Froman
0ee4905dfd Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetNackHistory 2022-11-18 12:45:25 -06:00
Michael Froman
41ce763b8f Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetLossNotificationEnabled 2022-11-18 12:11:44 -06:00
Michael Froman
0bf83a4e36 Bug 1800920 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetFlexFecProtection 2022-11-17 18:13:44 -06:00
Byron Campen
7f8d15521b Bug 1401592: Restore old ridless unicast encoding when JSEP rolls back an initial simulcast offer. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D157654
2022-12-13 23:22:03 +00:00
Byron Campen
274c1c6883 Bug 1401592: Common rid validation logic for SDP and JS. r=mjf
Includes a configured max rid length, since it is not very reasonable to assume
that rids of length 255 are supported by the RTP engine, regardless of what
the IETF specs say.

Differential Revision: https://phabricator.services.mozilla.com/D156832
2022-12-13 23:21:59 +00:00
Byron Campen
03addb3eed Bug 1401592: Remove encoding constraints from JSEP. r=mjf
The spec has settled on not allowing these constraints to be negotiated, so all
that is left is the negotiation of the set of rids.

Also, add an include to eliminate some bot spam.

Differential Revision: https://phabricator.services.mozilla.com/D156830
2022-12-13 23:21:59 +00:00
Butkovits Atila
74a43f86ea Backed out 18 changesets (bug 1401592, bug 1676855) for causing failures at test_peerConnection_scaleResolution_oldSetParameters.html. CLOSED TREE
Backed out changeset 47c810ec8060 (bug 1676855)
Backed out changeset aba56121e546 (bug 1401592)
Backed out changeset ba525fa85b99 (bug 1401592)
Backed out changeset 00409e6f4685 (bug 1401592)
Backed out changeset bf98bb55e45f (bug 1401592)
Backed out changeset f16c0eb92363 (bug 1401592)
Backed out changeset 3cb1dde9bbbc (bug 1401592)
Backed out changeset a9bfef738d49 (bug 1401592)
Backed out changeset aa6aa10cfd97 (bug 1401592)
Backed out changeset b4752eaae108 (bug 1401592)
Backed out changeset e868d7b3abd8 (bug 1401592)
Backed out changeset ce11d420246c (bug 1401592)
Backed out changeset 01434a8cb2b6 (bug 1401592)
Backed out changeset 154d08dd3bca (bug 1401592)
Backed out changeset fffc015a5dd5 (bug 1401592)
Backed out changeset 9e11ddaf8b3e (bug 1401592)
Backed out changeset 26a812435ddd (bug 1401592)
Backed out changeset 3b064fbc9a61 (bug 1401592)
2022-12-13 22:53:05 +02:00
Byron Campen
be01be7679 Bug 1401592: Restore old ridless unicast encoding when JSEP rolls back an initial simulcast offer. r=mjf
Differential Revision: https://phabricator.services.mozilla.com/D157654
2022-12-13 16:32:23 +00:00
Byron Campen
4de194965e Bug 1401592: Common rid validation logic for SDP and JS. r=mjf
Includes a configured max rid length, since it is not very reasonable to assume
that rids of length 255 are supported by the RTP engine, regardless of what
the IETF specs say.

Differential Revision: https://phabricator.services.mozilla.com/D156832
2022-12-13 16:32:20 +00:00
Byron Campen
f8c01960cc Bug 1401592: Remove encoding constraints from JSEP. r=mjf
The spec has settled on not allowing these constraints to be negotiated, so all
that is left is the negotiation of the set of rids.

Also, add an include to eliminate some bot spam.

Differential Revision: https://phabricator.services.mozilla.com/D156830
2022-12-13 16:32:19 +00:00
Andreas Pehrson
064e2290af Bug 1803530 - Follow resolution alignment in VideoStreamFactory. r=webrtc-reviewers,jib
Differential Revision: https://phabricator.services.mozilla.com/D163598
2022-12-05 09:15:15 +00:00
Andreas Pehrson
fcb762f2ba Bug 1803368 - Plumb H264 configuration from sdp negotiation into libwebrtc. r=webrtc-reviewers,mjf
The plumbing for this was broken in
https://hg.mozilla.org/mozilla-central/rev/f3fc736c62d289ba9d7be9ed01806de7b6c00855

This patch puts the config data into SdpVideoFormat::Parameters which gets
passed into libwebrtc. Further down the line, these parameters will have to be
picked up by encoders. Subsequent patches fixes this for WebrtcGmpVideoEncoder
and WebrtcMediaDataEncoder.

Differential Revision: https://phabricator.services.mozilla.com/D163470
2022-12-01 13:21:37 +00:00
Andreas Pehrson
2ed52d6125 Bug 1796069 - Annotate MediaStreamTrackSources with a tracking id and apply it to CopyVideoStages. r=padenot
This will allow time consuming tasks (copies, capture, etc.) along the pipe to
be grouped per-track-source when visualizing profiler markers.

Differential Revision: https://phabricator.services.mozilla.com/D160754
2022-12-01 09:52:46 +00:00
Andreas Pehrson
442da3730c Bug 1802908 - Add gtests. r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D163318
2022-11-29 15:29:46 +00:00
Byron Campen [:bwc]
ae6d93d970 Bug 1799932: Test-case for bug. r=pehrsons,mjf
Differential Revision: https://phabricator.services.mozilla.com/D161816
2022-11-16 22:06:34 +00:00
Csoregi Natalia
ad773a278e Merge mozilla-central to autoland on a CLOSED TREE 2022-11-14 23:53:19 +02:00
Dan Baker
cc8d00b0f6 Bug 1780310 - Let libwebrtc not VideoConduit be responsible for scaling video frames for encoding;r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D158537
2022-10-25 16:22:05 +00:00
Cristian Tuns
6e9ad87f86 Backed out changeset f802366520fd (bug 1780310) for causing GTest failures in VideoConduitTest CLOSED TREE 2022-10-25 11:43:52 -04:00
Dan Baker
798f1babb5 Bug 1780310 - Let libwebrtc not VideoConduit be responsible for scaling video frames for encoding;r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D158537
2022-10-25 14:16:13 +00:00
Michael Froman
79024a863a Bug 1790097 (MOZ) - handle upstream adding VideoReceiveStreamInterface::SetRtcpMode 2022-10-17 18:26:24 -05:00
Michael Froman
75961bf6b7 Bug 1790097 (MOZ) - handle upstream splitting SetUseTransportCcAndNackHistory into 2 methods 2022-09-22 15:47:37 -05:00
Michael Froman
0a6a0e5d52 Bug 1790097 (MOZ) - handle upstream removing deprecated AudioReceiveStream for AudioReceiveStreamInterface
Also fix the deprecation warnings for VideoReceiveStream by using VideoReceiveStreamInterface.
2022-09-22 14:11:34 -05:00
Michael Froman
21847738b0 Bug 1790097 (MOZ) - handle upstream change to Call::OnUpdateSyncGroup method signature 2022-09-21 10:27:46 -05:00
Michael Froman
bc0a0c4757 Bug 1790097 (MOZ) - reland "handle upstream adding new Call::OnLocalSsrcUpdated method signatures" 2022-09-21 09:57:22 -05:00
Michael Froman
58b9aa718a Bug 1790097 (MOZ) - revert "handle upstream adding new Call::OnLocalSsrcUpdated method signatures" 2022-09-21 09:39:40 -05:00
Michael Froman
0504e16748 Bug 1790097 (MOZ) - handle upstream adding new Call::OnLocalSsrcUpdated method signatures 2022-09-20 16:21:41 -05:00
Byron Campen
dcfd958641 Bug 1789908: If we cannot determine the type for an fmtp, do not add it to the list of successfully parsed fmtp attributes. r=ng
Differential Revision: https://phabricator.services.mozilla.com/D156900
2022-09-09 14:58:24 +00:00
Andreea Pavel
0377d10e01 Merge mozilla-central to autoland on a CLOSED TREE 2022-08-31 00:13:19 +03:00
Jeff Muizelaar
84c3cddaf2 Bug 1782232. Adjust the video widths and heights in videoconduit_unittests. r=mjf
These changes were caused by upstream enabling the "WebRTC-Video-VariableStartScaleFactor"
field trial by default in db0d586172.

Differential Revision: https://phabricator.services.mozilla.com/D153213
2022-08-30 11:04:00 -04:00
Michael Froman
2bf4732faa Bug 1766646 (MOZ) - handle upstream changes in {Audio|Video}ReceiveStream 2022-08-30 11:03:27 -04:00
Michael Froman
a79102a418 Bug 1766646 (MOZ) handle upstream adding {Audio|Video}ReceiveStream::transport_cc and removing {Audio|Video}ReceiveStream::rtp_config 2022-08-30 11:03:12 -04:00
Michael Froman
3aebbb110f Bug 1766646 (MOZ) - handle upstream adding {Audio|Video}ReceiveStream::GetRtpExtensions 2022-08-30 11:03:10 -04:00
Michael Froman
f1b1791285 Bug 1766646 (MOZ) - handle upstream adding AudioReceiveStream::remote_ssrc method 2022-08-30 11:03:07 -04:00
Michael Froman
4a09a78146 Bug 1766646 (MOZ) - handle upstream change from kCsrcAudioLevelsUri to kCsrcAudioLevelUri 2022-08-30 10:36:27 -04:00
Michael Froman
a51018047c Bug 1766646 (MOZ) - handle upstream adding ReceiveStream::SetRtpExtensions method 2022-08-30 10:35:53 -04:00
Michael Froman
ff31a97b40 Bug 1766646 (MOZ) - handle upstream adding AudioReceiveStream::SetNonSenderRttMeasurement method 2022-08-30 10:35:32 -04:00
Michael Froman
9121be06f2 Bug 1766646 (MOZ) - Backout 'Bug 1766646 (MOZ) - handle upstream adding AudioReceiveStream::SetNonSenderRttMeasurement method' 2022-08-30 10:35:03 -04:00
Michael Froman
9d06213a57 Bug 1766646 (MOZ) - handle upstream adding AudioReceiveStream::SetNonSenderRttMeasurement method 2022-08-30 10:34:30 -04:00
Michael Froman
2d58f2ab01 Bug 1766646 (MOZ) - handle upstream adding VideoSendStream::started() method 2022-08-30 10:31:37 -04:00
Michael Froman
58f9dbfa63 Bug 1766646 (MOZ) - handle upstream adding Call::OnUpdateSyncGroup method 2022-08-30 10:26:46 -04:00
Michael Froman
fbfcf214c3 Bug 1766646 (MOZ) - handle upstream adding Call::OnLocalSsrcUpdated method 2022-08-30 10:26:38 -04:00
Michael Froman
7a7282b3f6 Bug 1766646 (MOZ) - handle upstream adding AudioReceiveStream::SetRtpExtensions method 2022-08-30 10:26:27 -04:00
Michael Froman
b0a81eff60 Bug 1766646 (MOZ) - handle upstream adding MockAudioReceiveStream::rtp_config and MockVideoReceiveStream::rtp_config methods 2022-08-30 10:26:25 -04:00
Michael Froman
fbc90dc381 Bug 1766646 (MOZ) - handle upstream adding AudioReceiveStream::SetFrameDecryptor method 2022-08-30 10:26:21 -04:00
Michael Froman
65dc476a75 Bug 1766646 (MOZ) - handle upstream removal of AudioReceiveStream::Reconfigure() method 2022-08-30 10:25:55 -04:00