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:
- OPT_VERBOSE
- OPT_CONNECTTIMEOUT_MS
- OPT_LOW_SPEED_LIMIT
- OPT_LOW_SPEED_TIME
- OPT_USERAGENT
- OPT_USERNAME
- OPT_PASSWORD
- OPT_PROXYUSERNAME
- OPT_PROXYPASSWORD
- OPT_COOKIE
- OPT_COOKIEFILE
- OPT_COOKIEJAR
- OPT_COOKIESESSION
- OPT_CAINFO
- OPT_CAPATH
- OPT_SSL_VERIFYPEER
- OPT_SSL_VERIFYHOST
- OPT_PROXY
- OPT_NOPROXY
- OPT_HTTPPROXYTUNNEL
- OPT_PROXYPORT
- OPT_PROXYTYPE
- OPT_PROXYAUTH
- OPT_HTTPAUTH
- OPT_HTTPHEADER
- OPT_DNSCACHETIMEOUT
QNX Neutrino RTOS
supports the following parameters that map to socket options
(see the getsockopt() function in the C Library Reference
for more information):
- OPT_SO_RCVBUF
- OPT_SO_SNDBUF
Returns:
Zero on success, -1 on failure (use mmr_error_info()).
Classification:
QNX Neutrino
Safety: |
|
Interrupt handler |
No |
Signal handler |
No |
Thread |
Yes |