Erlang DTLS SRTP extension support

Kaiduan Xie kaiduanx@REDACTED
Fri Apr 9 15:43:51 CEST 2021


Max, can you share the time when it can be landed in OTP24?

Thanks,

/Kaiduan

On Fri, Apr 9, 2021 at 7:38 AM Max Lapshin <max.lapshin@REDACTED> wrote:

> Yes, this is our PR.
>
> On Thu, Apr 8, 2021 at 11:33 PM pablo platt <pablo.platt@REDACTED> wrote:
> >
> > There is a PR to add custom hello extensions [1] and PR specifically for
> DTLS SRTP [2].
> > 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.
> > 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?)
> >
> > [1] https://github.com/erlang/otp/pull/4642
> > [2]
> https://github.com/stolen/otp/commit/e4b416708ffb5ee0e75793c3c627983b83db5081
> >
> > On Thu, Apr 8, 2021 at 11:25 PM Max Lapshin <max.lapshin@REDACTED>
> wrote:
> >>
> >> No.
> >>
> >> We have a patch for erl24 that may help to implement it and I hope to
> >> publish it soon.
> >>
> >> OTP team has done a great job and now it is almost possible to run
> >> webrtc with vanilla erlang (we had to use a separate tls
> >> implementation for it).
> >>
> >> On Thu, Apr 8, 2021 at 10:25 PM Kaiduan Xie <kaiduanx@REDACTED> wrote:
> >> >
> >> > Hi,
> >> >
> >> > Does Erlang DTLS implementation support SRTP extension? I would like
> to write a WebRTC server in Erlang.
> >> >
> >> > Best regards,
> >> >
> >> > /Kaiduan
> >> > --
> >> > Founder of Goodstartsoft
> >> > https://www.goodstartsoft.com
>


-- 
Founder of Goodstartsoft
https://www.goodstartsoft.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210409/9a5b8f60/attachment.htm>


More information about the erlang-questions mailing list