I&#39;ve been testing with the DarwinInjector to push to a server online for redistribution, and one thing I noticed is the timeout value for the initial connection to Darwin isn&#39;t exposed, so if a push attempt is made to a server that&#39;s unavailable for whatever reason, DarwinInjector-&gt;setDestination() does not return.  <br>
<br>So I exposed the timeout value in the DarwinInjector-&gt;setDestination() method, with a default value of -1 so it&#39;s compatible with existing code.<br><br>Here&#39;s the diff for DarwinInjector.hh:<br><br>76c76,77<br>
&lt;              char const* sessionCopyright = &quot;&quot;);<br>---<br>&gt;              char const* sessionCopyright = &quot;&quot;,<br>&gt;              int timeout = -1);<br><br><br>Diff for DarwinInjector.cpp:<br><br>
112c112,113<br>&lt;          char const* sessionCopyright) {<br>---<br>&gt;          char const* sessionCopyright,<br>&gt;          int timeout) {<br>189c190<br>&lt;     = fRTSPClient-&gt;announceWithPassword(url, sdp, remoteUserName, remotePassword);<br>
---<br>&gt;     = fRTSPClient-&gt;announceWithPassword(url, sdp, remoteUserName, remotePassword, timeout);<br>191c192<br>&lt;       announceSuccess = fRTSPClient-&gt;announceSDPDescription(url, sdp);<br>---<br>&gt;       announceSuccess = fRTSPClient-&gt;announceSDPDescription(url, sdp, NULL, timeout);<br>
<br><br>I didn&#39;t see another way to configure the timeout, but if I missed something, let me know.<br>