Changeset 3892
- Timestamp:
- Dec 1, 2011 10:02:54 AM (13 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r3891 r3892 4188 4188 } 4189 4189 4190 #else 4191 4192 static void app_config_init_video(pjsua_acc_config *acc_cfg) 4193 { 4194 PJ_UNUSED_ARG(acc_cfg); 4195 } 4196 4190 4197 #endif /* PJSUA_HAS_VIDEO */ 4191 4198 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r3891 r3892 3521 3521 pjmedia_sdp_session *answer; 3522 3522 unsigned i; 3523 int vid_idx;3524 3523 pj_status_t status; 3525 3524 … … 3532 3531 call->index)); 3533 3532 pj_log_push_indent(); 3534 3535 #if 0 && PJMEDIA_HAS_VIDEO3536 /* If current session has no video, let's just stay with no video.3537 * If application want to enable video, it must send re-INVITE3538 * with video.3539 */3540 vid_idx = pjsua_call_get_vid_stream_idx(call->index);3541 if (vid_idx == -1 || call->media[vid_idx].dir == PJMEDIA_DIR_NONE)3542 call->opt.video_cnt = 0;3543 #endif3544 3533 3545 3534 /* Re-init media for the new remote offer before creating SDP */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3891 r3892 1398 1398 pjsua_med_tp_state_cb cb) 1399 1399 { 1400 pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id];1401 1400 pj_status_t status = PJ_SUCCESS; 1402 1401 … … 1410 1409 if (call_med->tp == NULL) { 1411 1410 #if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 1411 pjsua_acc *acc = &pjsua_var.acc[call_med->call->acc_id]; 1412 1412 1413 /* While in initial call, set default video devices */ 1413 1414 if (type == PJMEDIA_TYPE_VIDEO) { … … 2553 2554 #else 2554 2555 PJ_UNUSED_ARG(STR_VIDEO); 2555 mvidcnt = 0;2556 mvidcnt = mtotvidcnt = 0; 2556 2557 #endif 2557 2558
Note: See TracChangeset
for help on using the changeset viewer.