what is the connection-id for dtlssrtpenc?
Sebastian Dröge
sebastian at centricular.com
Tue May 31 06:15:16 UTC 2016
On Mo, 2016-05-30 at 17:52 -0700, Andres Gonzalez wrote:
> Hi,
>
> I currently have several Gstreamer regular RTP/RTCP streams working with my
> C++ application. I am now trying to migrate one of these streams to use
> DTLS/SRTP instead of RTP so I can feed a WebRTC web client. The webRTC
> client is not sending any media and is receive-only.
>
> The dltssrtpenc element is a bit confusing to me. The example in the source
> tree is using python (I can get the idea of what is going on but I am not
> experienced with python to know for sure). This example says that it
> requires "two pairs of TX/RX pipelines for a proper handshake."
>
> Question: Is that correct? I have a single receiving WebRTC client that I
> want to handshake with the single sending Gstreamer pipeline, so are not
> these 2 endpoints sufficient to perform a DTLS handshake between them?
>
> Question: what is the WebRTC SDP attribute/property that maps to the
> Gstreamer dltssrtpenc connection-id property?
> Is it the WebRTC SDP ice-pwd or the fingerprint?
It's a string that should be the same on the encoder and decoder. It is
what allows both elements to know that they belong together and you can
set it to any value you want.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160531/88fd7e53/attachment-0001.sig>
More information about the gstreamer-devel
mailing list