【webrtc】PeerConnectionObserver: PeerConnection 事件 callback interface
作者:互联网
- PC 是针对app的 api 类,app 需要调用PC
- app 需要实现来对 PC的事件进行监控
app 应该实现 PeerConnectionObserver
// PeerConnection callback interface, used for RTCPeerConnection events.
// Application should implement these methods.
PeerConnectionObserver
- D:\cdn-dev\gerrit\livecloud\src\third_party\webrtc\api\peer_connection_interface.h
pc的状态监控放在PeerConnectionObserver
- 处理signal 触发的stream 、track 管理 放在了PeerConnectionObserver
标签:PC,app,PeerConnectionObserver,callback,PeerConnection,api,interface 来源: https://blog.csdn.net/commshare/article/details/121009924