Skip to content

james4388/video-streaming-sample-app

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ricoh Video Streaming Sample

Video streaming API sample app.

Requirements

  • Google Chrome 49 or newer.
  • Web Camera accessible from your browser.
  • Enable Web Camera access in your browser setting.

You'll also need

  • Ricoh API Client Credentials (client_id & client_secret)
  • Ricoh ID (user_id & password)

If you don't have them, please register them at THETA Developers Website.

Setup

$ git clone https://github.com/ricohapi/video-streaming-sample-app.git
$ cd video-streaming-sample-app
$ cp samples/config_template.js samples/config.js

and put your credentials into the config.js.

Build

$ npm install
$ gulp build

Video Streaming

Connect the Web Camera and execute gulp run, then the browser will be opened.
Select the Web Camera, put your Ricoh ID & password, and submit the login button.
Let the peer user login on his own device following the instruction above, then put the peer's User ID to the Peer-ID field and submit Connect button, then streaming connection will start between you and the peer.

$ gulp run

THETA View

If the peer user is using THETA, push THETA View button, then you'll see the draggable & zoomable 360° view.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%