gstreamer/subprojects/gst-plugins-bad/ext/webrtc
Daniel Moberg 5add11ffbc webrtc: do not tear down data channel before data is flushed
Current implementation can in some cases detect
that all data is sent but in reality it is not,
leading to a push to an unlinked pad.
This is a race between the probe used to track data sent and a
call to close.

This patch sends an EOS before starting the close procedure
and then waits for the EOS event to come through to the
src pad before commencing with tear down.
This ensures that any queued data before EOS is flushed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4633>
2023-05-15 08:09:36 +01:00
..
fwd.h
gstwebrtc.c
gstwebrtcbin.c webrtcdatachannel: Bind to parent webrtcbin using a weak reference 2023-05-09 08:54:52 +01:00
gstwebrtcbin.h webrtc: implement support for msid values 2022-12-14 12:23:32 +11:00
gstwebrtcstats.c webrtc: Calculate the jitter for remote-inbound-rtp stats 2023-02-19 10:43:33 +00:00
gstwebrtcstats.h
meson.build
transportreceivebin.c
transportreceivebin.h
transportsendbin.c
transportsendbin.h
transportstream.c webrtcbin: Don't duplicate enum string values 2022-11-07 11:21:00 +00:00
transportstream.h
utils.c webrtc: implement support for msid values 2022-12-14 12:23:32 +11:00
utils.h webrtc: implement support for msid values 2022-12-14 12:23:32 +11:00
webrtcdatachannel.c webrtc: do not tear down data channel before data is flushed 2023-05-15 08:09:36 +01:00
webrtcdatachannel.h webrtcdatachannel: Bind to parent webrtcbin using a weak reference 2023-05-09 08:54:52 +01:00
webrtcsctptransport.c
webrtcsctptransport.h
webrtcsdp.c webrtcbin: Don't duplicate enum string values 2022-11-07 11:21:00 +00:00
webrtcsdp.h
webrtctransceiver.c webrtcbin: Store pending mid to make create-offer idempotent 2022-09-02 11:52:58 +02:00
webrtctransceiver.h webrtcbin: Store pending mid to make create-offer idempotent 2022-09-02 11:52:58 +02:00