Purpose

This document provides instructions on how to install EvoStream Media Server (EMS) on Windows® operating systems.

The document also provide instructions for some basic features of the EMS such as starting EMS, pulling, playing source streams and shutting down EMS.

Getting EvoStream Media Server

  1. Download the EMS package installer at https://evostream.com/software-downloads

  2. Install EMS

    2.1. Extract the zip package

    2.2. Right-click on setup.exe then click Run as administrator

    qsgfw1.jpg

    2.3. Select the Setup Language, click OK

    qsgfw2.jpg

    2.4. Click Next to continue the installation

    qsgfw3.jpg

    2.5. Read the license agreement and select I accept the agreement, click Next

    qsgfw4.jpg

    2.6. Verify the installation path, click Next

    qsgfw5.jpg

    2.7. Tick Create a desktop icon, click Next

    qsgfw6.jpg

    2.8. Confirm installation, click Install

    qsgfw7.jpg

    2.9. Read the information, click Next

    qsgfw8.jpg

    2.10. Click Finish to finish the installation.

    qsgfw9.jpg

    Note: Uncheck Launch EMS if the license is not yet installed.

License Installation

Note: You should already have your license file available. If none, EvoStream offers a 30-day free trial license to those who want to explore the features of EMS. Click here to avail the free trial or contact salesupport@evostream for other license type purchase.

There are two options for installing the license file: manual or via Web UI.

A. Manual

Copy the License.lic file to ..\EvoStream\config.

B. Via Web UI

1. Run the EMS (direct launch after installation) or using the desktop shortcut.

qsgfw10.jpg

2. Open the EMS Web UI by pointing your browser to

http://localhost:8888/EMS_Web_UI/index.php

qsgfw11.jpg

3. Click INSTALL EMS LICENSE

4. Locate the license file, and enter the directory where license will be installed

5. Click Install License

qsgfw12.jpg

6. A message for successful installation will be displayed

7. Restart the EMS

qsgfw13.jpg

Tip: A successful EMS start will show GO! GO! GO! in console.

Connecting to Telnet

To use EMS, a telnet is needed for communication. User needs to enable the telnet client to be able to run the EMS API commands.

1. Open a command prompt, and run telnet

  • For ASCII telnet interface

    $ telnet localhost 1112
    
  • For ASCII CLI interface

    $ telnet localhost 1222
    

A telnet localhost will be opened after pressing Enter key.

2. For preliminary check, type:

version

The result for ASCII CLI is shown below:

qsgfw14.jpg

Basic EMS API

A. Adding a Stream

The pullStream command is the simplest command to get an external stream.

Sample command:

pullstream uri=rtmp://s2pchzxmtymn2k.cloudfront.net/cfx/st/mp4:sintel.mp4 localstreamname=test

B. Stream Playback

Pulled streams are automatically saved in EMS. To play the pulled stream, use a media player that supports the media format that was pulled.

EMS automatically converts the stream pulled in different protocols so no worries if you want to play the stream using an RTMP or RTSP protocol for example.

To play in media player:

1. Go to Open Network Stream

2. Enter the URL of the pulled stream

rtsp://127.0.0.1:5544/test
rtmp://127.0.0.1/live/test

The EMS will fetch the pulled stream via localStreamName and playback will start once the file is found.

qsgfw15.jpg

Please refer to EMS_User’s_Guide and EMS_API_Definitions for more information.

C. Stopping the EMS server

If the user wants to shut down the EMS, just send the command:

shutdownServer

The EMS will respond with a key:

qsgfw16.jpg

Then send another shutdownserver command using the key:

shutdownServer key=bVjvUo8HQ6VzDFJv

The EMS will shut down after sending the command.