Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thyrlian/videohub
Play your videos everywhere (on mobile, Chromecast or whatever)
https://github.com/thyrlian/videohub
Last synced: about 1 month ago
JSON representation
Play your videos everywhere (on mobile, Chromecast or whatever)
- Host: GitHub
- URL: https://github.com/thyrlian/videohub
- Owner: thyrlian
- License: mit
- Created: 2013-10-04T03:40:56.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-13T09:37:04.000Z (over 8 years ago)
- Last Synced: 2024-05-01T21:29:56.389Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 495 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VideoHub
##Introduction
The idea of this project is just to:
* set up a simple online video system
* allow all of your home devices to access your private video resources
* cast your video content to [Chromecast](https://www.google.com/chromecast)##Config
It's working out of the box (zero config with the default WEBrick server).But sometimes the video file could be very large, for instance I have a MP4 file which is over 1GB, and WEBrick (1.3.1) could not handle it properly.
```Shell
ERROR Errno::EPROTOTYPE: Protocol wrong type for socket
/ruby/2.0.0/webrick/httpresponse.rb:458:in `write'
/ruby/2.0.0/webrick/httpresponse.rb:458:in `<<'
/ruby/2.0.0/webrick/httpresponse.rb:458:in `_write_data'
/ruby/2.0.0/webrick/httpresponse.rb:451:in `_send_file'
/ruby/2.0.0/webrick/httpresponse.rb:406:in `send_body_io'
/ruby/2.0.0/webrick/httpresponse.rb:303:in `send_body'
/ruby/2.0.0/webrick/httpresponse.rb:207:in `send_response'
```Thus it's recommended to use high performance server, e.g.: [Nginx + Unicorn](http://recipes.sinatrarb.com/p/deployment/nginx_proxied_to_unicorn).
##License
Copyright (c) 2016 Jing Li. See the LICENSE file for license rights and limitations (MIT).