ffmpeg指定网卡接收流(绑定网卡)

AVDictionary* opts = NULL; av_dict_set(&opts, "localaddr", "192.168.15.15", 0); // 若是有超时设置,继续使用上述函数,超时的key通常为timeout int nRet = avformat_open_input(&ctx, url, NULL, &opts);
相关文章
相关标签/搜索