- Windows
- RecTest
- ffmpeg
- x264
- fdk-aac
- PT3
- Ruby
- nginx
- BonDriverController
bundle install --path vendor/bundle
bundle exec rake db:migrate
SET CONSUMER_KEY=YOUR_TWITTER_CONSUMER_KEY
SET CONSUMER_SECRET=YOUR_TWITTER_CONSUMER_SECRET
SET ACCESS_TOKEN=YOUR_TWITTER_ACCESS_TOKEN
SET ACCESS_TOKEN_SECRET=YOUR_TWITTER_ACCESS_TOKEN_SECRET
bundle exec rackup
bundle exec ruby ffmpeg.rb
bundle exec ruby script/record_and_import_epg.rb
rtmp {
server {
listen 1935;
application hls {
live on;
hls on;
hls_path html/hls;
hls_fragment 2s;
hls_type live;
hls_playlist_length 6;
hls_cleanup on;
}
}
}
server {
listen 80;
server_name localhost;
root html;
client_max_body_size 20m;
location /hls {
types {
application/vnd.apple.mpegurl m3u8;
}
add_header Cache-Control no-cache;
}
location / {
proxy_pass http://127.0.0.1:9292/;
}
}
Apache License v2.