Click here to Skip to main content
15,902,635 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ! I want to use the WSAAsyncSelect model and udp to transmit the picture captured by the camera , using VFW , the picture formatation is BMP , the GDI+ could convet the BMP to JPG in very limited size . Now I want to transport the .jpg pictures using UDP . but it does not work very well . Is there any other ways to impliment the real-time transmission , forget about the RTP, I know nothing about this protocol.
Posted

1 solution

RTP is just built within UDP, it's not very complex at all. It doesn't really buy you too much over UDP however. Are you looking to transfer video over a network? Why does UDP "not work very well"?

Commercial VTC equipment uses application layer protocols built over UDP. Maybe you just need to re-evaluate your implementation.
 
Share this answer
 
Comments
Younth 27-Sep-11 8:49am    
um , I just don't kown the exact way ! remote camera grabs the pictures and saved as BMP format , then convert into jpg , my thoughts very simple but may be just a joke : using winsock2 tranfer the remote jpg to local and using GDI+ to show the jpg, so there are two disk operations ,first save in remote host , then transfer to local machine saved as jpg , it seems not to be a good way to finish the task. If the memory bytes don't need to save in disk with files , that would be better.So how to show a .jpg format picture in memory bytes other then disk files ?
Albert Holguin 27-Sep-11 13:37pm    
Don't think I understand your question.
Albert Holguin 27-Sep-11 13:38pm    
Why would you need to save an image on the remote machine if you don't have to?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900