Skip to content

VR Live streaming using Theta S and Google Cardboard

License

Notifications You must be signed in to change notification settings

PymZoR/ThetaLiveVR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Theta live VR

dependencies Status Build Status

Javascript package helping you create VR-friendly (Cardboard compatible !) 360° livestream for the Ricoh Theta S.

Example

Usage

Including

Clone the project, and import the module in your app. ThetaLiveVR use UMD, so you can use which method suits the better for your project.

Creating a ThetaLiveVR instance

You'll need a container which will render the view, a canvas to act as a texture and an URI to your motion-jpeg stream. How easy.

let container = document.getElementById('container');
let canvas    = document.getElementById('canvas');
let streamURI = 'http://localhost:8080/stream.jpg';

let liveVR    = new ThetaLiveVR(container, canvas, streamURI);
liveVR.init();

Full working example here.
Note: this example uses a proxy server to avoid CORS problems

Contributing

As this project has been made for a school project, it may not suit your needs. If you have any suggestion, please submit an issue or pull request.

Resources

Useful links that helped me to build this project. Thanks to them !

About

VR Live streaming using Theta S and Google Cardboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published