<div dir="ltr"><div>I found this, thanks. Dictionary is empty<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-14 22:35 GMT+04:00 wm4 <span dir="ltr"><<a href="mailto:nfxjfg@googlemail.com" target="_blank">nfxjfg@googlemail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, 14 Aug 2014 22:25:20 +0400<br>
Dmitry Adjiev <<a href="mailto:adjiev.dmitry@gmail.com">adjiev.dmitry@gmail.com</a>> wrote:<br>
<br>
> AVDictionary *d = NULL;<br>
> av_dict_set(&d, "rtsp_transport", "udp", 0);<br>
> ret = avformat_write_header(stream->rtp_ctx, &d);<br>
> av_dict_free(&d);<br>
><br>
> Has no effect, what I do wrong?<br>
<br>
</div>Oh I see, for serving (not reading)...<br>
<br>
I don't know, in the worst case, it doesn't support UDP. You can check<br>
after the write_header call if d still contains the option (if it does,<br>
the option wasn't understood).<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Dmitry
</div>