mmr_context_parameters()

Set context parameters.

Synopsis:

#include <mm/renderer.h>
int mmr_context_parameters( mmr_context_t *ctxt, 
                            strm_dict_t *parms )

Arguments:

ctxt
A context handle.
parms
A dictionary object containing the parameters to set (handle gets consumed by this call, even on failure).

Library:

mmrndclient

Description:

Set parameters associated with the specified context. The applicable parameters and their types and values are implementation-specific. For example, different input and output types may require different parameters associated with the context. In general, the following parameters are supported:

updateinterval
Allows an application to request a particular frequency in status updates from mm-renderer. How accurately this delivery reflects the updateinterval setting depends on the plugin handling the media flow. Currently, this parameter is supported only for the MMF audio/video player routing plugin. The default update interval is 1000 ms, but your client code should dynamically adjust this parameter based on the application's state, such as fullscreen versus minimized versus when the screen is off. You can also override this parameter in the configuration file.

Returns:

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

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes