Build Webrtc/licode Server on Mac/ubuntu

Source: Internet
Author: User
Tags gtk

1. The following code

git clone https://github.com/ging/licode.gitcd Licode

2. Installation dependencies

2.1 Configuring the Ubuntu Development environment:

2.1.1 Installing the C + + development environment

  1 . sudo apt-get  Install build-essential //  Install the main compilation tool GCC, g++, make  Span style= "COLOR: #800080" >2 . sudo apt-get  install autoconf automake1. 9  3 . sudo apt-get   install Flex Bison  4 . sudo apt-get  install Manpages-dev //  Installs the C language function man document  5 . sudo apt-get  install Binutils-doc cpp-doc gcc-doc glibc-doc stl-manual //  Installation related documents  

2.1.2 Installing the GNOME Desktop development environment

    1. sudo apt-GetInstall Gnome-core-devel//Install core Files    2. sudo apt-GetInstall pkg-Config3. sudo apt-GetInstall Devhelp//Installing the GTK Docs Viewer program    4. sudo apt-GetInstall LIBGLIB2.0-doc libgtk2.0-doc//Install API Reference manuals and other help documents    5. sudo apt-GetInstal Glade Libglade2-dev//Installing the GTK Interface Construction program

2.2 CentOS Environment

Yum install gcc gcc-c++ gcc-g77 Flex Bison autoconf automake bzip2-devel zlib-devel ncurses-devel libjpeg-devel Libpng-dev El libtiff-devel freetype-devel pam-devel openssl-devel libxml2-devel gettext-devel pcre-devel

3. Installation dependencies

3.1 mac

./scripts/installmacdeps.sh

3.2 Ubuntu

./licode/scripts/installubuntudeps.sh

4. Installing Licode

./scripts/installerizo.sh. /scripts/installnuve.sh

5. Mounting Base Example

./scripts/installbasicexample.sh

6. Run Licode and examples, run at two terminals, or run in the background

./licode/scripts/initlicode.sh. /licode/scripts/initbasicexample.sh

7. In the browser input: localhost:3001, allow access to the microphone and camera on the line.

Install Licode when you execute the./scripts/installerizo.sh and./scripts/installnuve.sh scripts,

Be sure to add sudo before executing, because both scripts require administrator privileges.

Build Webrtc/licode Server on Mac/ubuntu

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.