一. 引用libwebrtc.a编译程序报错 如下
undefined reference to `typeinfo for rtc::LogSink'
undefined reference to `typeinfo for webrtc::VideoTrackSource
这是因为编译webrtc时没有加use_rtti=true 参数导致的,解决办法有两种
* 1. 可以时重新编译webrtc加上这个参数
* 2. 就是给当前程序加上no-rtti参数,我在cmake里边加的如下
add_definitions(-DWEBRTC_POSIX -fno-rtti)