/yarr

Yet another RTMP repeater

Primary LanguageRubyGNU General Public License v3.0GPL-3.0

Yet Another RTMP Relayer

PeerCast Gateway で使うために作ったサーバープログラムで、その機能は RTMP をサポートするメディアサーバーから、ffmpeg を使用して他のメディア サーバーにライブ ストリームを転送することです。APIは JSON-RPC によって 呼び出されます。

起動方法

$ bundle install --path vendor/bundle
$ bundle exec rack --host localhost --port 8100 config.ru

API

  • start(src, dst) → pid
  • kill(pid) → true|false
  • stats → [{}]