gst-plugins-rs/net/webrtc/src
François Laignel 83d70d3471 webrtc: add RFC 7273 support
This commit implements [RFC 7273] (NTP & PTP clock signalling & synchronization)
for `webrtcsink` by adding the "ts-refclk" & "mediaclk" SDP media attributes to
identify the clock. These attributes are handled by `rtpjitterbuffer` on the
consumer side. They MUST be part of the SDP offer.

When used with an NTP or PTP clock, "mediaclk" indicates the RTP offset at the
clock's origin. Because the payloaders are not instantiated when the offer is
sent to the consumer, the RTP offset is set to 0 and the payloader
`timstamp-offset`s are set accordingly when they are created.

The `webrtc-precise-sync` examples were updated to be able to start with an NTP
(default), a PTP or the system clock (on the receiver only). The rtp jitter
buffer will synchronize with the clock signalled in the SDP offer provided the
sender is started with `--do-clock-signalling` & the receiver with
`--expect-clock-signalling`.

[RFC 7273]: https://datatracker.ietf.org/doc/html/rfc7273

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1500>
2024-04-12 14:18:09 +02:00
..
aws_kvs_signaller aws: use fixed BehaviorVersion 2024-03-26 17:44:16 +01:00
janusvr_signaller webrtc: janus: handle 'hangup' messages from Janus 2024-03-13 10:14:38 +00:00
livekit_signaller livekit_signaller: Added missing getter for excluded-producer-peer-ids 2024-03-04 10:08:11 -07:00
signaller Update for GLib prelude re-organization 2024-02-03 12:30:15 +02:00
webrtcsink webrtc: add RFC 7273 support 2024-04-12 14:18:09 +02:00
webrtcsrc webrtcsrc: change the producer-id type for request-encoded-filter 2024-04-09 06:01:15 +00:00
whip_signaller webrtc: update further to WebRTCSessionDescription sdp accessor changes 2024-03-11 13:39:19 +01:00
lib.rs Use once_cell crate directly again 2024-01-31 18:07:57 +02:00
utils.rs Use once_cell crate directly again 2024-01-31 18:07:57 +02:00