Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-22 Thread Flavio Alves
Hi Ross, Thank you for all your support. The proxy will work on an embedded system. So, definitely it will work alone. Best regards, Flavio > On 22 May 2023, at 19:34, Ross Finlayson wrote: > > > >> On May 22, 2023, at 1:46 PM, Flavio Alves >> wrote: >> >> I found a solution for my pr

Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-22 Thread Ross Finlayson
> On May 22, 2023, at 1:46 PM, Flavio Alves > wrote: > > I found a solution for my problem. > > I set the following compilation parameters: > > ALLOW_SERVER_PORT_REUSE > REUSE_FOR_TCP > > It was enough to avoid the reinit issue. As I noted in the comments: Make sure you know what you are

Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-22 Thread Flavio Alves
I found a solution for my problem. I set the following compilation parameters: ALLOW_SERVER_PORT_REUSE REUSE_FOR_TCP It was enough to avoid the reinit issue. On Mon, 22 May 2023 at 15:56, Flavio Alves < flavio.al...@vitalintelligencedata.com> wrote: > This makes sense on a cloud server or LAN

Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-22 Thread Flavio Alves
This makes sense on a cloud server or LAN environment, but we are planning to use the library on an embedded application. So we are evaluating the recovery approaches and handling them. That is the reason for my questions. Best regards, Flavio On Mon, 22 May 2023 at 14:27, Ross Finlayson wro

Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-22 Thread Ross Finlayson
The “LIVE555 Proxy Server” is not meant to be shut down (but of course, you can always do so, using -c). If the ‘back end’ RTSP stream goes away, the proxy server will automatically keep retrying the connection to the back-end server, until it succeeds. So, you should not need to shut down/res

Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-22 Thread Flavio Alves
Hi Ross, I was studying here ... If I really need to capture the exit signal of the server to softly finish the execution of the proxy server, what advice would you give me to update the application to have this features implemented? Best regards, Flavio On Fri, 19 May 2023 at 19:30, Ross Finl

Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-19 Thread Flavio Alves
Hi Ross, Thank you very much for your quick response. I am evaluating recovery situations and this situation happened to me. Best regards, Flavio Em sex., 19 de mai. de 2023 19:30, Ross Finlayson escreveu: > > > > On May 19, 2023, at 3:11 PM, Flavio Alves < > flavio.al...@vitalintelligenceda

Re: [Live-devel] Proxy server disconnection and reconnection

2023-05-19 Thread Ross Finlayson
> On May 19, 2023, at 3:11 PM, Flavio Alves > wrote: > > Then, I force the end of live555ProxyServer. ffplay does not stop, but stops > working, as expected. > When I start again live555ProxyServer, it starts normally. > > Then I stop ffplay and try to connect again. I get this error: > > C

[Live-devel] Proxy server disconnection and reconnection

2023-05-19 Thread Flavio Alves
Hello, I am trying to do the following test using live555ProxyServer: -- Setup: * Camera: RTSP server on Raspberry Pi with HQ camera and running mediamtx server * live555ProxyServer * ffplay as client -- Procedure: * Start the camera * Start live555ProxyServer * Start ffplay So far, no problem