Moment Video Server
Quick Start

To install and run Moment VS, follow this quick start guide. For more detailed information, refer to the documentation.

1. Installation

Download Moment VS installation package.

Unpack the archive into /opt directory with the following command:

tar -C /opt -xzf moment_14-04-29_linux32.tar.gz

/opt/moment directory will be created as the result. This directory contains server's files.

2. Configuration

Edit configuration file /opt/moment/moment.conf to set the list of video streams which will be served. Config example:

mod_gst {
    sources {
        "news"   = "http://10.0.0.1:8080"
        "nature" = "mms://10.0.0.2"
    }
}

Fill in the playlist for MyPlayer web app by editing /opt/moment/myplayer/playlist.json
For each entry in the playlist, three parameters are given: channel name, server address, and internal video stream name. Example:

[
  [ "News",       "rtmp://10.0.1.3:1935", "news" ],
  [ "Wild Nature", "rtmp://10.0.1.3:1935", "nature" ],
]

3. Running

Run the videoserver with the following command:

/opt/moment/bin/moment

You can make the server start automatically on system startup using mechanisms specific to your Linux distribution.

Setup is complete! You can now watch video from Moment's web page: http://localhost:8080/moment/


Подробную информацию о настройке видеосервера можно найти в руководстве пользователя.