Kurento安装与入门04——WebRTC magic mirror

WebRTC magic mirror

本示例扩展于Hello World Tutorial,在基础的WebRTC 回放中添加了媒体处理。html

官方文档WebRTC magic mirrorjava

首先从github上获取代码(若是已经获取能够跳过,获取的代码已经包括后面的示例代码了)git

git clone https://github.com/Kurento/kurento-tutorial-java.git

进入目录,编译执行github

cd kurento-tutorial-java/kurento-magic-mirror
git checkout 6.6.0
mvn clean compile exec:java

而后在浏览器中打开 https://localhost:8443/,若是是虚拟机安装的话能够在物理机中打开https://虚拟机IP地址:8443/ 。浏览器要求支持WebRTC 功能,Chrome, Firefox都是支持的。浏览器

成功运行应该看到这样的画面:app

clipboard.png

另外滤镜显示的卡通图像是容许自定义的,默认的地址是url

https://localhost:8443/img/mario-wings.png

若是须要本身指定,在运行程序的时候加上参数app.server.url ,如spa

mvn compile exec:java -Dapp.server.url=https://app_server_host:app_server_port
相关文章
相关标签/搜索