[Live-devel] Bug report of Live555ProxyServer

Chang, Dashan DChang at kastle.com
Fri Feb 27 13:35:57 PST 2015


Ross,

Thank you very much for your quick response.

One difference I noticed in the log file, the camera login info is missing from the request URL. Originally it shows up. Could this be the cause of the proxyserver stopping working? I will test it with just two streams next week.

Virtually I changed only one line of your code: from  sprintf(streamName, "proxyStream-%d", i) to sprintf(streamName, "proxyStream-%s",  CameraName) as I found using a name easier to identify one from another.

Using VLC application is only for testing purpose. Eventually I’d like to use web app with VLC’s web plugin to display a live view. If you have other source to recommend, I’d be happy to give it a try. When I am testing, I only use one instance of VLC. Because I stream out many cameras, I keep switching from one camera to another with VLC. However at a particular moment, I only send one RTSP request to the Live555 Proxy Server.


“With such a large number of proxied streams, perhaps you are simply overwhelming the capacity of your network?”,

Actually I think it shouldn’t be that way. I do have many cameras. I may even have a scenario that I’d like to have one Live555ProxyServer to connect to 200 cameras backend. However at any moment, there is only one live view request or at most a couple of live view requests. Rationally, a Proxy Server should only request stream from its backend RTSP camera only when there is a request to it. If the outside request stops, the backend request should be stopped. If outside request holds, backend streaming holds. Only when there are many requests simultaneously, then there would be overwhelming to the network bandwidth.
Even though it has not yet been perfect, I like the ProxyServer and it should be able to become a great product. I’d like to thank you for your great work.


Thanks lots again and best regards
Dashan




From: live-devel [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Friday, February 27, 2015 2:13 PM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Bug report of Live555ProxyServer

Dashan,

First, your log file reveals that you have made at least some changes to the supplied code. We can support only the original, unmodified code.

Second, your first test shouldn’t be with such a large number of proxied streams.  Can you reproduce your problem with just two streams?

Third, what specifically do you mean by “switch back and forth between one camera to another”?  You understand, I hope, that each time you start viewing (using VLC, or any other RTSP client) a new proxied stream, you are increasing the network traffic in front of the proxy server, and also - if this was the first request to view the proxied stream - the network traffic behind the proxy server.  If you don’t explicitly stop playing (using VLC’s ‘stop’ button) the first stream when you switch to a second stream, then the first stream will continue to be streamed.  With such a large number of proxied streams, perhaps you are simply overwhelming the capacity of your network?

Finally, “VLC" is not a good RTSP client to be using for your initial testing.  VLC is not our software, and it has known scalability problems if you try to run two or more instances of VLC on the same computer (if that’s what you’re doing).  I suggest using “openRTSP” <http://www.live555.com/openRTSP/> instead, at least initially.

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20150227/22b364b7/attachment.html>


More information about the live-devel mailing list