Hacker News new | ask | show | jobs
by benbro 2652 days ago
How do you handle DTLS in Erlang? The Erlang DTLS implementation in OTP is missing the use_srtp extension and muxing DTLS, RTP and STUN packets on the same port.
1 comments

I'm still not sure how to do the DTLS handshake. I was under they impression that I might be able to use the ssl:handshake and then downgrade again, but I realize reading your comment it will be much more difficult...
Is there a chance you'll share your Erlang DTLS implementation or challenges in the erlang mailing list? DTLS support for WebRTC and similar use cases is still missing. https://bugs.erlang.org/browse/ERL-853 http://erlang.org/pipermail/erlang-questions/2018-January/09...
I will do that. Checked the archives after your comment and it seems use_srtp support is planned. My current understanding is that for dtls-srtp only the handshake is necessary for key exchange.