SDP學習筆記

一、SDP規范了回話描述的格式,一般結合會話協議共同工作。

常見的會話傳送協議包括:SAP(Session Announcement Protocol 會話公告協議),SIP,RTSP,HTTP,和使用MIME的E-Mail。

(PS:對SAP只能包含一個會話描述,其它會話協議的SDP可包含多個會話描述)

二、SDP包括以下一些信息:

1)會話的名稱和目的

2)會話存活時間

3)包含在會話中的媒體信息,包括:

1 媒體類型(video, audio, etc)
2 傳輸協議(RTP/UDP/IP, H.320, etc)
3 媒體格式(H.264 video, MPEG video, etc)
4 多播或遠端(單播)地址和端口

4)? 為接收媒體而需的信息(地址,端口,編碼格式等)

5) ?本端的帶寬信息

6)? 可信賴的接洽信息(Contact information)

三、實例解析

1. v=0

1 定義:協議的版本信息
2 格式:v=<版本> 目前只有版本0
3 選擇:必選

2.?o=- 1466130518 1466130518 IN IP4 192.168.8.76

1 定義:owner/creator和session信息
2 格式:o=<用戶名> <會話id> <版本> <網絡類型> <地址類型> <地址>
3 選擇:必選

3. s=MRD=MRE MRC-V=1.0.0

1 定義:會話名稱
2 格式:s=<名稱>
3 選擇:必選

4. c=IN IP4 192.168.8.76

1 定義:連接信息
2 格式:c=<網絡類型> <地址類型> <地址>
3 選擇:可選

5. b=AS:1920

1 定義:本端帶寬信息
2 格式:b=<類型>:<帶寬>
3 選擇:可選

6. t=0 0

1 定義:起始時間
2 格式:t=<開始時間> <結束時間>
3 選擇:必選

7. a=sendrecv

1 定義:媒體屬性
2 格式:a=<屬性>
3 選擇:可選

8. m=audio 3230 RTP/AVP 118 115 114 113 102 101 103 99 98 97 9 18 15 0 8 104 119

1 定義:媒體信息
2 格式:m=<媒體類型> <媒體端口> <傳輸協議> <編碼信息>
3 選擇:必選

9. a=rtpmap:118 SIRENLPR/48000/1

1 定義:媒體屬性
2 格式:a=<屬性>:<值>
3 選擇:可選

10. a=fmtp:115 bitrate=48000

1 同9

11. m=video 3232 RTP/AVP 109 110 96 34 31 106 105 116

1 同8

12. 視頻屬性信息多一些

a=label:1
a=rtcp-fb:* nack pli
a=rtcp-fb:* ccm fir
a=rtcp-fb:* ccm tmmbr
a=vnd.polycom.forceVideoMode:9
a=rtpmap:109 H264/90000
a=fmtp:109 profile-level-id=42801f; max-br=20010; sar=13
a=rtpmap:110 H264/90000
a=fmtp:110 profile-level-id=42801f; packetization-mode=1; max-br=20010; sar=13
a=rtpmap:96 H263-1998/90000
a=fmtp:96 CIF4=1;CIF=1;QCIF=1;SQCIF=1;CUSTOM=352,240,1;CUSTOM=704,480,1;CUSTOM=1024,768,1;CUSTOM=800,600,1;CUSTOM=640,480,1;T
a=rtpmap:34 H263/90000
a=fmtp:34 CIF4=1;CIF=1;QCIF=1;SQCIF=1
a=rtpmap:31 H261/90000
a=fmtp:31 CIF=1;QCIF=1
a=rtpmap:106 H264-SVC/90000
a=fmtp:106 profile-level-id=56001f; packetization-mode=1; max-br=20010; sar=13
a=rtpmap:105 H264-SVC/90000
a=fmtp:105 profile-level-id=53e01f; packetization-mode=1; max-br=20010; sar=13
a=rtpmap:116 vnd.polycom.lpr/9000
a=fmtp:116 V=1;minPP=0;PP=150;RS=52;RP=10;PS=1400

13. m=application 3238 UDP/BFCP *

1 同8

a=setup:actpass
a=connection:new
a=floorctrl:c-s
14. m=application 3236 RTP/AVP 100

1 同8

a=rtpmap:100 H224/4800

轉載于:https://www.cnblogs.com/yoyotl/p/5649648.html

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/542981.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/542981.shtml
英文地址,請注明出處:http://en.pswp.cn/news/542981.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

sinh_帶有Python示例的math.sinh()方法

sinhPython math.sinh()方法 (Python math.sinh() method) math.sinh() method is a library method of math module, it is used to get the hyperbolic sine of given number in radians, it accepts a number and returns hyperbolic sine. math.sinh()方法是數學模塊的庫方…

android serviceconnection unbind流程,Android unbindService 流程分析

基于Android 6.0的源碼剖析&#xff0c; 分析bind service的啟動流程。/frameworks/base/core/java/android/app/ContextImpl.java/frameworks/base/core/java/android/app/LoadedApk.java/frameworks/base/core/java/android/app/IServiceConnection.aidl(自動生成Binder兩端)…

【JUnit 報錯】 method initializationerror not found:JUnit4單元測試報錯問題

今天是用JUnit測試一段代碼&#xff0c;報錯method initializationerror not found:&#xff1a;出現如下問題&#xff1a; 雙擊這個就顯示出現如下的錯誤&#xff1a; 查詢網上&#xff0c;說是junit版本的問題&#xff1a; 那我就不使用JUnit這個Libernary了&#xff0c;下載…

flash 不顯示 旋轉 補間動畫_【圖片】Flash入門5:詳解制作補間動畫(非傳統補間)【flash軟件吧】_百度貼吧...

該樓層疑似違規已被系統折疊 隱藏此樓查看此樓●●關于補間動畫●●●1、準備事項注意&#xff1a;像 Flash 中的大多數內容一樣&#xff0c;動畫不需要任何 ActionScript。然而&#xff0c;如果您愿意&#xff0c;您可以使用 ActionScript 創建動畫。在創建補間之前&#xff0…

math.ceil帶小數點_Python中帶有示例的math.ceil()方法

math.ceil帶小數點Python math.ceil()方法 (Python math.ceil() method) math.ceil() method is a library method of math module, it is used to get the ceil value of a given number, it accepts a number/numeric expression and returns the smallest integral value wh…

將byte數組以html形式輸出到頁面,java 數組顯示到html

java 數組顯示到html[2021-02-05 01:08:54] 簡介:php去除nbsp的方法&#xff1a;首先創建一個PHP代碼示例文件&#xff1b;然后通過“preg_replace("/(\s|\&nbsp\;| |\xc2\xa0)/", " ", strip_tags($val));”方法去除所有nbsp即可。推薦&#xff1a;…

JDK各版本新增的主要特性

JDK1.5新特性&#xff1a; 1.自動裝箱與拆箱&#xff1a; 2.枚舉 3.靜態導入&#xff0c;如&#xff1a;import staticjava.lang.System.out 4.可變參數&#xff08;Varargs&#xff09; 5.內省&#xff08;Introspector&#xff09;&#xff0c;主要用于操作JavaBean中的屬性&…

oracle 導入sql文件 漢字亂碼_將現有的sql腳本導入 Oracle 數據庫,中文亂碼問題...

將現有的sql 腳本導入 Oracle數據庫比如 在windows 系統下&#xff0c;可以寫一個 bat 來實現直接導入如&#xff1a;bat 中的內容如下&#xff0c;logs.log 將會記錄執行日志sqlplus user/passworddbname create.sql > logs.logcreate.sql 中的內容可以是需要執行的sql 語句…

html圖片多邊形怎么寫,使用CSS3構建的圖像多邊形裁剪動畫特效

CSS語言&#xff1a;CSSSCSS確定html {background: #333;}.polygon {-webkit-clip-path: polygon(50% 0%, 79.38926% 9.54915%, 97.55283% 34.54915%, 97.55283% 65.45085%, 79.38926% 90.45085%, 50% 100%, 20.61074% 90.45085%, 2.44717% 65.45085%, 2.44717% 34.54915%, 20.…

python函數示例_帶Python示例的complex()函數

python函數示例Python complex()函數 (Python complex() function) complex() function is a library function in Python, it is used to get the complex number from given a real number or/and an imaginary number (which is an optional part), it accepts either a rea…

windows 下 git 禁用 CRLF 轉換 LF

2019獨角獸企業重金招聘Python工程師標準>>> windows中的換行符為 CRLF&#xff0c; 而在linux下的換行符為LF&#xff0c;所以在執行add . 時出現提示&#xff0c;解決辦法&#xff1a; 刪除根目錄 .git 文件夾禁用自動轉換 > git config --global core.autocrl…

cmd執行sql文件路徑 oracle_oracle 基礎 執行sql文件

Oracle執行外部文件&#xff1a;sql>new.sql執行多個sql文件:1.把所有的文件都放在同一個目錄下&#xff0c;然后在命令行里執行命令&#xff1a;c:>dir/b > d:/1.sql會把所有的sql文件名都輸出到一個sql文件中。2.用UltraEdit打開生成的sql文件&#xff0c;altC切換到…

獲取天氣html,使用htmlparser獲取sohu的天氣預報

首先&#xff0c;我們新建一個類&#xff0c;存放天氣信息/** Created on 2005-3-8** To change the template for this generated file go to* Window>Preferences>Java>Code Generation>Code and Comments*/packageorg.exoplatform.portlets.chinaweather.compon…

使用gulp構建前端(三)

為什么80%的碼農都做不了架構師&#xff1f;>>> 使用gulp構建前端&#xff08;三&#xff09; 緊接著上述文章內容&#xff0c;開始新的插件的使用 插件三 gulp-clean-css&#xff0c;作用減小文件大小&#xff0c;并給引用url添加版本號避免緩存&#xff0c;一個需…

c++中atan2函數_atan2()函數以及C ++中的示例

c中atan2函數C atan2()函數 (C atan2() function) atan2() function is a library function of cmath header, it is used to find the principal value of the arc tangent of y/x, where y is the proportion of the y-coordinate and x is the proportion of the x-coordin…

python不合法的布爾表達式_python測試題

一、填空題 1.Python使用符號標示注釋;以劃分語句塊。 2、Python序列類型包括 、、三種; 是Python中唯一的映射類型。 3、Python中的可變數據類型有,不可變數據類 型有。 4、Python的數字類型分為、、等子類型。 5、設s=‘abcdefg’,則s[3]值是 ,s[3:5]值是 , s[:5]值是…

網站html標簽如何優化,網站HTML標簽優化教程

真正需要SEOer掌握并經常使用的HTML標簽也就那么幾個&#xff0c;本小節丈哥seo帶來的是頁面HTML標簽優化。title標簽 – 標題標簽1)title標簽用法網站SEOHTML標簽優化教程 – 丈哥seo2)標題標簽的作用關于網站標題寫法與操作技巧有許多&#xff0c;需要怎么優化標題的朋友可以…

hypot函數_hypot()函數與C ++中的示例

hypot函數C hypot()函數 (C hypot() function) hypot() function is a library function of cmath header, it is used to find the hypotenuse of the given numbers, it accepts two numbers and returns the calculated result of hypotenuse i.e. sqrt(x*x y*y). hypot()…

docker 磁盤問題:device or resource busy

問題&#xff1a;[roothdp-gp-dk02 ~]# docker start 01ea65845e45Error response from daemon: Cannot start container 01ea65845e45: Error getting container 01ea65845e4547be24bc3db0bc3b424faf52b8a0534eb525aa829dd9fd6081c2 from driver devicemapper: Error mounting…

axure form列表_常見的列表頁如何用Axure畫出來

列表頁是PM畫原型的時候最容易碰到的頁面類型&#xff0c;那么如何快速畫出并且展現交互呢&#xff1f;我們從具體的例子開始講解其中的技巧&#xff0c;和各種不同的演變場景。希望初級PM可以通過這篇文章改進下自己的畫法。列表頁基本是由頁面框架&#xff0c;上導航&#xf…