can't restream rtp(udpsink) to webrtc

pash2048 pash.u2048 at
Wed Jun 9 08:00:06 UTC 2021

this is few days that i try to restream rts h264 stream to webrtc with
i try all of this commend for sent stream over udp 

gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay ! udpsink host=

or this command

gst-launch-1.0 -v ximagesrc ! video/x-raw,framerate=20/1 ! videoscale !
videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast !
rtph264pay ! udpsink host= port=5000 
and try all of this PIPELINE_DESC for restream it over webrtc
webrtcbin name=sendrecv bundle-policy=max-compat
stun-server=stun:// udpsrc port=5000 !
application/x-rtp ! rtph264depay ! avdec_h264 ! queue ! videoconvert !
x264enc speed-preset=2 tune=zerolatency ! video/x-h264,framerate=58/1,
profile=(string)baseline ! rtph264pay ! queue !
application/x-rtp,media=video,encoding-name=H264,payload=96,gop-size=180 !

or this

webrtcbin name=sendrecv bundle-policy=max-compat
stun-server=stun:// udpsrc port=5000 caps =
"application/x-rtp, media=(string)video, clock-rate=(int)90000,
encoding-name=(string)H264, payload=(int)96" ! parser ! payloader !

but in browser stream not played and just stay in Sending SDP answer.
can u help me ?

i do all of this action in  sendrecv code example
.thank u.

Sent from:

More information about the gstreamer-devel mailing list