Problem about CPU resouce

I have a video chat project.I use DirecxShow to capture video frames and udp to translate the video data.In the project,I use WM_TIMER message(using SetTimer() of cource)to capture a video frame and send it each second.
But I find,my program exhaust almost all the CPU recouce up to 98 percent or more.
And in another hands,I had a look at other video chat products,they only using 1 to 3 persent of CPU.
Some body would tell me why,and how to resolve it?

GOOD LUCK
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories