前言 针对前端RTCPeerConnection事件消息,后台回调的接口对应类是PeerConnectionObserver 类说明 // PeerConnection callback interface, used for RTCPeerConnection events.// Application should implement these methods. 消息
前言
针对前端RTCPeerConnection事件消息,后台回调的接口对应类是PeerConnectionObserver
类说明
// PeerConnection callback interface, used for RTCPeerConnection events.
// Application should implement these methods.
消息传递
// Triggered when a remote peer opens a data channel.
virtual void OnDataChannel(
rtc::scoped_refptr<DataChannelInterface> data_channel) = 0;
尝试通过该类进行视频的暂停和恢复
WebRTC媒体协商之CreatePeerConnectionFactory、CreatePeerConnection、CreateOffer_chen_song_的博客-CSDN博客
https://chensongpoixs.github.io/2021/12/11/WebRTC%E4%B8%AD%E7%BA%BF%E7%A8%8B%E6%A8%A1%E5%9E%8B%E5%92%8C%E5%B8%B8%E8%A7%81%E7%BA%BF%E7%A8%8B%E6%A8%A1%E5%9E%8B%E4%BB%8B%E7%BB%8D/#/
WebRTC PeerConnection 建立连接过程介绍_connectionstate webrtc_aggresss的博客-CSDN博客
WebRTC Native 源码3:视频编码实现分析 | 码农家园 (codenong.com)
WebRTC 资料 - 掘金 (juejin.cn)