<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
&gt; &gt;Why doesn't live555 sends this type of packet to keep the connection alive ?<br>&gt; <br>&gt; It does.  I don't know why your camera would not be receiving these packets.<br><br>Well, in my case it doesn't, because I looked at network traffic with wireshark, and my computer sends nothing after the play request during 60sec... It sends a teardown request after receiving the good bye message from the camera.<br><br>Here is the output, thank you :<br><br>Sending request: OPTIONS rtsp://192.43.185.21/mpeg4/media.amp RTSP/1.0<br>CSeq: 1<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.05.12)<br><br><br>Received OPTIONS response: RTSP/1.0 200 OK<br>CSeq: 1<br>Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN<br><br><br>Sending request: DESCRIBE rtsp://192.43.185.21/mpeg4/media.amp RTSP/1.0<br>CSeq: 2<br>Accept: application/sdp<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.05.12)<br><br><br>Received DESCRIBE response: RTSP/1.0 200 OK<br>CSeq: 2<br>Content-Base: rtsp://192.43.185.21:554/mpeg4/media.amp/<br>Content-Type: application/sdp<br>Content-Length: 698<br><br><br>Need to read 698 extra bytes<br>Read 698 extra bytes: v=0<br>o=- 1212654651141785 1212654651141798 IN IP4 192.43.185.21<br>s=Media Presentation<br>e=NONE<br>c=IN IP4 0.0.0.0<br>b=AS:8000<br>t=0 0<br>a=control:*<br>a=range:npt=now-<br>a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="<br>m=video 0 RTP/AVP 96<br>b=AS:8000<br>a=framerate:30.0<br>a=control:trackID=1<br>a=rtpmap:96 MP4V-ES/90000<br>a=fmtp:96 profile-level-id=245; config=000001B0F5000001B509000001000000012000844019285020F0A21F<br>a=mpeg4-esid:201<br><br>Opened URL "rtsp://192.43.185.21/mpeg4/media.amp", returning a SDP description:<br>v=0<br>o=- 1212654651141785 1212654651141798 IN IP4 192.43.185.21<br>s=Media Presentation<br>e=NONE<br>c=IN IP4 0.0.0.0<br>b=AS:8000<br>t=0 0<br>a=control:*<br>a=range:npt=now-<br>a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="<br>m=video 0 RTP/AVP 96<br>b=AS:8000<br>a=framerate:30.0<br>a=control:trackID=1<br>a=rtpmap:96 MP4V-ES/90000<br>a=fmtp:96 profile-level-id=245; config=000001B0F5000001B509000001000000012000844019285020F0A21F<br>a=mpeg4-esid:201<br><br>Created receiver for "video/MP4V-ES" subsession (client ports 42658-42659)<br>Sending request: SETUP rtsp://192.43.185.21:554/mpeg4/media.amp/trackID=1 RTSP/1.0<br>CSeq: 3<br>Transport: RTP/AVP;unicast;client_port=42658-42659<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.05.12)<br><br><br>Received SETUP response: RTSP/1.0 200 OK<br>CSeq: 3<br>Session: 1375681847;timeout=60<br>Transport: RTP/AVP;unicast;client_port=42658-42659;server_port=50996-50997;ssrc=7F99326A;mode="PLAY"<br><br><br>Setup "video/MP4V-ES" subsession (client ports 42658-42659)<br>Created output file: "video-MP4V-ES-1"<br>Sending request: PLAY rtsp://192.43.185.21:554/mpeg4/media.amp/ RTSP/1.0<br>CSeq: 4<br>Session: 1375681847<br>Range: npt=0.000-0.000<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.05.12)<br><br><br>Received PLAY response: RTSP/1.0 200 OK<br>CSeq: 4<br>Session: 1375681847<br>Range: npt=now-<br>RTP-Info: url=trackID=1;seq=44200;rtptime=4102929997<br><br><br>Started playing session<br>Receiving streamed data (signal with "kill -HUP 6324" or "kill -USR1 6324" to terminate)...<br>Received RTCP "BYE" on "video/MP4V-ES" subsession (after 60 seconds)<br>Sending request: TEARDOWN rtsp://192.43.185.21:554/mpeg4/media.amp/ RTSP/1.0<br>CSeq: 5<br>Session: 1375681847<br>User-Agent: ./openRTSP (LIVE555 Streaming Media v2008.05.12)<br><br><br /><hr />Connect to the next generation of MSN Messenger   <a href='http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline' target='_new'>Get it now! </a></body>
</html>