can't restream rtp(udpsink) to webrtc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

can't restream rtp(udpsink) to webrtc

GStreamer-devel mailing list
hi,
this is few days that i try to restream rts h264 stream to webrtc with
gstreamer.
i try all of this commend for sent stream over udp

gst-launch-1.0 videotestsrc ! x264enc ! rtph264pay ! udpsink host=127.0.0.1
port=5000

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=127.0.0.1 port=5000
and try all of this PIPELINE_DESC for restream it over webrtc
webrtcbin name=sendrecv bundle-policy=max-compat
stun-server=stun://stun.l.google.com:19302 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 !
sendrecv.

or this

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


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
<https://gitlab.freedesktop.org/gstreamer/gst-examples/-/tree/master/webrtc/sendrecv/gst>
.thank u.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: can't restream rtp(udpsink) to webrtc

GStreamer-devel mailing list
can someone help me ?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel