关于谷歌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媒体服务器

KurentoWebRTC媒体服务器和一组客户端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技术实践)