Re: Erlang DTLS SRTP extension support
pablo platt <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CANdLC8XpJt4GYvxj7cndRmdzk+ZBMWD3csA1rAO4Facpnt-OJw@mail.gmail.com> |
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 <[email protected]> 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 <[email protected]> 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 >