[Live-devel] Error while streaming using live 555 test programs
Thomas Christensen
tchristensen at nordija.com
Wed Jun 7 00:04:41 PDT 2006
Hi Pradeep
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.
Ie: Second request should have CSeq:2
Cheers
Thomas
On 07/06/2006, at 8.44, Pradeep Kumar PALAPARTHY wrote:
> Dear all,
>
> Im running onDemandRTSPServer for rtsp streaming.
> I have written some sample programs to connect the rtsp server
> using mp4player rtsp liraries.
> When i send two SETUP(rstp command) requests for both audio &
> video, the session is getting increased in response to the second
> setup request.
>
> Following are my requests * responses
>
> 1Request
>
> SETUP rtsp://192.168.1.196:8554/mpeg1or2AudioVideoTest/track1 RTSP/1.0
> CSeq: 1
> Transport: RTP/AVP;unicast;client_port:1024-1025
> User-Agent: STL Version 1.0
>
> Response is
>
> RTSP 200 OK
> CSeq: 1
> Transport: RTP/AVP;unicast;destination:192.168.1.196;client_port:
> 1024-1025;server_port:32780-32780
> Session: 32
> User-Agent: STL Version 1.0
>
> 2Request
>
> SETUP rtsp://192.168.1.196:8554/mpeg1or2AudioVideoTest/track2 RTSP/1.0
> CSeq: 1
> Session: 32
> Transport: RTP/AVP;unicast;client_port:1026-1027
> User-Agent: STL Version 1.0
>
> Response is
>
> RTSP 200 OK
> CSeq: 1
> Transport: RTP/AVP;unicast;destination:192.168.1.196;client_port:
> 1024-1025;server_port:32780-32780
> Session: 33
> User-Agent: STL Version 1.0
>
>
> The problem is that is is treating the second request as new
> session...i suppose.
> Please any can help me in this regard.
>
> Thanks in Advance
>
> Regards,
> Pradeep
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060607/2447dbef/attachment.html
More information about the live-devel
mailing list