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 reference to a dictionary containing the context parameters to set (must not be NULL). Any previous parameters are overridden.
The strm_dict_t object becomes API property after this call, even if the call fails. You should not use or destroy the dictionary after passing it to this function.

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 parameter is 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.

QNX Neutrino RTOS supports the following parameters that map to libcurl options:

QNX Neutrino RTOS supports the following parameters that map to socket options (see the getsockopt() function in the C Library Reference for more information):

Returns:

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

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes