hello,everyone
I want to know the differences between the SDP files generated by VLC(or Darwin Streaming Server Broadcaster) and the SDP file obtained by RTSP DESCRIBE method.
When I'm streaming a media using VLC, I can generate a SDP file using such command as "sdp=file://test.sdp". and I can open the streaming media by opening this SDP file using VLC. In the meanwhile, I also use RTSP DESCRIBE method to request the SDP file from the VLC(or Darwin streaming server), and then get another SDP file.But I can't open the media using this SDP file.
what is the reason?
Thank you!
below are two SDP files corresponding to the same streaming media
SDP file generated by VLC command
v=0
o=- 14806485098228088832 14806485098228088832 IN IP4 nanger
s=Unnamed
i=N/A
c=IN IP4 127.0.0.1
t=0 0
a=tool:vlc 0.9.8a
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=audio 1234 RTP/AVP 96
b=RR:0
a=rtpmap:96 mpeg4-generic/48000/2
a=fmtp:96 streamtype=5; profile-level-id=15; mode=AAC-hbr; config=1190; SizeLength=13; IndexLength=3; IndexDeltaLength=3; Profile=1;
m=video 1236 RTP/AVP 97
b=RR:0
a=rtpmap:97 H264/90000
a=fmtp:97 packetization-mode=1;profile-level-id=4d401e;sprop-parameter-sets=J01AHqkYMB73oA==,KM4C+IA=;
SDP file obtained by RTSP DESCRIBE request
v=0
o=StreamingServer 3447403513 1110207734000 IN IP4 127.0.0.1
s=\small.mp4
u=http:///
e=admin@
c=IN IP4 0.0.0.0
b=AS:2097279
t=0 0
a=control:*
a=isma-compliance:2,2.0,2
a=range:npt=0- 70.00000
m=video 0 RTP/AVP 96
b=AS:2097151
a=rtpmap:96 H264/90000
a=control:trackID=3
a=cliprect:0,0,480,380
a=framesize:96 380-480
a=fmtp:96 packetization-mode=1;profile-level-id=4D401E;sprop-parameter-sets=J01AHqkYMB73oA==,KM4C+IA=
a=mpeg4-esid:201
m=audio 0 RTP/AVP 97
b=AS:127
a=rtpmap:97 mpeg4-generic/48000/2
a=control:trackID=4
a=fmtp:97 profile-level-id=15;mode=AAC-hbr;sizelength=13;indexlength=3;indexdeltalength=3;config=1190
a=mpeg4-esid:101