0
votes

UDP streaming from Webcam (stream over the network) gst-launch v4l2src device=/dev/video0 ! 'video/x-raw-yuv,width=640,height=480' ! x264enc pass=qual quantizer=20 tune=zerolatency ! rtph264pay ! udpsink host=127.0.0.1 port=1234

UDP Streaming received from webcam (receive over the network) gst-launch udpsrc port=1234 ! "application/x-rtp, payload=127" ! rtph264depay ! ffdec_h264 ! xvimagesink sync=false

I got this command from "enthusiasticgeek" Webcam streaming using gstreamer over UDP

My problem is?

I want to use these command above to show real-time streaming on my website.How could I do? Do you have any Idea , any solution or the example just like html code or something ?

Thank you for help =)

1

1 Answers

0
votes

You need a streaming server to do so, not just some pipelines.

One server you could use is Flumotion