Page 1 of 1

Error while reading RTSP stream from C# application.

Posted: 07 Apr 2009 14:00
by Khenatram
Hi,

I am trying to read the RTSP stream from a C# application.

The request string I created is as follows

Code: Select all

SETUP rtsp://localhost:8888/vlc.sdp RTSP/1.0 CSeq: 1 Transport: RTP/AVP/TCP;unicast;interleaved=0-1;mode=play User-Agent: RTSPClient
As a response I got following message when I call readline of streamreader.
"Request failed, error 404"
The detailed message is as following
Content-Length: 328Content-Type: text/html
404 Resource not found(/vlc.sdp)

VideoLAN
The RTSP stream is alive and I can check this by playing "rtsp://localhost:8888/vlc.sdp" stream source.

Can anyone help is resolving this issue?