Let’s learn how to do live streaming through cv2 module in python and integrating it with Socket Programming.

We need a Server and a Client as we already know that Live-streaming would only be possible when the client requests a server and in return the server acknowledges the Client back.

Therefore, we use Socket Programming to fulfill the agenda for the client and server and hence made a Client and a Server file wherein the Client gives the IP address and the port number where it has to connect.

For Camera live-streaming app over the network, TCP(Transmission Control Protocol) or…

Ishita Mittal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store