mmr_command_send()

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

Library:

mmrndclient

Description:

Send a remote control command to the context. The commands available depend on the plugin in use. Currently, none of the supported commands require parameters.

For the Nvidia DVD plugin, you can send the following commands:

  • next
  • prev
  • top
  • cursor_left
  • cursor_right
  • cursor_up
  • cursor_down
  • enter
  • return
  • menu_title
  • menu_root
  • menu_subtitle
  • menu_audio
  • menu_angle
  • menu_ptt
  • resume
  • frame_advance
  • frame_reverse
  • pause

Returns:

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

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes