Skip to content

cine-io/cineio-peer-html-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An example application in html using cine-io peer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published