Re: webrtcbin and AES-256 encryption

Olivier Crête via gstreamer-devel <[email protected]> Fri, 10 Nov 2023 14:36:57 -0500
Newsgroups gmane.comp.video.gstreamer.devel
Organization Collabora
Message-ID <[email protected]>
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ête
[email protected]
Multimedia Lead