Relative Content

Tag Archive for c#videowebsocketvideo-streaming

Video live streaming with websockets

I am working on a project where I need to do a live stream using a webcam.
I work with web sockets and currently I use the AForge lib to get the images (Bitmaps) from my webcam.
Once I have the bitmap I put it in a byte array and then I directly send it to the client using a websocket. So I send bitmap per bitmap once at a time, but I am not sure that’s the right way to do it. Can someone help me?