Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.68 KB

Readme.md

File metadata and controls

39 lines (31 loc) · 1.68 KB

Cine.io peer html example

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.

How to run Locally

  1. Clone to your local machine:
git clone git@github.com: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.