Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dtls sctp fixes #144

Merged
merged 3 commits into from
Apr 14, 2016
Merged

Dtls sctp fixes #144

merged 3 commits into from
Apr 14, 2016

Conversation

bgrozev
Copy link
Member

@bgrozev bgrozev commented Apr 14, 2016

No description provided.

Passing the length without taking grow() into account may is certain
situations (when the DatagramTransportImpl has already queued a longer
packet) lead in failure of the receive() call.
Reads all available application data from the DTLS transport, as opposed
to just a single datagram. This works around an issue causing the SCTP
connection in jitsi-videobridge to be delayed by around 13 seconds
(until the SCTP client retransmits the COOKIE-ECHO part of the
handshake).
A race condition between the DTLS connect thread and the SCTP thread of
jitsi-videobridge would result in a packet left in DatagramTransportImpl's
queue and not immediately decoded and returned to SCTP. This packet
would only be read when the next DTLS packet was received (at which time
this new packet was queued and not processed).
@lyubomir lyubomir merged commit 3048381 into jitsi:master Apr 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants