Changes between Version 7 and Version 8 of QoS
- Timestamp:
- Aug 14, 2014 3:26:58 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
QoS
v7 v8 212 212 213 213 {{{ 214 pjsua_transport_config rtp_tcfg; 215 216 pjsua_transport_config_default(&rtp_tcfg); 217 // Set listening start port etc according to app settings 214 // Media transport setting is configurable on per account basis 215 pjsua_acc_config acc_cfg; 216 217 pjsua_acc_config_default(&acc_cfg); 218 // Set account settings 218 219 ... 219 // Set traffic type to Voice 220 rtp_tcfg.qos_type = PJ_QOS_TYPE_VOICE; 221 222 // Create RTP transports with this config 223 pjsua_media_transports_create(&rtp_tcfg); 220 // Set media transport settings (listening start port etc) according to app settings 221 ... 222 // Set media transport traffic type to Voice 223 acc_cfg.rtp_cfg.qos_type = PJ_QOS_TYPE_VOICE; 224 225 // Create account with this config 226 pjsua_acc_add(&acc_cfg, ...); 224 227 }}} 225 228