mm-control command line

Start multimedia controller service

Synopsis:

mm-control [-b] [-p priority] [-c config_file] [-v] 

Options:

-b
Run the mm-control process in the foreground. This option is handy for debugging because it makes mm-control send log messages to the standard error in addition to sloginfo.

By default, mm-control runs in the background.

-p priority
Set the priority of the mm-control process. When your system is busy running many applications, the priority level can have a considerable impact on the turnaround time for servicing media operation requests.

The valid range for priority settings is 1 to 63; the default setting is 15.

-c config_file
The path of the configuration file, which defines the initial outputs and zones.

A configuration file is included with mm-control, located at /etc/mm-control.cfg.

-v
Increase output verbosity. Messages are written to sloginfo. The -v option is cumulative, so you can add several v's to increase verbosity, up to five levels.

Output verbosity is handy when you're trying to understand the operation of mm-control. However, when lots of -v arguments are used, the logging becomes quite significant and can change timing noticeably. The verbosity setting is good for systems under development but probably shouldn't be used in production systems or during performance testing.

Description:

The mm-control command starts the multimedia controller service, which listens for commands sent through the PPS service and then invokes the necessary platform components to carry out the requested media operations. Each time a command is written to the PPS control object (/pps/services/mm-control/control), mm-control verifies the syntax of the command and if it's valid, writes instructions to PPS or makes API calls to invoke the necessary multimedia services to execute the command.

The outcomes (results) of media operations are written to the same PPS object so that client applications can read that object to get those results.

Through mm-control command options, you can name the configuration file used for defining initial outputs and zones, enable logging, and set process options such as the priority level. To change the command-line arguments passed to mm-control, you must modify the SLM configuration file.