|
-
May 8th, 2008, 06:09 AM
#2
Re: Send Webcam Images Over Winsock
I always hesitate to say that something can't be done, but I suspect that Winsock is not the right tool for the job. Unfortunately I'm no multimedia expert but I suspect there are things in DirectX that are better suited.
Theoretically you could compose a buffer of a frame or two of video, and use Winsock to send it via UDP, wait for the SendComplete event to trigger and send the next buffer. That's about the fastest you'll get without risking buffer starvation in the sender. Whether that would result in a jerky picture at the other end and meet your timing requirements I couldn't say. It may be one of those "suck it and see" types of thing or maybe a Multimedia guru might drop in and educate us both.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|