-
Notifications
You must be signed in to change notification settings - Fork 281
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
What does usrsctp_conninput do? #678
Comments
In the mediasoup(v3) WebRTC project, the When the server (mediasoup) receives an SCTP message, you can set a breakpoint in the
The gdb backtrace for the breakpoint is as follows:
Summarized as follow:
It's important to note that the first argument, Hope this explanation is helpful for anyone who may be confused about |
This API
usrsctp_conninput
is missing from the documentation: https://github.com/sctplab/usrsctp/blob/master/Manual.mdSearching other issues / comments what I've been able to gather is (1) the first argument is supposed to be an address if you're using a custom transport. I'm using this in WebRTC so SCTP over DTLS for data channel. What exactly counts here as a "custom transport"? I see examples with all the following: arbitrary struct address, (void*) 1, null. What exactly is the expectation here? What exactly does this API do, it appears it is responsible for some sort of chunking of the incoming buffer. As a user of this library I'd like to understand under what circumstance this API needs to be called, under what circumstances the first parameter needs to be provided (since it doesn't appear this API makes any network calls rather it just processes what was received on the network thread.
The text was updated successfully, but these errors were encountered: