您当前的位置: 首页 > 

phymat.nico

暂无认证

  • 2浏览

    0关注

    1967博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

关于ffmpeg中rtmp无法设置超时时间的bug修复

phymat.nico 发布时间:2020-05-28 19:30:34 ,浏览量:2

    AVDictionary* options = nullptr;     av_dict_set(&options, "timeout", "3000000", 0);  //设置超时断开连接时间       if (avformat_open_input(&pFormatCtx, url, NULL, &options) != 0) {         printf("Couldn't open input stream.(无法打开输入流)\n");         return -1;     }

https://www.jianshu.com/p/e75e3f1fb6b0?tdsourcetag=s_pcqq_aiomsg

关注
打赏
1659628745
查看更多评论
立即登录/注册

微信扫码登录

0.0488s