hi every one
I am not sure that this goes in here but I will go a head anyway
I am stuck in a problem for more than 20 days.
I am currently working on a RTSP server.
this is how a normal server has to work.
> Client connect and sends a OPTIONS message
> Server send a OK message
> Client sends a DESCRIBE message
> Server send a OK message with SDP information
> Client sends a Setup message
> Server Start a stream
> Cleint sends PLAY message
> Server plays
This work good if the client is Quick time player.
Real player sends -> VERSION not supported After my "OK message with SDP information". I did every thing I can but no use
Windows media player doesn't respond after my "OK message with SDP information"
VLC player Crashes
this is my OK message with SDP information
Code:RTSP/1.0 200 OK CSeq: 2 Server: RTSPserver Date: 20 Aug 2008 15:23:51 GMT Expires: 20 Aug 2008 15:24:51 GMT Content-type: application/sdp Content-Base: rtsp://127.0.0.1:544/realvideo1.rm/ Content-length: 736 v=0 o=- 19557909148 1 IN IP4 127.0.0.1 s=Live Stream i=Live Stream c=IN IP4 127.0.0.1 t=0 0 a=tool:MComms Design a=type:broadcast a=control:* a=range:npt=now- a=x-qt-text-nam:Live Stream a=x-qt-text-inf:Live Stream m=video 7104 RTP/AVP 96 b=AS:100 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=245;config=000001B0F5000001B5A913000001000000012000C48D8BA98514043C1463000001B24C61766335312E34302E34 a=framesize:96 640-480 a=cliprect:0,0,480,640 a=control:trackID=1 m=audio 7106 RTP/AVP 97 b=AS:8 a=rtpmap:97 mpeg4-generic/16000/1 a=fmtp:97 streamtype=5;profile-level-id=1;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=140800000000000000000000000000000000000000000000 a=control:trackID=2





Reply With Quote