This is an example application in just html showing the capabilities of cine.io peer. In this example you can video, audio, and text chat with users in a room. It uses the cine.io Peer JS SDK.
- Clone to your local machine:
git clone [email protected]:cine-io/cineio-peer-html-example-app.git
cd cineio-peer-html-example-app
- Register for a public and secret key at cine.io
- Update
PUBLIC_KEY
in index.html - Run via a webserver
-
Ruby:
bundle install && ruby index.rb
-
Node:
npm install && node index.js
-
- The app automatically connects to cine.io, starts the camera, and puts you in a room called
example
.
This example intentionally does not support calling. Identifying a user requires a webserver that holds a secret key and can generate sha1 hash. This can be done by the ruby, node, or python library for you.