mediasoup
mediasoup copied to clipboard
Test usrsctp with usrsctp_get_timeout()
Details
- Related task: https://github.com/versatica/mediasoup/issues/1011. Note that usrsctp author never cared about the existing PR so we are on our own.
- So I've forked usrctp, added the
usrsctp_get_timeout()feature and released version 0.9.6.0: https://github.com/versatica/usrsctp/pull/1 - And I've made
usrsctp.wrappoint to it.
Notes
- It would be great to have a way to pass
sctp_debug=truewhen building usrsctp Meson subproject so it definesSCTP_DEBUG(needed inDepUsrSCTP.cppto show SCTP debug). An manual alternative is to editmeson.buildof usrsctp and add it unconditionally. - I'm calling
HandleUsrSctpTimers()everytime the timer fires (of course), also inonSendSctpDatacallback and also when SCTP data is received (inSctpAssociation::ProcessSctpData(). Not sure if correct. - Extra
MS_DUMP()added for debugging. Must be removed. - This PR should not be merged until super tested and NOT before this issue is solved: https://github.com/versatica/mediasoup/issues/1352
- Most consider this: https://github.com/versatica/mediasoup/pull/1353#issuecomment-1983808781
Will this PR merge to main ?
Will this PR merge to main ?
Read the Notes above please. It cannot be merged.