[Libav-user] rtsp transport protocol

wm4 nfxjfg at googlemail.com
Thu Aug 14 20:08:30 CEST 2014


On Thu, 14 Aug 2014 22:00:49 +0400
Dmitry Adjiev <adjiev.dmitry at gmail.com> wrote:

> This string doesn't work:
> av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp",
> opts, ":", ":");
> 
> This string crashes:
> av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp",
> opts, ":", NULL);
> 
> What I do wrong?

You need to pass it as entry in an AVDictionary to
avformat_open_input(). (Not very intuitive, I know.)


More information about the Libav-user mailing list