Sha256: 157ea75dd42f9477ad898e19df4cdd0325aeda35cbd699dbcbb303a44200ef2f
Contents?: true
Size: 1.21 KB
Versions: 4
Compression:
Stored size: 1.21 KB
Contents
# Evostream [![Build Status](https://travis-ci.org/globocom/evostream.png?branch=master)](https://travis-ci.org/globocom/evostream) Ruby wrapper for the Evostream API ## Installation Add this line to your application's Gemfile: gem 'evostream' And then execute: $ bundle Or install it yourself as: $ gem install evostream ## Usage ```ruby client = Evostream::Client.new host: 'evostream.example.com', port: 80, path_prefix: '/evo' client.liststreams # With parameters client.pullstream uri: "rtmp://localhost/live/my_stream", localstreamname: "master", keepalive: 1 ``` You may use the block style configuration. The following code could be placed into a +config/initializers/evostream.rb+ when used in a Rails project. ```ruby # config/initializers/evostream.rb (for instance) Evostream.configure do |config| config.host = 'evostream.example.com' config.port = 80 config.path_prefix = '/evo' end # elsewhere client = Evostream::Client.new client.liststreams ``` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
evostream-0.0.7 | README.md |
evostream-0.0.6 | README.md |
evostream-0.0.5 | README.md |
evostream-0.0.4 | README.md |