Changeset 1675 for pjproject/trunk
- Timestamp:
- Jan 10, 2008 12:09:26 PM (17 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r1600 r1675 3542 3542 3543 3543 /** 3544 * Max ports in the conference bridge. 3544 * Max ports in the conference bridge. This setting is the default value 3545 * for pjsua_media_config.max_media_ports. 3545 3546 */ 3546 3547 #ifndef PJSUA_MAX_CONF_PORTS … … 3549 3550 3550 3551 /** 3551 * The default clock rate to be used by the conference bridge. 3552 * The default clock rate to be used by the conference bridge. This setting 3553 * is the default value for pjsua_media_config.clock_rate. 3552 3554 */ 3553 3555 #ifndef PJSUA_DEFAULT_CLOCK_RATE … … 3556 3558 3557 3559 /** 3558 * Default codec quality settings. 3560 * Default frame length in the conference bridge. This setting 3561 * is the default value for pjsua_media_config.audio_frame_ptime. 3562 */ 3563 #ifndef PJSUA_DEFAULT_AUDIO_FRAME_PTIME 3564 # define PJSUA_DEFAULT_AUDIO_FRAME_PTIME 10 3565 #endif 3566 3567 3568 /** 3569 * Default codec quality settings. This setting is the default value 3570 * for pjsua_media_config.quality. 3559 3571 */ 3560 3572 #ifndef PJSUA_DEFAULT_CODEC_QUALITY … … 3563 3575 3564 3576 /** 3565 * Default iLBC mode. 3577 * Default iLBC mode. This setting is the default value for 3578 * pjsua_media_config.ilbc_mode. 3566 3579 */ 3567 3580 #ifndef PJSUA_DEFAULT_ILBC_MODE 3568 # define PJSUA_DEFAULT_ILBC_MODE 203581 # define PJSUA_DEFAULT_ILBC_MODE 30 3569 3582 #endif 3570 3583 3571 3584 /** 3572 * The default echo canceller tail length. 3585 * The default echo canceller tail length. This setting 3586 * is the default value for pjsua_media_config.ec_tail_len. 3573 3587 */ 3574 3588 #ifndef PJSUA_DEFAULT_EC_TAIL_LEN … … 3621 3635 * latency. 3622 3636 * 3623 * Default : 10 (miliseconds)3637 * Default value: PJSUA_DEFAULT_AUDIO_FRAME_PTIME 3624 3638 */ 3625 3639 unsigned audio_frame_ptime; … … 3631 3645 * large enough to support all of them. However, the larger 3632 3646 * the value, the more computations are performed. 3647 * 3648 * Default value: PJSUA_MAX_CONF_PORTS 3633 3649 */ 3634 3650 unsigned max_media_ports; … … 3681 3697 * iLBC mode (20 or 30). 3682 3698 * 3683 * Default: 20 (PJSUA_DEFAULT_ILBC_MODE)3699 * Default: 30 (PJSUA_DEFAULT_ILBC_MODE) 3684 3700 */ 3685 3701 unsigned ilbc_mode; -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r1636 r1675 155 155 156 156 cfg->clock_rate = PJSUA_DEFAULT_CLOCK_RATE; 157 cfg->audio_frame_ptime = 10;158 cfg->max_media_ports = 32;157 cfg->audio_frame_ptime = PJSUA_DEFAULT_AUDIO_FRAME_PTIME; 158 cfg->max_media_ports = PJSUA_MAX_CONF_PORTS; 159 159 cfg->has_ioqueue = PJ_TRUE; 160 160 cfg->thread_cnt = 1;
Note: See TracChangeset
for help on using the changeset viewer.