pimpin / ip-demo-js

IP Messaging API Demo Application for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twilio-ip-messaging-js

Running the demo

Set credentials
  1. Copy credentials.example.json to credentials.json
  2. Plug your credentials into credentials.json
Install dependencies
$ npm install
Run server
$ npm start
Connect

Connect via http://localhost:8080

Using another version

This demo defaults to using the latest build of the JS IP Messaging SDK. To change to a different version, just open public/index.html and change the following string to point to the URL of the version you'd like to use:

<script src="https://media.twiliocdn.com/sdk/rtc/js/latest/twilio-rtc-ip-messaging.js"></script>

About

IP Messaging API Demo Application for JavaScript


Languages

Language:JavaScript 98.1%Language:CSS 1.3%Language:HTML 0.5%