webrtc开启默认h264编解码的方法。

加入编译的路径:

export PATH="$PATH:/root/webrtc_all/depot_tools" 
在./build/config/chrome_build.gni中

    is_chrome_branded改为true,编译支持rtc_use_h264

ninja -C out/Debug

就可以了

猜你喜欢

转载自blog.csdn.net/dong_beijing/article/details/80654511