Regarding the keepalive, this has been discussed before, and we added something 
along the lines of this inside a scheduled task:

client->sendGetParameterCommand(*session, NULL, NULL);

The interval we use is based on the value returned by:

client->sessionTimeoutParameter()

This is read from the timeout value in the SETUP response's Session header.

--
Deanna Earley | Lead developer | icatchercctv

w: www.icode.co.uk/icatcher<http://www.icode.co.uk/icatcher> | t: 01329 835335 
| f: 01329 835338
Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325

From: live-devel [mailto:[email protected]] On Behalf Of 
Saverio ABC
Sent: 21 July 2015 10:20
To: [email protected]
Subject: [Live-devel] live555 proxyserver received RTCP "BYE"

Dear Ross,

My client use VLC as rtsp server, and i use live555 proxyserver(last version 
2015.07.19) to proxy the rtsp stream. From the log generated by live555 
proxyserver, every about 60s (default timeout), VLC will send a "BYE" signal to 
live555 proxyserver, this will cause the rtsp proxy process broken and a 
restart of session.

Following i attach generated by live555 proxyserver:

Server: VLC/2.0.3
Content-Length: 0
Cseq: 7
Public: DESCRIBE,SETUP,TEARDOWN,PLAY,PAUSE,GET_PARAMETER
ProxyServerMediaSubsession["H264"]: received RTCP "BYE".  (The back-end stream 
has ended.)
ProxyServerMediaSubsession["H264"]::closeStreamSource()
ProxyServerMediaSubsession["H264"]::closeStreamSource()
ProxyServerMediaSubsession["MPA"]::closeStreamSource()
ProxyServerMediaSubsession["H264"]::~ProxyServerMediaSubsession()
ProxyServerMediaSubsession["MPA"]::~ProxyServerMediaSubsession()

I searched on web and i found a possible bug on vlc that only support RTSP 
messages (like GET_PARAMETER) as RTSP keepalive and not RR packets.
However I can't change back-end camera software(vlc/2.0.3) so if possible how 
can I change the code of ProxyServerMedia to avoid this error?

Save
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to