[Libav-user] rtsp transport protocol

wm4 nfxjfg at googlemail.com
Thu Aug 14 20:35:49 CEST 2014


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

> AVDictionary *d = NULL;
> av_dict_set(&d, "rtsp_transport", "udp", 0);
> ret = avformat_write_header(stream->rtp_ctx, &d);
> av_dict_free(&d);
> 
> Has no effect, what I do wrong?

Oh I see, for serving (not reading)...

I don't know, in the worst case, it doesn't support UDP. You can check
after the write_header call if d still contains the option (if it does,
the option wasn't understood).


More information about the Libav-user mailing list