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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值