gst-plugins-rs/net
Mathieu Duponchelle 16ee51621e webrtcsink: fix segment format mismatch with remote offer
webrtcsink was starting the negotiation process on Ready and concurrently
moving the consumer pipeline to Playing, but when answering the remote
description was set so fast that input streams were connected (and the time
format set on appsrc) before the state change to Paused had completed.

This meant gst_base_src_start was happening after that and setting the format
back to bytes, the time segment that was next coming in then caused:

basesrc gstbasesrc.c:4255:gst_base_src_push_segment:<video_0> segment format mismatched, ignore

And the consumer pipeline errored out.

The same issue existed in theory when webrtcsink was creating the offer,
but was much harder to trigger as it required that the remote answer
came in before the state change to Paused had completed.

This commit fixes the issue by simply waiting for the state to have
changed to Paused before negotiating.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1730>
2024-08-21 21:20:40 +00:00
..
aws Update for new debug log macro syntax 2024-07-08 11:25:23 +03:00
hlssink3 hlssink3: Fix racy test by separating events (signals) from bus messages 2024-08-21 19:49:09 +00:00
mpegtslive mpegtslivesrc: Handle PCR discontinuities as errors for now 2024-08-14 12:34:18 +00:00
ndi ndisrc: Move timestamp handling from demuxer to source 2024-08-16 06:07:35 +00:00
onvif Update for new debug log macro syntax 2024-07-08 11:25:23 +03:00
quinn net/quinn: Fix generation of self signed certificate 2024-07-12 12:26:54 +05:30
raptorq Update for new debug log macro syntax 2024-07-08 11:25:23 +03:00
reqwest Fix various 1.80 clippy warnings 2024-08-05 14:14:17 +03:00
rtp rtp: mp4gpay: Don't set seqnum-base on the caps 2024-08-10 08:06:40 +00:00
rtsp Update for new debug log macro syntax 2024-07-08 11:25:23 +03:00
webrtc webrtcsink: fix segment format mismatch with remote offer 2024-08-21 21:20:40 +00:00
webrtchttp Update for new debug log macro syntax 2024-07-08 11:25:23 +03:00