关于谷歌webrtc源码国内镜像的使用问题,以及Kurento媒体服务器
關于谷歌webrtc源碼國內鏡像的使用問題,以及Kurento媒體服務器
我周末搞了兩天沒搞出來碼在國內有個鏡像:https://source.codeaurora.org/quic/lc
但是國內這個鏡像是谷歌官網倉庫的拷貝,因此里面的依賴路徑都是谷歌網址的,比如chromium.googlesource.com這個地址,還有branch名稱官網是master,而國內鏡像branch名稱是chromium.org/master,所以不能直接編譯成功,需要改配置,但是這個改配置挺麻煩的,我周末搞了兩天沒搞出來
使用方法:
git clone https://source.codeaurora.org/quic/lc/chromium/tools/depot_tools
git clone https://source.codeaurora.org/quic/lc/external/webrtc
git clone https://source.codeaurora.org/quic/lc/。。。
上面的方法可以下載到全部的webrtc代碼和依賴,但是要生成工程文件以及編譯成功,還有好多工作要研究,等我研究出來會分享出來,如果有人研究出使用國內鏡像編譯成功的方法,希望也分享給我和大家,謝謝哈!
另附Android/IOS編譯腳本,不過你必須先把webrtc代碼和依賴都下下來才能用:https://github.com/pristineio/webrtc-build-scripts
順便介紹下:Kurento媒體服務器
Kurento是WebRTC媒體服務器和一組客戶端API使得對WWW和智能手機平臺高級視頻應用開發簡單的。 Kurento功能包括群組通信,轉碼,錄音,混音,廣播和音像流的路由。
Tutorial 1 - Hello world:第一個Kurento程序
This is one of the simplest WebRTC application you can create with Kurento. It implements a WebRTC loopback (a WebRTC media stream going from client to Kurento and back to the client)
- Java
- Browser JavaScript
- Node.js
Tutorial 2 - WebRTC magic mirror:照妖鏡,其實是一個計算機視覺和使用過濾器的增強現實的例子。
This web application consists on a WebRTC video communication in mirror adding a funny hat over your face. This is an example of computer vision and augmented reality using a filter.
- Java
- Browser JavaScript
- Node.js
Tutorial 3 - WebRTC one-to-many broadcast:1對多廣播
Video broadcasting for WebRTC. One peer transmits a video stream and N peers receives it.
- Java
- Node.js
Tutorial 4 - WebRTC one-to-one video call:1對1視頻
This web application is a videophone (call one to one) based on WebRTC.
- Java
- Node.js
Tutorial 5 - WebRTC one-to-one video call with recording and filtering:1對1視頻以及錄制和過濾
This is an enhanced version of the previous application recording of the video communication, and also integration with an augmented reality filter.
- Java
總結
以上是生活随笔為你收集整理的关于谷歌webrtc源码国内镜像的使用问题,以及Kurento媒体服务器的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: jib构建镜像(使用阿里云容器镜像服务拉
- 下一篇: 驱动原理和逻辑说明