Multimedia Renderer API

The multimedia renderer API exposes the data types and functions you can use to connect to mm-renderer, create contexts, configure inputs and outputs, control playback, and process events.

To play media with mm-renderer, your client application must first connect to the service. Next, it can create a context to manage the media flow from an input to one or more outputs. It can also specify parameters for the context, its input, and its outputs. After the parameters have been configured, your client can issue media playback commands; for example, to start and stop playback.

The API can deliver events, which indicate playback state changes, new input and output attachments, parameter updates, or errors. An application can read information on the latest event from a special-purpose data type and then perform the necessary processing.

The header file that defines most of the API functions, renderer.h, is located in ${QNX_TARGET}/usr/include/mm/ on the development system (not the target). The enumerated error codes and most of the API data types are defined in types.h, which is located in ${QNX_TARGET}/usr/include/mm/renderer/. This same subdirectory stores events.h, which defines the event-processing functions and data types.