gstreamer/ext/sctp
Sebastian Dröge c497370254 sctp: Start connection synchronously when starting the association
Calling bind() only sets up some data structures and calling connect()
only produces one packet before it returns. That packet is stored in a
queue that is asynchronously forwarded by the encoder's source pad loop,
so not much is happening there either. Especially no waiting is
happening here and no forwarding of data to other elements.

This fixes a race condition during connection setup: the connection
would immediately fail if we pass a packet from the peer to the socket
before bind() and connect() have returned.

This can't happen anymore as bind() and connect() have returned already
before both elements reach the PAUSED state, and in webrtcbin there is
an additional blocking pad probe before the decoder that does not let
any data pass through before that anyway.
2020-02-12 16:11:15 +00:00
..
gstsctpdec.c sctp: Add more logging to the encoder/decoder elements on data processing 2020-01-31 08:55:10 +02:00
gstsctpdec.h sctpdec: Use a flow combiner for the source pad flow returns and propagate errors upstream 2020-01-30 15:56:36 +02:00
gstsctpenc.c sctpenc: Report errors when sending out data and the association is in error or disconnected state 2020-01-31 08:55:10 +02:00
gstsctpenc.h sctpenc: Propagate downstream flow errors upstream 2020-01-30 15:58:30 +02:00
gstsctpplugin.c Add new SCTP plugins (sctpenc/sctpdec) 2018-09-21 19:36:52 +10:00
meson.build meson: add more plugins to plugins list 2019-05-30 20:41:57 +02:00
sctpassociation.c sctp: Start connection synchronously when starting the association 2020-02-12 16:11:15 +00:00
sctpassociation.h sctp: Start connection synchronously when starting the association 2020-02-12 16:11:15 +00:00