- PeerConnectionFactoryInterface 规范了PeerConnection 的创建者 PeerConnectionFactory 的行为。
- 核心,提供一个创建PC的接口。
- 继承者去实现流、source、track的创建。
请问:如何创建PC?
- 提供配置和依赖就可以了。
- PC 依赖在这:
- PeerConnectionDependencies:所有PC的外部依赖的大管家
- 实现
rtc::scoped_refptr<PeerConnectionInterface>
rtc::scoped_refptr<PeerConnectionInterface>