WebRTC 升級接口方法調整(Windows)

WebRTC 調整 
1、VideoFrameBuffer 改成 I420BufferInterface,使用 ToI420 轉換 
2、MediaFile 沒有了,相關代碼被註釋,都是測試功能 
3、AudioDeviceModuleImpl::Create 接口調整 
4、LOG_F 沒有了, RTC_LOG_F 代替 
5、CreatePeerConnection 接口變化(已經調整) 
6、CreateOffer 接口變化(已經調整) 
7、CreateAnswer 接口變化(已經調整) 
8、CreatePeerConnectionFactory 接口變化(已經調整) 
9、CreateAudioSource 接口調整 
10、自行添加的 VideoScreenCaptureModule(已經解決)

其他調整: 
1、JsonCpp,Value removeIndex 沒有了(未解決)

運行時問題: 

1、vp8 encoder crash(Debug版本沒有問題) 
類似報告: 
https://groups.google.com/forum/#!topic/discuss-webrtc/nriHmLyD4EE 
2、不能接受遠程媒體流(接口調整不到位) 
3、桌面截屏不能工作 
  a、修改 WebrtcVideoCapturer,SetSupportedFormats 
  b、PlatformThread行爲變化,需要調整VideoScreenCaptureModule 
  c、VideoScreenCaptureModule 的 CaptureProcess 沒有循環,只截取的一幀

Debug 模式編譯問題: 
1、protoc 運行錯誤,initgeneratedpool 兩次執行(暫時用 release 版本的 protoc 繞過),參考: 
https://github.com/protocolbuffers/protobuf/pull/4878/commits/a9abc7831e45257d334cfa682746b6cadf9e95d9 
2、_ITERATOR_DEBUG_LEVEL 不匹配,與 boost 庫,參考: 
https://blog.csdn.net/p13503959390/article/details/73799917

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章