Hi Ross,
Please consider the attached patch. It reduces TCP send failures when streaming 
RTP over RTSP/TCP using the connection initiated
at the RTSP server using RTSP REGISTER. I used the standard 50 * 1024 size that 
is prevalent throughout the code base.

Regards,
Ralf



--

This message is subject to the CSIR's copyright terms and conditions, e-mail 
legal notice, and implemented Open Document Format (ODF) standard. 
The full disclaimer details can be found at 
http://www.csir.co.za/disclaimer.html. 

Please consider the environment before printing this email. 
Index: RTSPClient.cpp
===================================================================
--- RTSPClient.cpp      (revision 41800)
+++ RTSPClient.cpp      (working copy)
@@ -869,7 +869,10 @@
     fInputSocketNum = fOutputSocketNum = setupStreamSocket(envir(), 0);
     if (fInputSocketNum < 0) break;
     ignoreSigPipeOnSocket(fInputSocketNum); // so that servers on the same 
host that get killed don't also kill us
-      
+
+    increaseSendBufferTo(envir(), fOutputSocketNum, 50 * 1024);
+    increaseReceiveBufferTo(envir(), fOutputSocketNum, 50 * 1024);
+
     // Connect to the remote endpoint:
     fServerAddress = *(netAddressBits*)(destAddress.data());
     int connectResult = connectToServer(fInputSocketNum, destPortNum);
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to