webrtcbin and AES-256 encryption

Laszlo Molnar laszlo.molnar at nixs.com
Mon Nov 13 09:13:10 UTC 2023


Hi Olivier,

Thank you for your help! I'll get familiar with the code base and if I feel
like I'm comfortable with changing it, I'll do the work. I may get back
with more questions as well. By the way, there is an unfinished sentence in
your answer. Is something missing or was it just a typo?

Laszlo

On Fri, Nov 10, 2023 at 8:37 PM Olivier Crête <olivier.crete at collabora.com>
wrote:

> Hi,
>
> To do this, you need to modify the dtls plugin to give the right profiles
> to OpenSSL, look at the call to SSL_CTX_set_tlsext_use_srtp(), then search
> for the enum that reads it out to the SRTP elements (which already support
> AES-256). You
>
> And then we'd need to add an API to webrtcbin to select it.
>
> Olivier
>
> On Fri, 2023-11-10 at 18:11 +0100, Laszlo Molnar via gstreamer-devel wrote:
>
> Hi,
>
> I want to achieve AES-256 encryption with webrtcbin (so webrtcbin uses
> AES-256-encoded SRTP packets). As I see from the source code (correct me if
> I'm wrong) webrtcbin uses DTLS and that only has AES-128. Is it possible to
> change this? To make a pipeline that uses an AES-256 encoder and disable
> webrtcbin's DTLS encoding? Any solution would work as long as it achieves
> AES-256.
>
> Thanks!
>
>
> --
>
> Olivier Crêteolivier.crete at collabora.com
> Multimedia Lead
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20231113/a36ba348/attachment.htm>


More information about the gstreamer-devel mailing list