I found this, thanks. Dictionary is empty

2014-08-14 22:35 GMT+04:00 wm4 <[email protected]>:

> On Thu, 14 Aug 2014 22:25:20 +0400
> Dmitry Adjiev <[email protected]> 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).
> _______________________________________________
> Libav-user mailing list
> [email protected]
> http://ffmpeg.org/mailman/listinfo/libav-user
>



-- 
Regards,
Dmitry
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to