Erlang DTLS SRTP extension support

Max Lapshin max.lapshin@REDACTED
Fri Apr 9 13:38:35 CEST 2021


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


More information about the erlang-questions mailing list