The QNX Web Browser supports several environment variables for managing its application data, user-agent string, audio type, and other properties.
Use this variable: | To: |
---|---|
HOME |
Set the filesystem directory that contains the subdirectories for the disk cache, cookie database, local storage, and other application-specific data. By default, the browser creates all of these directories in the location from which it is launched. |
CR_USER_AGENT |
Use the specified user-agent string. Note:
The string you set with this variable overrides the
--use-mobile-user-agent
option to the browser command line.
|
CR_AUDIO_TYPE |
Set the audio type to one of the audio types defined in the audio policy configuration file, audio_policy.conf. The default type is multimedia. This environment variable lets you control the ducking for audio playback in the QNX Web Browser. (Audio ducking occurs when the system lowers (or ducks) the volume of an audio stream so that the user can hear a higher-priority audio stream.) To define the audio types and audio ducking policy for your target system, you use the audio policy configuration file; see the Audio Developer's Guide for more information. |
CR_AUDIO_OUTPUT |
Set the mm-renderer audio output. The default is snd: See the Multimedia Renderer Developer's Guide for more information. |