简体   繁体   中英

SCTP over UDP - Java implementation

I'm implementing WebRTC on the server-side, in Java within an existing container server. I need a library which will allow SCTP tunneled via UDP and possibly to a much lesser extent TCP. It is my understanding that only WebRTC data channel use SCTP over DTLS over UDP and that the audo / video data will continue to use RTP/SRTP; if I am incorrect on any of this, please correct me.

So far the only library I've found is here and it looks incomplete. The Jitsi also looked like an option, but they don't have full support for this or the whole of WebRTC as of yet.

IETF draft - UDP Encapsulation of SCTP Packets

Jitsi - Google summer of code 2014

Many years after posting the original question, I found a solution; I wasn't waiting, I just had not gotten back on this task until I was home during the pandemic; so without further rambling, this is what I used for an implementation at work: https://github.com/pipe/sctp4j This is an outstanding library and I was able to bend it to fit into my codebase.

Regarding to the O'Reilly book on High-Performance Browser Networking Chapter 18 you seem to be absolutly right. I'm sorry that I can not help you finding an appropriate implementation, if there is one yet.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM