Sha256: 1efcce67249dd2e4250e41bff606f07912251eb8382335671a69a65e6286fb0e

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

# Rairtame

Rairtame is a library and CLI utility to interact with the `airtame-streamer` JSON-RPC API.

It allows to easily control the `airtame-streamer` daemon, which is in charge of capturing and streaming video to an [AIRTAME dongle](http://airtame.com).

**Make sure the `airtame-streamer` is running when using `rairtame`**.

## Installation

Rairtame is distributed as a Ruby gem. It can be installed by running:

    $ gem install rairtame

## CLI Usage

The Rairtame Command-Line interface is accessed through the

    $ rairtame command [arguments]

command.

Remember to run `rairtame init` to init the streamer before connecting anywhere.

You can see all the options running `rairtame -h`.

## Ruby library usage

You can also easily integrate your own code against this library. For example:

```ruby
require 'rairtame'
client = Rairtame::Client.new()
client.init_streamer()
client.connect("myairtame")
client.quality = 5
client.buffer = 5000
client.disconnect()
client.close_streamer()
```

## Limitations

Rairtame does not yet implement the SSDP protocol (which allows autodiscovery of the streamer) nor performs any registration with the `airtame-streamer` (for example to receive notifications).

Particularly, I don't see many uses for these features at this point, and the official [Airtame CLI](https://github.com/airtame/airtame-cli) supports them.

## Contributing

Please do!

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rairtame-1.0.0 README.md