Page 1 of 1

Teardown sent by VLC as RTSP client

Posted: 22 Aug 2016 03:21
by balado
Hi everyone,
Recently, I developing the wifi driver for RTSP server to send the video streaming to VLC(as RTSP client).
After checking the VLC source code, I still have no idea about the timing of sending "TEARDOWN" packet from RTSP client to server.

From Wireshark Sniffer log, I can find the regular packets like:

From 192.168.1.254 to 192.168.1.12, Sender Report Source description
From 192.168.1.12 to 192.168.1.254, Receiver Report Source description
From 192.168.1.254 to 192.168.1.12, Sender Report Source description
From 192.168.1.12 to 192.168.1.254, Receiver Report Source description
From 192.168.1.254 to 192.168.1.12, Sender Report Source description
From 192.168.1.12 to 192.168.1.254, Receiver Report Source description
From 192.168.1.12 to 192.168.1.254, GET_PARAMETER rtsp://192.168.1.254/stream0/svc0// RTSP/1.0
From 192.168.1.254 to 192.168.1.12, Reply: RTSP/1.0 200 OK
From 192.168.1.12 to 192.168.1.254, 49167->rtsp [ACK] Seq=6340 Ack=5359 Win=130944 Len=0 TSval=820127197 TSecr=233105
From 192.168.1.254 to 192.168.1.12, Sender Report Source description
From 192.168.1.12 to 192.168.1.254, Receiver Report Source description
From 192.168.1.254 to 192.168.1.12, Sender Report Source description
From 192.168.1.12 to 192.168.1.254, Receiver Report Source description

As far I know, GET_PARAMETER from client to server every 58sec is using as 'Keep-alive" packet.

My Questions are:
1. Does client close the RTSP session if server doesn't response the GET_PARAMETER, properly?
2. If client or server doesn't receive "sender report" or "receiver report" from each other after timer expired, the RTSP session is also closed by each other
3. Anything else, client will close the RTSP session ??

Appreciate all of your response or information.

Re: Teardown sent by VLC as RTSP client

Posted: 15 Jul 2020 14:46
by vandanachadha
Were you able t find a solution to the teardown being sent by the vlc. I am using ver 3.0.6 and have the same problem.