mmr_command_send()

Updated: April 19, 2023

Send a remote control command to the context

Synopsis:

#include <mm/renderer.h>
int mmr_command_send(mmr_context_t *ctxt,
                     const char *cmd)

Arguments:

ctxt
A context handle
cmd
The command to send

Library:

mmrndclient

Description:

Send a remote control command to the context. The commands available depend on the plugin in use.

This function is offered for future use; currently, no commands are defined.

Returns:

Zero on success, -1 on failure (use mmr_error_info())