Streaming delay

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Streaming delay

alex_malishev
Hi! I'm trying to stream from webcamera on first computer to second computer.
This is my first computer's pipeline:
gst-launch-1.0 ksvideosrc ! queue ! decodebin ! queue ! x264enc ! rtph264depay ! queue ! udpsink host=192.168.0.110 port=5000

And this is second computer's pipeline:
gst-launch-1.0 udpsrc port=5000 caps="application/x-rtp, media=video clock-rate=90000 ! queue ! rtph264depay ! queue ! decodebin ! queue ! videoconvert ! autovideosink

but I got delay in 9 sec, and video play with lags. And also when I try to run this pipeline:
gst-launch-1.0 ksvideosrc ! tee name=t t. ! queue ! decodebin ! queue ! x264enc ! rtph264depay ! queue ! udpsink host=192.168.0.110 port=5000 t. ! queue ! autovideosink

video doesn't play, I see only first frame.
What should do?