jitsi-videobridge
jitsi-videobridge copied to clipboard
WIP: Use usrsctp only from dedicated single thread.
This PR moves calling usrsctp API into dedicated single thread to reduce chances of multi-threading issues.
When usrsctp
is itself updated to the version which has support of disabling internal SCTP Timer
thread then usrsctp
will not be used concurrently at all.
Did you run into an issue with the SCTP threading that prompted this?
@bbaldino ah, sorry, I've missed your comment. What I was trying to fix is to move usrsctp
usage into a single thread to avoid multi threading bugs in usrsctp
. This PR served as proof of concept, maybe later I'll make it acceptable to a master.