<div dir="ltr"><div><div>This string doesn't work:<br>av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp", opts, ":", ":");<br><br></div>This string crashes:<br>av_opt_set_from_string(stream->rtp_ctx->priv_data, "rtsp_transport:udp", opts, ":", NULL);<br>
<br></div>What I do wrong?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-14 21:51 GMT+04:00 Dmitry Adjiev <span dir="ltr"><<a href="mailto:adjiev.dmitry@gmail.com" target="_blank">adjiev.dmitry@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

<p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:11pt;color:rgb(0,0,0)">Here is debug output:<br></span></p><p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:11pt;color:rgb(0,0,0)">Output #0, rtsp, to 'rtsp://<a href="http://127.0.0.1:8554/live.sdp" target="_blank">127.0.0.1:8554/live.sdp</a>':</span></p>


<p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:11pt;color:rgb(0,0,0)">    Stream #0:0: Video: h263, yuv420p, 352x288, q=2-31, 200 kb/s, 15 tbn, 15 tbc</span></p>
<p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:11pt;color:rgb(0,0,0)">[rtsp @ 0x2f688c0] Codec for stream 0 does not use global headers but container format requires global headers</span></p>


<p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:11pt;color:rgb(0,0,0)">[tcp @ 0x2f9eb00] Connection to tcp://<a href="http://127.0.0.1:8554?timeout=0" target="_blank">127.0.0.1:8554?timeout=0</a> failed: Connection refused</span></p>

<p style="margin:0px;text-indent:0px"><span style="font-family:'Monospace';font-size:11pt;color:rgb(0,0,0)">Thanks, I'll try<br></span></p></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-08-14 21:49 GMT+04:00 wm4 <span dir="ltr"><<a href="mailto:nfxjfg@googlemail.com" target="_blank">nfxjfg@googlemail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On Thu, 14 Aug 2014 21:46:57 +0400<br>
Dmitry Adjiev <<a href="mailto:adjiev.dmitry@gmail.com" target="_blank">adjiev.dmitry@gmail.com</a>> wrote:<br>
<br>
> Hello.<br>
> I trying to use rtsp muxer.<br>
> By default it has lowertransport tcp, how can I set it to udp?<br>
<br>
</div>I thought it as udp by default? But you can set the "rtsp_transport"<br>
AVOption to "udp".<br>
_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org" target="_blank">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>
</blockquote></div></div></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Regards,<br>Dmitry
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Dmitry
</div>