
109
FLASH
MEDIA
SERVER
4.5
CONFIGURATION
AND
ADMINISTRATION
Administering the server
Last updated 11/28/2012
Usage examples for Windows:
•
* fmscheck.exe --host localhost --app app1 --logfile output.txt
•
* fmscheck.exe --host localhost --app app1 --play foo 0 10 --logfile output.txt
•
* fmscheck.exe --host localhost --app app1 --pubfile foo.flv --publish bar 10 --logfile
output.txt
•
* fmscheck.exe --host localhost --allapps --auser admin --apswd admin --parallel 10 --
stagger 2 --timeout 100 logfile output.txt
All of the Windows examples can be adapted to Linux by using
* ./fmscheck
instead of
* fmscheck.exe
.
FMSCheck return codes
Return codes for the FMSCheck tool report the status after the tool has been run.
--query <" ">
Allows you to input your own string for special purposes, such as authentication. Example:
rtmp://host/app/inst?foo=abcd
--timeout <sec>
Specifies a timeout value, in seconds. If the program does not receive a response from the
server within this interval, an error is returned.
fmscheck -v
Prints a version string.
--auser <username>
Specifies a user name for the Administration Server user. Example:
--auser admin
--apswd <password>
Specifies a password for the Administration Server. Example: --
apswd admin
--ahostport <port>
Specifies the Administration Server port number. If the port number is not specified in the
command line, the default port is 1111. Example:
--ahostport 1111
Code
Status
0
Success.
-1
Invalid command line argument.
-2
File not found.
-3
Connection failed.
-4
Operation timed out.
-5
Play failed.
-6
Publish failed.
-7
At least one application failed.
Option Description