I'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't exposed, so if a push attempt is made to a server that's unavailable for whatever reason, DarwinInjector->setDestination() does not return.  <br>
<br>So I exposed the timeout value in the DarwinInjector->setDestination() method, with a default value of -1 so it's compatible with existing code.<br><br>Here's the diff for DarwinInjector.hh:<br><br>76c76,77<br>
<              char const* sessionCopyright = "");<br>---<br>>              char const* sessionCopyright = "",<br>>              int timeout = -1);<br><br><br>Diff for DarwinInjector.cpp:<br><br>
112c112,113<br><          char const* sessionCopyright) {<br>---<br>>          char const* sessionCopyright,<br>>          int timeout) {<br>189c190<br><     = fRTSPClient->announceWithPassword(url, sdp, remoteUserName, remotePassword);<br>
---<br>>     = fRTSPClient->announceWithPassword(url, sdp, remoteUserName, remotePassword, timeout);<br>191c192<br><       announceSuccess = fRTSPClient->announceSDPDescription(url, sdp);<br>---<br>>       announceSuccess = fRTSPClient->announceSDPDescription(url, sdp, NULL, timeout);<br>
<br><br>I didn't see another way to configure the timeout, but if I missed something, let me know.<br>