TEARDOWN
Posted: 02 Nov 2011 11:21
Hi,
I am developing an IP camera which streams H.264 video via rtp. I use VLC to receive the stream. I am experiencing some problem during the session opening. Maybe these issues are related to my source but I write here because I see different behaviour depending on the OS platform where VLC is installed.
At the beginning I used a SSM multicast mode and all was fine. Then I passed to the unicast mode in order to go through the internet. The problem happen while opening the session. At the beginnign all seems OK I see the the OPTIONS,DESCRIBE, SETUP and PLAY from the VLC client. After the PLAY the source always replies with the OK.
Sometimes the stream starts immediatly and all is fine, sometimes the VLC client sends a GET_PARAMETER request, immediatly after the PLAY, the stream does not start, I see some TCP communication between host and server and after 10s the VLC sends a TEARDOWN command.
This is the VLC request after the PLAY
Request: GET_PARAMETER rtsp://<ipaddr>:8554/ErmesStream/ RTSP/1.0\r\n
CSeq: 6\r\n
User-Agent: LibVLC/1.1.11 (LIVE555 Streaming Media v2011.05.25)\r\n
Session: 11BE2B66
And the response:
Response: RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 6\r\n
Date: Sat, Jan 03 1970 02:50:47 GMT\r\n (can be an issue??)
Session: 11BE2B66
Two interesting things:
1) when I use the Linux version of VLC I can always play my stream on internet with no issues.
2) when I play over LAN there all is fine even with the windows version of the VLC.
Some idea about the possible issue?
I am developing an IP camera which streams H.264 video via rtp. I use VLC to receive the stream. I am experiencing some problem during the session opening. Maybe these issues are related to my source but I write here because I see different behaviour depending on the OS platform where VLC is installed.
At the beginning I used a SSM multicast mode and all was fine. Then I passed to the unicast mode in order to go through the internet. The problem happen while opening the session. At the beginnign all seems OK I see the the OPTIONS,DESCRIBE, SETUP and PLAY from the VLC client. After the PLAY the source always replies with the OK.
Sometimes the stream starts immediatly and all is fine, sometimes the VLC client sends a GET_PARAMETER request, immediatly after the PLAY, the stream does not start, I see some TCP communication between host and server and after 10s the VLC sends a TEARDOWN command.
This is the VLC request after the PLAY
Request: GET_PARAMETER rtsp://<ipaddr>:8554/ErmesStream/ RTSP/1.0\r\n
CSeq: 6\r\n
User-Agent: LibVLC/1.1.11 (LIVE555 Streaming Media v2011.05.25)\r\n
Session: 11BE2B66
And the response:
Response: RTSP/1.0 200 OK\r\n
Status: 200
CSeq: 6\r\n
Date: Sat, Jan 03 1970 02:50:47 GMT\r\n (can be an issue??)
Session: 11BE2B66
Two interesting things:
1) when I use the Linux version of VLC I can always play my stream on internet with no issues.
2) when I play over LAN there all is fine even with the windows version of the VLC.
Some idea about the possible issue?