使用WSAsy-Model的Win32套接字 [英] Win32 Socket using WSAsy-Model

查看:76
本文介绍了使用WSAsy-Model的Win32套接字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!我想使用WSAAsyncSelect模型和udp传输相机捕获的图片,使用VFW,图片格式为BMP,GDI +可以将BMP转换为JPG的大小非常有限.现在我想使用UDP传输.jpg图片.但是效果不是很好.还有其他任何方法可以隐含实时传输,而无需考虑RTP,我对此协议一无所知.

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.

推荐答案

RTP只是在UDP中构建的,它根本不是很复杂.但是,通过UDP并不能给您带来太多好处.您是否要通过网络传输视频?为什么UDP不能很好地工作"?

商用VTC设备使用基于UDP构建的应用层协议.也许您只需要重新评估您的实现即可.
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.


这篇关于使用WSAsy-Model的Win32套接字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆