[Server] GStreamer ---> HTML [Client]
- gstreamer-1.x
- Browser which supports video tag of HTML5
sduo apt-get install gstreamer1.0
- Please set a webcam to the your pc.
- Open
index.html
by the browser. - Run
streaming-XXXXX.sh
by the terminal. - You will can watch video which captured by webcam !!
I have an Ip camera and I am using the same procedure, but it is not showing neither any error on command line nor anything to my browser. I am not getting whether it is problem of my command or browser.
Command I am using is :
gst-launch-1.0 rtspsrc location=rtspt://172.16.0.127/12 ! queue ! rtph264depay ! decodebin ! videoconvert ! theoraenc ! oggmux ! tcpserversink host=127.0.0.1 port=8085
btw command is correct because I can see output when I am running client side command in another terminal, but that output comes in gstreamer's sink elements opening a new window which I don't want.
and Index page is same as follows:
<title>gst-stream</title>/******/
Streaming
/*****/ I even tried to put codecs in video source atg to be very specific as follows:Please guide me on this. I am working on Ubuntu.