gstreamer/ext/sctp
Johan Sternerup 8dbdfad914 webrtcbin: Support closing of data channels
Support for closing WebRTC data channels as described in RFC
8831 (section 6.7) now fully supported. This means that we can now
reuse data channels that have been closed properly. Previously, an
application that created a lot of short-lived on-demand data channels
would quickly exhaust resources held by lingering non-closed data
channels.

We now use a one-to-one style socket interface to SCTP just like the
Google implementation (i.e. SOCK_STREAM instead of SOCK_SEQPACKET, see
RFC 6458). For some reason the socket interface to use was made
optional through a property "use-sock-stream" even though code wasn't
written to handle the SOCK_SEQPACKET style. Specifically the
SCTP_RESET_STREAMS command wouldn't work without passing the correct
assocation id. Changing the default interface to use from
SOCK_SEQPACKET to SOCK_STREAM now means we don't have to bother about
the association id as there is only one association per socket. For
the SCTP_RESET_STREAMS command we set it to SCTP_ALL_ASSOC just to
match the Google implementation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2186>
2021-05-12 03:02:27 +00:00
..
usrsctp sctp: usrsctp: increase DIAG_MSG_LEN to accomodate longer file path 2020-08-26 00:00:24 +01:00
gstsctpdec.c sctp: allow per feature registration 2021-03-23 14:19:17 +00:00
gstsctpdec.h sctp: allow per feature registration 2021-03-23 14:19:17 +00:00
gstsctpenc.c sctp: allow per feature registration 2021-03-23 14:19:17 +00:00
gstsctpenc.h sctp: allow per feature registration 2021-03-23 14:19:17 +00:00
gstsctpplugin.c sctp: allow per feature registration 2021-03-23 14:19:17 +00:00
meson.build sctp: hook up internal copy of libusrsctp to build 2020-08-14 01:33:28 +01:00
sctpassociation.c webrtcbin: Support closing of data channels 2021-05-12 03:02:27 +00:00
sctpassociation.h sctp: Start connection synchronously when starting the association 2020-02-12 16:11:15 +00:00