Hello Ross,
The problem with "why" i have to use proxy - it's because i dont have source code for original software inside - then i have to "glue" something else in camera to do the job. 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. I am directly connected to camera over LAN 100Mbps, when looking on the same time of original RTSP and Proxy RTSP - original works well but errors are only on proxied stream.
So where to search the clue?
Marcin

W dniu 15.11.2018 o 17:18, Ross Finlayson pisze:
First, if you have access to the IP camera - and are able to completely control 
what runs on it - then why are you using a proxy server at all?  Why not modify 
the H.264 stream (to add SEI NAL units) as it comes from the camera’s H.264 
*encoder*, and just run a single RTSP server (not a proxy server) to stream the 
modified stream?

If instead you are running - inside your IP camera - “encoder” + “built-in RTSP 
server” + “your modified proxy server (which manipulates (presumably with lots 
of data copying) the H.264 NAL unit stream)”, then perhaps you are becoming CPU 
bound?

sendRTPorRTCPPacketOverTCP: failed! (errno 11)
What is errno 11 on your system? (Run “man errno”?)

In any case, when streaming-over-TCP fails (as it did for you), it means that 
the data rate of the stream exceeds the capacity of your TCP connection.  In 
this case, that might be because your IP camera’s CPU (and/or memory subsystem) 
is becoming overloaded (from all of the extra stuff you’re running on it, with 
all of the extra data copying), causing its effective TCP data rate to drop.

In any case, why are you streaming over TCP?  If you haven’t already done so, 
please read:
        http://lists.live555.com/pipermail/live-devel/2018-September/021053.html


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


_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to