Byron Campen
984718e6fa
Bug 1534687: Implement RTCRtpParameters.codecs and RTCRtpReceiver.getParameters r=jib,webidl,smaug
...
We do not mark this field as required right now, because we still have users
that synthesize RTCRtpParameters instead of tweaking the return of
getParameters. The compat mode will ignore any attempt to modify .codecs,
otherwise this will result in the error specified in webrtc-pc.
Differential Revision: https://phabricator.services.mozilla.com/D209305
2024-06-03 23:24:51 +00:00
Dan Baker
14c72c8f92
Bug 1396922 - Implement |setCodecPreferences| in RTCRtpTransceiver;r=bwc,jib,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D207472
2024-05-13 20:10:46 +00:00
Byron Campen
e8758e8598
Bug 1874471: Only use receive payload types in MediaPipelineFilter. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D201766
2024-02-20 15:40:48 +00:00
Byron Campen
01a2f446dd
Bug 1860794: Tell PC to break cycles if the unlink starts in RTCRtpSender/Receiver/Transceiver. r=mjf
...
Depends on D191804
Differential Revision: https://phabricator.services.mozilla.com/D191805
2023-10-25 19:44:42 +00:00
Dan Baker
f29fa9e1c0
Bug 1851693 (MOZ) - Added missing cast and updated test case due to jitterBufferDelay stat changes from upstream 621cb2943d.r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D189018
2023-09-25 16:19:31 +00:00
Dan Baker
7c0afd33ec
Bug 1851693 (MOZ) - Changed from int64_t last_packet_received_timestamp_ms to Timestamp last_packet_received for upstream change 54e95bc562.
2023-09-19 08:58:17 -06:00
Dan Baker
74a18dd116
Bug 1851693 (MOZ) - Changing video stats to use jitter_buffer_delay from upstream 621cb2943d.
2023-09-18 13:25:04 -06:00
Otto Länd
ea581b6f34
Bug 1568296: apply code formatting via Lando
...
# ignore-this-changeset
2023-08-08 19:03:46 +00:00
Byron Campen
29b5d4b118
Bug 1568296: Implement "stopping" state for RTCRtpTransceiver. r=jib,mjf,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D175261
2023-08-08 18:56:38 +00:00
Michael Froman
cd4bb63113
Bug 1843113 (MOZ) - upstream changed member names in AudioReceiveStreamInterface::Stats
2023-07-14 14:27:09 -05:00
Byron Campen
837490d82a
Bug 1631263: Implement RTCRtpScriptTransform. r=pehrsons,jib,asuth,emilio,saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D179735
2023-07-20 14:24:27 +00:00
Cristian Tuns
cedc63bf4c
Backed out 9 changesets (bug 1631263, bug 1838080) for causing wpt failures in script-transform-generateKeyFrame.https.html CLOSED TREE
...
Backed out changeset a857a01fb321 (bug 1631263)
Backed out changeset dc46d2be4c25 (bug 1631263)
Backed out changeset 581c7a4d8f5f (bug 1631263)
Backed out changeset 7a2c4be3701d (bug 1631263)
Backed out changeset e091677e39fa (bug 1838080)
Backed out changeset 1eb303981213 (bug 1838080)
Backed out changeset 6c10370ed682 (bug 1838080)
Backed out changeset a614605b47ee (bug 1838080)
Backed out changeset 86fcc8ba6779 (bug 1838080)
2023-07-19 17:03:55 -04:00
Byron Campen
7f4694355b
Bug 1631263: Implement RTCRtpScriptTransform. r=pehrsons,jib,asuth,emilio,saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D179735
2023-07-19 15:41:06 +00:00
Norisz Fay
ccd30856e8
Backed out 9 changesets (bug 1838080, bug 1631263) for causing VideoConduitTest related failures CLOSED TREE
...
Backed out changeset 717eac481650 (bug 1631263)
Backed out changeset 2dd5c7b8fe5b (bug 1631263)
Backed out changeset d51f80b53059 (bug 1631263)
Backed out changeset 4cfe27d450e4 (bug 1631263)
Backed out changeset 0fb0b9a4e151 (bug 1838080)
Backed out changeset 3f41779ac63f (bug 1838080)
Backed out changeset f3a099a2173c (bug 1838080)
Backed out changeset c0f042536365 (bug 1838080)
Backed out changeset 6f5162d90ff3 (bug 1838080)
2023-07-09 18:00:05 +03:00
Byron Campen
594a2f4189
Bug 1631263: Implement RTCRtpScriptTransform. r=pehrsons,jib,asuth,emilio,saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D179735
2023-07-09 12:35:32 +00:00
Dan Baker
eae1661ba0
Bug 1837483 - Add check for conduit before setting jitterBufferTarget.r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D181001
2023-06-14 20:47:21 +00:00
Dan Baker
6049e235d9
Bug 1592988 - Implement RtcRtpReceiver jitterBufferTarget.r=bwc,jib,webidl,smaug,saschanaz
...
Differential Revision: https://phabricator.services.mozilla.com/D174701
2023-05-22 15:05:01 +00:00
Andreas Pehrson
4078d458e0
Bug 1828517 (MOZ) - Simplify RTCStatsTimestampMaker conversions with a new RTCStatsTimestamp class. r=webrtc-reviewers,dbaker
...
This adds a new helper class that has the same conversion state as
RTCStatsTimestampMaker, for conversions on any thread.
It has From* and To* methods for all the time bases we care about, and stores
its time internally in mozilla::TimeStamp.
This avoids having to implement a conversion method for every permutation of
time base pairs in RTCStatsTimestampMaker.
Differential Revision: https://phabricator.services.mozilla.com/D177539
2023-05-10 18:04:39 +00:00
Byron Campen
b0687c1ba3
Bug 1829667: Make JsepTransceiver non-refcounted. r=mjf,webidl,mccr8
...
Involves substantial refactoring to make most access by-value (or through
functional-style in-place modifications) for safety.
Differential Revision: https://phabricator.services.mozilla.com/D176423
2023-04-28 14:53:57 +00:00
Byron Campen
5259f93133
Bug 1828734: Set mReceiving based on currentDirection, since that's in line with what other DOM code does here. r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D175904
2023-04-19 14:42:30 +00:00
Dan Baker
79344b2f1e
Bug 1531460 - Implement getCapabilities.r=bwc,webrtc-reviewers,emilio
...
Depends on D173788
Differential Revision: https://phabricator.services.mozilla.com/D173550
2023-03-29 22:49:53 +00:00
Norisz Fay
b11e443974
Backed out 4 changesets (bug 1531460) for causing wpt failures on decodingInfo.webrtc.html CLOSED TREE
...
Backed out changeset efd17f1d735a (bug 1531460)
Backed out changeset c8ec97292d07 (bug 1531460)
Backed out changeset 6cd802a21625 (bug 1531460)
Backed out changeset 99b6e83a6291 (bug 1531460)
2023-03-29 03:20:50 +03:00
Dan Baker
e485e78f2a
Bug 1531460 - Implement getCapabilities.r=bwc,webrtc-reviewers,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D173550
2023-03-28 21:45:16 +00:00
Byron Campen
184a3dbfbe
Bug 1817096: Drive unmute from the conduit (on call thread) instead of the pipeline (on STS). r=pehrsons
...
Differential Revision: https://phabricator.services.mozilla.com/D172907
2023-03-28 21:39:44 +00:00
Byron Campen
915f3a1505
Bug 1817096: Bring the blocking of unmute events in line with the spec. r=mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D172906
2023-03-28 21:39:43 +00:00
Andreas Pehrson
a8149a6f42
Bug 1813468 - Don't block unmute when the jseptrack is inactive. r=bwc
...
This matches that we do not mute when the jseptrack is inactive.
Differential Revision: https://phabricator.services.mozilla.com/D168730
2023-02-09 15:33:03 +00:00
Andreas Pehrson
b68657a041
Bug 1813468 - Signal start and stop to MediaPipeline through state mirroring. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D168727
2023-02-09 15:33:01 +00:00
Andreas Pehrson
e2ec392282
Bug 1813468 - Rework RTCRtpReceiver unmute logic through Watchables. r=bwc
...
This patch makes RTCRtpReceiver in charge of mute and unmute decisions directly.
MediaPipeline still informs about unmuting after receiving the first RTP packet.
This also removes a dependency on `RTCRtpReceiver::Stop` that is out of sync
with `mReceiving = false`.
Differential Revision: https://phabricator.services.mozilla.com/D168726
2023-02-09 15:33:01 +00:00
Andreas Pehrson
d20b0dc3dc
Bug 1813468 - In RemoteTrackSource add a ref to RTCRtpReceiver to prevent GC at the wrong time. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D168724
2023-02-09 15:33:00 +00:00
Andreas Pehrson
0c7d083f88
Bug 1813468 - Remove RemoteTrackSource from MediaPipeline. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D168722
2023-02-09 15:32:59 +00:00
Andreas Pehrson
91eb7a1494
Bug 1813468 - Move unmute-after-enabling logic out of MediaPipeline into RTCRtpReceiver. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D168721
2023-02-09 15:32:59 +00:00
Andreas Pehrson
7765ba5730
Bug 1813468 - Make RemoteTrackSource an RTCRtpReceiver member and add it to CC traversal. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D168719
2023-02-09 15:32:58 +00:00
Andreas Pehrson
05e07c63c1
Bug 1813468 - Trigger setting the private PrincipalHandle in MediaPipeline through RTCRtpReceiver. r=bwc
...
This removes one dependency in MediaPipeline on RemoteTrackSource.
Differential Revision: https://phabricator.services.mozilla.com/D168718
2023-02-09 15:32:57 +00:00
Andreas Pehrson
c0a63e76ac
Bug 1813468 - Use an enum for principal privacy in PeerConnectionImpl and friends. r=bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D168717
2023-02-09 15:32:57 +00:00
Byron Campen
d210dba4be
Bug 1815328: Add mediaType back, since there are still services that use it (somehow). r=jib,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D169106
2023-02-08 15:32:30 +00:00
Byron Campen
37d43d0061
Bug 1225718: Make RTCRtpStreamStats.kind/ssrc required, and remove mediaType. r=ng,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D168601
2023-02-03 16:34:24 +00:00
Byron Campen
58e24e4411
Bug 1728357: Implement framesDropped. r=ng,webidl,smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D168582
2023-02-03 00:35:43 +00:00
Byron Campen
26c67c52b6
Bug 1804676: Implement RTCInboundRtpStreamStats.trackIdentifier r=ng,webidl,smaug
...
Depends on D168607
Differential Revision: https://phabricator.services.mozilla.com/D168608
2023-02-02 22:06:23 +00:00
Byron Campen [:bwc]
794e1a9a15
Bug 1800136: Make RTCRtpSender::GetStats get ICE stats. r=ng
...
Also fix bugs where we would get duplicate ICE stats. This mostly mattered to
WebrtcGlobalInformation since RTCStatsReportInternal does not automatically
remove duplicate ids like RTCStatsReport (RTCStatsReport is maplike).
Differential Revision: https://phabricator.services.mozilla.com/D162322
2022-12-22 15:29:02 +00:00
Cristian Tuns
555d050455
Backed out 4 changesets (bug 1800136) for causing build bustages CLOSED TREE
...
Backed out changeset fe152aff2a22 (bug 1800136)
Backed out changeset 99ea4f221834 (bug 1800136)
Backed out changeset 5801060dd3d0 (bug 1800136)
Backed out changeset a80074bc3200 (bug 1800136)
2022-12-21 22:13:37 -05:00
Byron Campen [:bwc]
18d3968a2c
Bug 1800136: Make RTCRtpSender::GetStats get ICE stats. r=ng
...
Also fix bugs where we would get duplicate ICE stats. This mostly mattered to
WebrtcGlobalInformation since RTCStatsReportInternal does not automatically
remove duplicate ids like RTCStatsReport (RTCStatsReport is maplike).
Differential Revision: https://phabricator.services.mozilla.com/D162322
2022-12-22 02:33:57 +00:00
Butkovits Atila
7b35db7347
Backed out 4 changesets (bug 1800136) for causing build bustages at PeerConnectionCtx.cpp. CLOSED TREE
...
Backed out changeset fb1a765ec213 (bug 1800136)
Backed out changeset 3621f5bf1cb0 (bug 1800136)
Backed out changeset d2ace48b830c (bug 1800136)
Backed out changeset 8e09b3e06b10 (bug 1800136)
2022-12-21 10:03:48 +02:00
Byron Campen [:bwc]
2eb213db9c
Bug 1800136: Make RTCRtpSender::GetStats get ICE stats. r=ng
...
Also fix bugs where we would get duplicate ICE stats. This mostly mattered to
WebrtcGlobalInformation since RTCStatsReportInternal does not automatically
remove duplicate ids like RTCStatsReport (RTCStatsReport is maplike).
Differential Revision: https://phabricator.services.mozilla.com/D162322
2022-12-20 22:12:10 +00:00
Andreas Pehrson
ec4fa4139b
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
Michael Froman
02fb87fc3c
Bug 1790097 (MOZ) - handle upstream change to use webrtc::TimeDelta for total_decode_time
2022-10-25 22:50:07 -05:00
Michael Froman
36ccc91409
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
Nico Grunbaum
ca7c2c3272
Bug 1790508 - Add new RTP and RTCP stats post libwebrtc fast-forward;r=dbaker,mjf,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D157167
2022-09-15 22:38:43 +00:00
criss
957b604fed
Backed out changeset 44c7e645f9c4 (bug 1790508) for causing mochitest failures. CLOSED TREE
2022-09-15 17:44:53 +03:00
Nico Grunbaum
27af99c230
Bug 1790508 - Add new RTP and RTCP stats post libwebrtc fast-forward;r=dbaker,mjf,emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D157167
2022-09-15 09:23:41 +00:00
Butkovits Atila
2845ec2bf0
Backed out changeset 99c66f2c4097 (bug 1790508) for causing wpt failures. CLOSED TREE
2022-09-15 06:20:33 +03:00