ipcam

Sample application for “V4L2 for Ruby”.

Installation

Add this line to your application's Gemfile:

gem 'ipcam'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ipcam

Usage

Connect a camera device compatible with V4L2 and start ipcam as follows.

ipcam [options] [device-file]
options:
        --use-ssl
        --ssl-cert=CRT-FILE
        --ssl-key=KEY-FILE
    -D, --digest-auth=YAML-FILE
    -A, --add-user
        --bind=ADDR
        --port=PORT
    -d, --database-file=FILE
    -e, --extend-header
        --log-file=FILE
        --log-age=AGE
        --log-size=SIZE
        --log-level=LEVEL
        --develop-mode

Then connect to port 4567 by http browser and operate. The accessible URLs are as follows.