Sdp Plan A Plan B UnifiedPlan

個人分類: 音視頻

版權聲明:本文爲博主原創文章,未經博主允許不得轉載。 https://blog.csdn.net/gyj072001/article/details/80406106

Unified Plan and Plan B were two competing IETF drafts for the negotiation and exchange of multiple media sources (AKA MediaStreamTracks, or MSTs) between two WebRTC endpoints. 
Unified Plan 和 Plan B 和 Plan A是SDP協商中,多路媒體流的協商方式。
  • 1
  • 2

Plan A

一個PeerConnection一路媒體流。
  • 1

這裏寫圖片描述

這裏寫圖片描述

Plan B

一個PeerConnection 對應 多路媒體流。
Plan B is an [IETF draft proposal](https://tools.ietf.org/html/draft-uberti-rtcweb-plan-00) for signaling multiple media sources in SDP.

Signaling multiple media sources is needed to be able to send a video along with screen sharing, multiple camera sources or routing multiple streams from an SFU to the users.

In Plan B, an m= line is an “envelope” that includes multiple media sources per one defined transport.

The mechanism chosen for the official WebRTC specification isn’t Plan B but rather Unified Plan.

Chrome 支持PlanB. Google 計劃用Unified Plan替代Plan B.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10

這裏寫圖片描述

Unified Plan

一個PeerConnection 對應 多路媒體流。
Unified Plan is an IETF draft proposal(https://tools.ietf.org/html/draft-roach-mmusic-unified-plan-00) for signaling multiple media sources in SDP.

In Unified Plan, there is an m= line per each media source.

FireFox 已經支持 Unified Plan. Chrome期望未來支持.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

這裏寫圖片描述

這裏寫圖片描述

* 客戶端single peer 減少開發難度
* 減少端口占用,加強系統安全
* 多鏡頭場景變得簡單


以上圖片資料來源於webrtcon大會ppt。
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章