[Live-devel] TCP streaming problem with LIVE55

Ross Finlayson finlayson at live555.com
Sat Nov 17 00:33:52 PST 2018


> I am using genuine proxy server, without modifications yet and still see the problem. The error is EAGAIN, and proxy uses nothing more than 2% of CPU and little of memory.
> The VERY intereting part is that if i use "openRTSP -v -t -d 60 rtsp://proxyaddress > /dump.h264 INSIDE camera - i recieve complete working stream without any damage and not lost packets.

Then this is telling you exactly what the problem is: The problem occurs only when you stream the data over TCP.  The EAGAIN error is your OS’s TCP implementation telling it that its buffer - for outgoing TCP connections - is full.  I don’t know why this is happening, but perhaps you can increase this buffer size (inside your OS; Linux, I presume), or diagnose the problem (again, inside your OS) in some way?  But this begs the question: Why are you streaming over TCP??  If your clients are all on the same LAN - i.e., with no UDP-blocking firewall between them and the server - then you don’t need to be streaming over TCP at all.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list