分类: C/C++
2016-05-13 16:57:21
1、安装好ubuntu14.04的桌面版,这里我是64位。
2、安装好jdk1.7 这里我是64位。
3、配置ubuntu开发环境:
centos 环境:
yum install gcc gcc-c++ gcc-g77 flex bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel libpng-devel libtiff-devel freetype-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel
This step installs the dependencies of all the Licode components. This is the only step that depends on your OS
./scripts/installUbuntuDeps.sh
./scripts/installMacDeps.sh
Here we will install all the Licode components in your computer.
./scripts/installNuve.sh ./scripts/installErizo.sh
The basicExample is a really simple node-based web application that relies on Licode to provide a videoconferencing room.
./scripts/installBasicExample.sh
At this points, you have successfully installed all the Licode components in your computer and also a simple application that will let you try it. Let's use the convenience script to start all Licode components:
./scripts/initLicode.sh
After that, we just have to start our node application, we also have a script for that:
./scripts/initBasicExample.sh
Now you can connect to with Chrome or Firefox and test your basic videoconference example!
Well you now have a taste of what Licode can do. You can start by modifying basicExample. You can find the code in licode/extras/basic_example: * basicServer.js is the node.js server that manages the communication between the clients and Nuve. Here you can add your own methods using the server side API (NuveAPI)
Head to Licode Architecture for more information about different Licode components, or start developing your custom service getting into the client or server APIs.
6、在浏览器地址:localhost:3001,允许访问麦克风和摄像头就行了。
lynckia.com/licode/install.html