Connection management

Your client application must connect to mm-renderer before it can do anything with the service.

The mmr_connect() function returns a valid connection handle when successful. This handle must be passed into subsequent API calls for creating or opening a context. When the context is created or opened, the API returns another handle that you must use in most other API calls.

The connection handle is used when calling mmr_plugin_info() to get information about the plugins that manage media flows. Otherwise, the handle isn't needed again until you're finished with the connection. At this point, you must close it by calling mmr_disconnect().