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?

  • what does a question about CentOS and about web programming have to do with Raspberry Pi?
    – jsotola
    Jul 10 '21 at 0:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.