sdp 简单介绍

上一篇 / 下一篇  2013-08-25 11:29:13 / 个人分类:SIP

 

 51Testing软件测试网6|}0f)`+e9A)_]

 51Testing软件测试网[#r!b`#rf p9g

 51Testing软件测试网S`f1r%a Jby|N%D*{

Session Description Protocol

c"M-X"@"j!} q0

 

l0bd5D~i0

Purpose and Content

~(Z q/{{j g0

 

o%S}a-Q4Q0

l The purpose of SDP is to convey information about media streams in multimedia sessions to help participants join or gather info of a particular session

3t(D'V8M*\Al4c#M*A0

l SDP includes51Testing软件测试网 z1a1r-`5u4a

-Session name and purpose51Testing软件测试网e&qBP'p]L

-Time(s) the session is active

S#G$\0B(t\1wL#J0

-The media comprising the session

(o$G'O RY+~,T)UV0

-Information to receive those media (addresses, ports, formats and so on)

7Vuz? d.~"e*B0

 

%cJo#u ?y8s&{-\:t0

 

!v5mR%N*`z4I8{0I$UV0

Format51Testing软件测试网Z-KZ-n,b

 51Testing软件测试网CFY*T_

l SDP is a short structured textual description51Testing软件测试网.]-q4[A B

l It conveys the name and purpose of the session, the media, protocols,codecformats, timing and transport information

R:m;C,N+d F y0

l A tentative participant checks these information and decides whether to join a session and how and when to join a session if it decides to do so51Testing软件测试网%{4{4E(P7k#Ps:ce

l The format has entries in the form. of<type>=<value>, where the<type>defines a unique session parameter, and the<value>provides a specific value for that parameter.51Testing软件测试网*Z gE^6ZKT

 51Testing软件测试网+E*^ZU1O F._,l'U

 

N8E)N-ke PG ~8E0

Session Description Parameters -1

'v)YNt5Dr'w0

 51Testing软件测试网T&}/sf6E8o

Session description(* denotes optional )

$OH,D4A9nO l1vQH1H0

v= (protocol version)51Testing软件测试网Q i!] dM h

o= (owner/creator and session identifier)

8e+C?oX-` x-~:LY0

s= (session name)51Testing软件测试网,DK*eh6[

i=* (session information)

-d4S|6x'm} ? ^}5uf0

u=* (URI of description)51Testing软件测试网CK-M b@k

e=* (email address)51Testing软件测试网EpS;\C%ST

p=* (phone number)51Testing软件测试网5Y"R`!wS C$@og

c=* (connection information -not required if included in all media)51Testing软件测试网l;R'W L%Y!H1VN`

b=* (bandwidth information)

%ka'r'yNGL0

One or more time descriptions (see next slide)

1I+uh#e U&[5vO)x.t0

z=* (time zone adjustments)51Testing软件测试网U4pxG d

k=* (encryption key)51Testing软件测试网,? Rh?w{m

a=* (zero or more session attribute lines)51Testing软件测试网.g*V5~%HH

Zero or more media descriptions (see next slide)

:Ej1PX},t YX9^0

 

T%j#|/{%G3`;Cdz*p0

 

)o k0zLX$nB%|*O0

 

b#z"q9Y2z0

Session Description Parameters -251Testing软件测试网"`5[{Ke~y

 51Testing软件测试网!HA2j^ GK

l Time description(* denotes optional )51Testing软件测试网i1d m/V6O/|A a

t= (time the session is active)51Testing软件测试网0Rc5GAM-aj"X&Y0R#G

r=* (zero or more repeat times)51Testing软件测试网{FMWJ:kt

l Media description(* denotes optional )

`I'O4Iqa_7H i0h0

m= (media name and transport address)

x U@%a/U3d0

i=* (media title)51Testing软件测试网)P}?7X8^V

c=* (connection information -optional if included at session-level)

y+`-}L7Q&A\J0

b=* (bandwidth information)

;_sk&`hO.l0

k=* (encryption key)

E`eG$i+K9x*[w#@$g0

a=* (zero or more media attribute lines)

cYGPX#?{n m@Q0

 

7P%Gx)c^^ F4@0x0

 51Testing软件测试网qq3VAe+?!` R W

 51Testing软件测试网#c0Ue,b*~7G-Xo}.@q

An Example

jE![0@}2g3u0

 

7R%^qn1b6N6h!EF0

Below is an example session description, taken from RFC 2327:51Testing软件测试网8p?7r4[TV+X

v=051Testing软件测试网4p@X XC&n7A8MN

o=mhandley2890844526 2890842807 IN IP4 126.16.64.4

(R$QC(?-i)~f0

s=SDP Seminar51Testing软件测试网)zT"@u9T_^

i=A Seminar on the session description protocol51Testing软件测试网(?$j0_0J&{;qR

u=http://www.cs.ucl.ac.uk/staff/M.Handley/sdp.03.ps

yt6SHMdp+M J0

e=mjh@isi.edu(Mark Handley)51Testing软件测试网+OHKw N&i/m*E

c=IN IP4 224.2.17.12/127

&I4iN e oh0

t=2873397496 287340469651Testing软件测试网!z BjS1SIN m

a=recvonly51Testing软件测试网*W X@/J6C2S([#M!N rbDu,U

m=audio 49170 RTP/AVP 051Testing软件测试网4_*l-a0C._%Q2l!y

m=video 51372 RTP/AVP 31

0r~^Ll2o0

m=application 32416udp wb51Testing软件测试网5I/}-}N0Sz G5\

a=orient:portrait

A:N+W`4a8?0

 51Testing软件测试网[B9rBb

 51Testing软件测试网W/D'vd` g'Wa$]]7u

This presentation is only a rough introduction. For better understanding go through the document of RFC 2327

)k"Ggk#~M mD:[Z1CQO0

 

yu(?S7d%j;|/w0

 51Testing软件测试网 C;k1SiP'b#h4k


TAG: sdp SIP sip

 

评分:0

我来说两句

luoriver

luoriver

北漂一族,80后,计算机专业,从事SIP相关软件测试3年,热爱生活,崇尚运动。 爱看WWE、公开课。爱钻“牛角尖”,这就是我:luorivr!!!!!

日历

« 2024-04-26  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 345813
  • 日志数: 96
  • 图片数: 1
  • 建立时间: 2012-12-27
  • 更新时间: 2014-05-03

RSS订阅

Open Toolbar