在C中获取数据包rtsp [英] Get packet rtsp in C

查看:161
本文介绍了在C中获取数据包rtsp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我想在C语言中获取rtsp数据包,但我不知道该怎么做?谢谢

Hello everbody, I want to get packet rtsp in C but I don''t known a way to do it? Can you help me to find C library to do it?Thanks

推荐答案

pcap(libpcap)库是最好的,而且是免费的.
pcap (libpcap) library is the best one and it is free.


到目前为止,我还没有看过这个库,但是该标准实际上很简单并且易于实现.您可以使用UDP库,然后自己实现应用程序层.
I''ve never seen a library for this (so far) but the standard is actually pretty straight-forward and easy to implement. You can use a UDP library then just implement the application layer yourself.


这篇关于在C中获取数据包rtsp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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