我想知道sdp协议是哪一个规定给出,我现在想在vlc上面打开rtsp的流,我查到如下一段话:
• Enter the source party's IP address in the URL field for UDP/RTP Multicast streams and select "1234" as your Port. If receiving an HTTP/FTP/MMS or RTSP stream, enter the stream's URL in the URL field along with the IP address, the stream name and an ".sdp" file extension (e.g. xxx.xxx.xx/stream.sdp with the "x" replaced with IP numbers).
出自:
http://www.ehow.com/how_8712390_play-sdp-stream-vlc.html
v=0 //SDP的版本号,这里为0
o=StreamingServer 3331435948 1116907222000 IN IP4 localip
//“o=”是对会话发起者进行的描述
//这里用户登录名赋值为StreamingServer
//赋值为3331435984,在整个会话中该数字串必须保持唯一的
//赋值为1116907222000,这个选项用来描述会话公告的版本,供公告代理服务器检测同一会话的若干个公告哪一个是最新版本的公告,要求是当会话数据修改之后,该版本的数值递增
//选择为IN,表示为internet.
// 地址类型,选择为IP4
// :赋值为服务器本机的地址
s=H.264 //会话名,在整个会话中有且只有这一个S的选项,这里会化名为H.264
c=IN IP4 0.0.0.0
t=0 0
a=control:*
//第一个媒体级描述
m=video 0 RTP/AVP 96
a=control:trackID=0
a=rtpmap:96 H264/9000
a=fmtp:96 packetization-mode=1;sprop-parameter-sets=AAABBCCC
//第二个媒体级描述
m=audio 0 RTP/AVP 97
a=control:trackID=1
a= rtpmap:97 G726-32/8000/1
a=fmtp:97 packetization-mode=1
是s=""给出的那个吗?还是应该是加一个 "a=streamname:",求帮助啊