I am trying to capture video stream using raspberry pi camera and display it on a web page hosted on a CentOS server.
This is what I have tried:
On the CentOS server, I am listening using:
nc -l 11337
Then on raspberry pi, I am sending the video stream by using:
raspivid -t 0 -w 320 -h 240 -fps 2 -o - | nc (IP address) (port number)
I am able to receive data on the CentOS server, but have no idea how to display it on a web page.
Could someone point me in the right direction as how to embed the video stream received on a webpage?