<div dir="ltr">Good news Max and Pablo, when can we have it in OTP 24?<div><br></div><div>Thanks,</div><div><br></div><div>/Kaiduan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 8, 2021 at 4:33 PM pablo platt <<a href="mailto:pablo.platt@gmail.com">pablo.platt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>There is a PR to add custom hello extensions [1] and PR specifically for DTLS SRTP [2].</div><div>For WebRTC we should be able to dynamically select SRTP_AEAD_AES_128_GCM or SRTP_AES128_CM_HMAC_SHA1_80 based on supported extensions in client hello.<br></div><div>I really hope otp 24 will add official support for DTLS SRTP. WebRTC is massive and the change required in erlang is minimal (20 lines of code?)<br></div><div><br></div><div>[1] <a href="https://github.com/erlang/otp/pull/4642" target="_blank">https://github.com/erlang/otp/pull/4642</a></div><div>[2] <a href="https://github.com/stolen/otp/commit/e4b416708ffb5ee0e75793c3c627983b83db5081" target="_blank">https://github.com/stolen/otp/commit/e4b416708ffb5ee0e75793c3c627983b83db5081</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 8, 2021 at 11:25 PM Max Lapshin <<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">No.<br>
<br>
We have a patch for erl24 that may help to implement it and I hope to<br>
publish it soon.<br>
<br>
OTP team has done a great job and now it is almost possible to run<br>
webrtc with vanilla erlang (we had to use a separate tls<br>
implementation for it).<br>
<br>
On Thu, Apr 8, 2021 at 10:25 PM Kaiduan Xie <<a href="mailto:kaiduanx@gmail.com" target="_blank">kaiduanx@gmail.com</a>> wrote:<br>
><br>
> Hi,<br>
><br>
> Does Erlang DTLS implementation support SRTP extension? I would like to write a WebRTC server in Erlang.<br>
><br>
> Best regards,<br>
><br>
> /Kaiduan<br>
> --<br>
> Founder of Goodstartsoft<br>
> <a href="https://www.goodstartsoft.com" rel="noreferrer" target="_blank">https://www.goodstartsoft.com</a><br>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Founder of Goodstartsoft<div><a href="https://www.goodstartsoft.com" target="_blank">https://www.goodstartsoft.com</a></div></div></div>