Git Product home page Git Product logo

vrhelper's Introduction

VR Helper for Samsung Gear VR

You don't have to buy a brewery to drink bear

...my father used to say, and although he didn't mean serving video streams, but something completely different (if you know what I mean...), I do believe that you shouldn't be required to install Apache, MySQL and PHP (whatever it is...) to just serve some files.

So in this repository you can find a simple self-contained, stand-alone HTTP server that has just one purpose: serving video streams for Samsung Gear VR.

What can it do?

  • quickly and easily browse your movie collection

  • launch movie by taping its name in Android browser (via milkvr://sideload url scheme)

  • download *.mvrl file to your device (to be visible in Gear VR, you have to move it to proper directory yourself, though) by taping description under file title

  • guess video and audio type by hints present in video name

  • use images with name similar to video file as thumbnail

Configuration

VR Helper looks for config file (and all other optional files, by that matter) in current directory.

config.txt

There are just three parameters:

server = storage.lan # (IP or resolvable name)
port = some_port # (80 by default)
dirs = /path1/videos ; /path2/othervideos (server root directories, browsing outside of them is forbidden)

Note 1: hash comments are not actually supported

Note 2: this is not a secure server, it should be run only in your own, private network. It doesn't require authentication, you can only limit its browsing capabilities to directories specified by dirs keyword.

folder.png

folder.png - an icon for folder

video.png

video.png - default video icon

favicon.ico

favicon.ico - probably an icon for bookmarks, some browsers keep requesting it

mainstyles.css

mainstyles.css - if present will override internal css

Running the server

Just build it and start with

java -jar built_file.jar

Current limitations

It seems that due to some bug (or on purpose) milkvr://sideload has no effect when browsed via Samsung Internet VR app. This sucks. Hope they will fix it soon!

vrhelper's People

Contributors

ssuukk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.