Coder Social home page Coder Social logo

apprtclocal's Introduction

@author: Carlos Morell Roldan

#AppRTC

AppRTC is a demo of WebRTC. This repo help to developers to develop AppRTC server running locally (ubuntu trusty64).

In order to run AppRTC locally user requires:

##Instructions

vagant up --provision

In this case, VM use public network configuration. For that reason, vagrant ask us which interfaces should the network bridge to:

==> default: Available bridged network interfaces:
1) en0: Wi-Fi (AirPort)
2) en1: Thunderbolt 1
3) en2: Thunderbolt 2
4) p2p0
5) awdl0
6) bridge0
==> default: When choosing an interface, it is usually the one that is
==> default: being used to connect to the internet.
    default: Which interface should the network bridge to? 

Now, enjoy:

vagrant ssh

Inside VM

$GOPATH/bin/collidermain -port=8089 -tls=true
$HOME/google_appengine/dev_appserver.py $HOME/apprtc/out/app_engine --host 0.0.0.0

##Config locally

In order to generate out folder user needs to execute the following commands inside apprtc folder

npm install
grunt build

The first one is to install dependencies and the second one is to generate out source, the ones that will be execute.

If developer will not change any configuration inside apprtc code, Server use Google Collider and Turn instances. To change it, user needs to change constants.py file.

Also need to create certificate in order to set in collider. Developer need to change the path to this certificate in collider.go file.

WebRTC only works under https. To do this user needs to install tunneling and redirect localhost traffic using this tunnel

#TODO

  • How to install&config coturn
  • How to install&config tunneling

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.