Hey,
I have some code for getting a webcam feed, does anyone know of a good way to send this over a network?
Thanks
Printable View
Hey,
I have some code for getting a webcam feed, does anyone know of a good way to send this over a network?
Thanks
If you're sending the feed to other people on a LAN, it should be just as simple as saving the current frame as bmp and transfering it as a binary file to the other people on the network.
If it's over the internet, you'll probably want to convert it to JPEG first, then send it. You could also convert it to JPEG for transferring over a LAN too, and it would be faster.
Convert to JPEG
A "faster" version
There's also some code in the codebank for transferring files over a Winsock connection.
i tried that but it just didn't process fast enough, so i couldn't do a live feed - anyone know how msn does theirs?
do it over UDP protocol, it will be much faster, UDP hs no connection you just send your data and thats it. When you send the image be sure your not sending a super high quality image, cut the quality and resolution down. I'm almost certain msn does it via UDP.
thanks a tonne