分享程序员开发的那些事...
首页
NTFS
漏洞
Android
Magento
服务器
Python
powershell
技术问答
Linux
网站首页
且构网 - 分享程序员编程开发的那些事
您所在的位置:
首页
>
ffmepg 指定RTSP网络连接模式UDP还是TCP
ffmepg 指定RTSP网络连接模式UDP还是TCP
更新时间:2022-09-14 19:49:15
AVFormatContext *formatCtx = NULL;
formatCtx = avformat_alloc_context();
AVDictionary* options = NULL;
av_dict_set(&options,
"
rtsp_transport
",
"
tcp
", 0);
avformat_open_input(&formatCtx, pszURLPath, NULL, &options) < 0);
上一篇 : :Linux调试工具strace和gdb常用命令小结
下一篇 : ffmpeg+rtsp+dss
相关阅读
ffmepg 指定RTSP网络连接模式UDP还是TCP
推荐文章
使用 Strace 和 GDB 调试工具的乐趣
掌握 Linux 调试技术
Eclipse-cdt 配合 gdbserver 进行 arm 程序远程调试 上
单目录下多文件 makefile编写
多目录下多文件 makefile编写
CDT+Eclipse代码自动提示
LIBRARY_PATH和LD_LIBRARY_PATH环境变量的区别
c/c++ define用法
SxsTrace工具使用方法
Linux生成core文件、core文件路径设置