Skip to content

cine-io/cineio-broadcast-sinatra-example-app

Repository files navigation

cine.io Broadcast Example Application in Sinatra

This is an example application in Ruby and Sinatra showing the capabilities of cine.io broadcast. It uses the cine.io Broadcast JS SDK and the cine.io Ruby SDK. This sample app can create streams, publish to them, and play them back.

Try it on Heroku

Click the button below to magically deploy up this example to your Heroku account. A cine.io plan will automatically be included for free.

Deploy

Run Locally

  1. Sign up for your own API key at cine.io.

  2. Set up your environment:

    $ export CINE_IO_PUBLIC_KEY='<your cine.io project public key>'
    $ export CINE_IO_SECRET_KEY='<your cine.io project secret key>'
    
  3. Bundle your gems:

    $ bundle install
    
  4. Run the server:

    $ ruby server.rb
    

About

Example broadcast application using the Ruby SDK and Sinatra.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published