|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Field Documentation
Clock rate to be applied to the conference bridge. If value is zero, default clock rate will be used (PJSUA_DEFAULT_CLOCK_RATE, which by default is 16KHz).
Clock rate to be applied when opening the sound device. If value is zero, conference bridge clock rate will be used.
Channel count be applied when opening the sound device and conference bridge. Specify audio frame ptime. The value here will affect the samples per frame of both the sound device and the conference bridge. Specifying lower ptime will normally reduce the latency. Default value: PJSUA_DEFAULT_AUDIO_FRAME_PTIME
Specify maximum number of media ports to be created in the conference bridge. Since all media terminate in the bridge (calls, file player, file recorder, etc), the value must be large enough to support all of them. However, the larger the value, the more computations are performed. Default value: PJSUA_MAX_CONF_PORTS Specify whether the media manager should manage its own ioqueue for the RTP/RTCP sockets. If yes, ioqueue will be created and at least one worker thread will be created too. If no, the RTP/RTCP sockets will share the same ioqueue as SIP sockets, and no worker thread is needed. Normally application would say yes here, unless it wants to run everything from a single thread.
Specify the number of worker threads to handle incoming RTP packets. A value of one is recommended for most applications.
Media quality, 0-10, according to this table: 5-10: resampling use large filter, 3-4: resampling use small filter, 1-2: resampling use linear. The media quality also sets speex codec quality/complexity to the number. Default: 5 (PJSUA_DEFAULT_CODEC_QUALITY).
Specify default codec ptime. Default: 0 (codec specific) Disable VAD? Default: 0 (no (meaning VAD is enabled))
iLBC mode (20 or 30). Default: 30 (PJSUA_DEFAULT_ILBC_MODE)
Percentage of RTP packet to drop in TX direction (to simulate packet lost). Default: 0
Percentage of RTP packet to drop in RX direction (to simulate packet lost). Default: 0
Echo canceller options (see pjmedia_echo_create()) Default: 0.
Echo canceller tail length, in miliseconds. Default: PJSUA_DEFAULT_EC_TAIL_LEN
Audio capture buffer length, in milliseconds. Default: PJMEDIA_SND_DEFAULT_REC_LATENCY
Audio playback buffer length, in milliseconds. Default: PJMEDIA_SND_DEFAULT_PLAY_LATENCY Jitter buffer initial prefetch delay in msec. The value must be between jb_min_pre and jb_max_pre below. Default: -1 (to use default stream settings, currently 150 msec) Jitter buffer minimum prefetch delay in msec. Default: -1 (to use default stream settings, currently 60 msec) Jitter buffer maximum prefetch delay in msec. Default: -1 (to use default stream settings, currently 240 msec) Set maximum delay that can be accomodated by the jitter buffer msec. Default: -1 (to use default stream settings, currently 360 msec) Enable ICE Set the maximum number of host candidates. Default: -1 (maximum not set) ICE session options. Disable RTCP component. Default: no Enable TURN relay candidate in ICE. Specify TURN domain name or host name, in in "DOMAIN:PORT" or "HOST:PORT" format. Specify the connection type to be used to the TURN server. Valid values are PJ_TURN_TP_UDP or PJ_TURN_TP_TCP. Default: PJ_TURN_TP_UDP Specify the credential to authenticate with the TURN server. Specify idle time of sound device before it is automatically closed, in seconds. Use value -1 to disable the auto-close feature of sound device Default : 1
The documentation for this struct was generated from the following file:
Copyright (C) 2006-2008 Teluu Inc.
| |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||