Sdp Plan A Plan B UnifiedPlan

webrtc中多流的实现越来越简单,也越来越规范高效化,从planB-->到unifiedPlan,不过做的早的一些视频会议还是基于plan A做的,也是老版本的webrtc版本,planB兼容planA,不过后边的趋势一定是unifiedplan,这边刚好看到对这三个SDP多流标准的说明的博文,就记录下,转载过来了,感谢原博主。本文转自https://blog.csdn.net/gyj072001/article/details/80406106

exchange of multiple media sources (AKA MediaStreamTracks, or MSTs) between two WebRTC endpoints. 
Unified Plan 和 Plan B 和 Plan A是SDP协商中,多路媒体流的协商方式。


Plan A

一个PeerConnection一路媒体流。

è¿éåå¾çæè¿°
 

这里写图片描述

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.

这里写图片描述

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期望未来支持.

这里写图片描述

这里写图片描述
* 客户端single peer 减少开发难度
* 减少端口占用,加强系统安全
* 多镜头场景变得简单


以上图片资料来源于webrtcon大会ppt。
 

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值