mmr_context_parameters()

Set the context parameters

Synopsis:

#include <renderer.h>
#include <strm.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. Note that the dictionary object handle is consumed by this call, even on failure. For more information, see Dictionary Object API .

Library:

mmrndclient

Description:

The function mmr_context_parameters() sets parameters associated with the specified context, and passes them to the HTTP streamer whenever a track is opened. The parameters that apply for the BlackBerry Tablet OS are as follows.

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

Parameters that map to socket options (see the getsockopt() function in the Neutrino Library Reference for more information):

  • OPT_SO_RCVBUF
  • OPT_SO_SNDBUF

Returns:

0
Success.
-1
An error occurred. Use the function mmr_error_info() to retrieve information about the error.

Classification:

QNX Neutrino

Safety:
Interrupt handler No
Signal handler No
Thread Yes