- Timestamp:
- Feb 17, 2009 3:19:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/aps-direct/pjsip-apps/src/pjsua/pjsua_app.c
r2454 r2457 2434 2434 pjmedia_port *conf; 2435 2435 pjmedia_session_info sess_info; 2436 pjmedia_port *port; 2436 2437 pjmedia_stream_info *strm_info; 2437 2438 pjmedia_snd_setting setting; … … 2446 2447 strm_info = &sess_info.stream_info[stream_idx]; 2447 2448 2449 pjmedia_session_get_port(sess, stream_idx, &port); 2450 2448 2451 /* Init sound device setting based on stream info. */ 2449 2452 pj_bzero(&setting, sizeof(setting)); 2450 setting.format = strm_info->param->info.format; 2451 setting.bitrate = strm_info->param->info.avg_bps; 2453 setting.format = port->info.format; 2452 2454 setting.cng = strm_info->param->setting.cng; 2453 setting.vad = strm_info->param->setting.vad;2454 2455 setting.plc = strm_info->param->setting.plc; 2455 2456
Note: See TracChangeset
for help on using the changeset viewer.