<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Hi Pradeep<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Right off the bat: Shouldn't your CSeq be increasing? Haven't checked with the source code, but it could be that the RTSP server figures that CSeqs should be increasing if the same session should be reused.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><SPAN class="Apple-style-span">Ie: Second request should have <B>CSeq:2</B></SPAN></DIV><DIV><B><BR class="khtml-block-placeholder"></B></DIV><DIV>Cheers</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thomas</DIV><DIV><BR><DIV><DIV>On 07/06/2006, at 8.44, Pradeep Kumar PALAPARTHY wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><DIV>Dear all,</DIV> <DIV> </DIV> <DIV>Im running onDemandRTSPServer for rtsp streaming.</DIV> <DIV>I have written some sample programs to connect the rtsp server using mp4player rtsp liraries.</DIV> <DIV>When i send two SETUP(rstp command) requests for both audio &amp; video, the session is getting increased in response to the second setup request.</DIV> <DIV> </DIV> <DIV>Following are my requests * responses</DIV> <DIV> </DIV> <DIV><STRONG>1Request</STRONG></DIV> <DIV> </DIV> <DIV>SETUP <A href="rtsp://192.168.1.196:8554/mpeg1or2AudioVideoTest/track1">rtsp://192.168.1.196:8554/mpeg1or2AudioVideoTest/track1</A> RTSP/1.0</DIV> <DIV>CSeq: 1</DIV> <DIV>Transport: RTP/AVP;unicast;client_port:1024-1025</DIV> <DIV>User-Agent: STL Version 1.0</DIV> <DIV> </DIV> <DIV><STRONG>Response is</STRONG></DIV> <DIV> </DIV> <DIV>RTSP 200 OK</DIV> <DIV>CSeq: 1</DIV> <DIV>Transport: RTP/AVP;unicast;destination:<A href="http://192.168.1.196">192.168.1.196</A>;client_port:1024-1025;server_port:32780-32780</DIV> <DIV>Session: <STRONG>32</STRONG></DIV> <DIV>User-Agent: STL Version 1.0</DIV> <DIV> </DIV> <DIV><STRONG>2Request</STRONG></DIV> <DIV><STRONG></STRONG> </DIV> <DIV> <DIV>SETUP <A href="rtsp://192.168.1.196:8554/mpeg1or2AudioVideoTest/track2">rtsp://192.168.1.196:8554/mpeg1or2AudioVideoTest/track2</A> RTSP/1.0</DIV> <DIV>CSeq: 1</DIV> <DIV>Session: <STRONG>32</STRONG></DIV> <DIV>Transport: RTP/AVP;unicast;client_port:1026-1027</DIV> <DIV>User-Agent: STL Version 1.0</DIV> <DIV> </DIV> <DIV>Response is</DIV> <DIV> </DIV> <DIV>RTSP 200 OK</DIV> <DIV>CSeq: 1</DIV> <DIV>Transport: RTP/AVP;unicast;destination:<A href="http://192.168.1.196">192.168.1.196</A>;client_port:1024-1025;server_port:32780-32780</DIV> <DIV>Session: <STRONG>33</STRONG></DIV> <DIV>User-Agent: STL Version 1.0</DIV> <DIV> </DIV> <DIV> </DIV> <DIV>The problem is that is is treating the second request as new session...i suppose. </DIV> <DIV>Please any can help me in this regard.</DIV> <DIV> </DIV> <DIV>Thanks in Advance</DIV> <DIV> </DIV> <DIV>Regards,</DIV> <DIV>Pradeep</DIV></DIV> <DIV> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">live-devel mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>