what is the connection-id for dtlssrtpenc?

john1422 john1422 at inbox.lt
Mon Jan 13 19:55:26 UTC 2020


Could you please provide an algorithm to just send and just receive for
DTLS-SRTP video stream. I want to stream video only one way and as I use
these pipelines a get bidirectional video stream even though in the Server
side I do not specify any video for streaming. 

As I understand there must be dtlssrtpenc and dtlssrtpdec in both server and
client pipelines?

Client:
gst-launch-1.0 udpsrc port = 5002 ! .sink dtlssrtpdec connection-id=red
.rtp_src ! queue ! fakesink async=false -v filesrc
location=/home/user/Desktop/test.h264 ! h264parse ! avdec_h264 !
videoconvert ! x264enc ! rtph264pay ! "application/x-rtp, payload=(int)96,
ssrc=(uint)1356955624" ! .rtp_sink_0 dtlssrtpenc connection-id=red
is-client=True .src ! udpsink host=127.0.0.1 port=5000 

Server:
gst-launch-1.0 udpsrc port = 5000 ! .sink dtlssrtpdec connection-id=blue
.rtp_src ! "application/x-rtp, payload=(int)96, ssrc=(uint)1356955624" !
.rtp_sink_0 dtlssrtpenc connection-id=blue is-client=False .src ! udpsink
host=127.0.0.1 port=5002 

Thank you



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list