what is the connection-id for dtlssrtpenc?

Sebastian Dröge sebastian at centricular.com
Tue May 31 15:45:37 UTC 2016


On Di, 2016-05-31 at 07:31 -0700, Andres Gonzalez wrote:
> Thank you for your response Sebastian. However, your explanation is only
> applicable when GStreamer is both the sender and the receiver. In this case,
> it is easy to use any value for the connection-id as long as they are
> consistent at both GStreamer dtlssrtpenc and dtlssrtpdec.
> 
> But if GStreamer is only being used as the sender, I need to ensure the
> connection-id is consistent with what the other receiving endpoint is using
> so the DTLS handshake is successful.  I am trying to use GStreamer to
> connect to a WebRTC client. The WebRTC browser client is initiating a DTLS
> handshake with my server which is using GStreamer.  

You need to use encoder and decoder on the server side then, even if
you only send data. DTLS requires two-way communication.

The connection-id is only used for connecting the encoder and decoder
used in a single process.

-- 
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/9cb07baa/attachment-0001.sig>


More information about the gstreamer-devel mailing list