Ignore:
Timestamp:
Dec 1, 2011 10:02:54 AM (9 years ago)
Author:
nanang
Message:

Misc (re #1393): fix linking error "app_config_init_video() not found" when video is disabled, also some compile warnings (unused variables).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r3891 r3892  
    35213521    pjmedia_sdp_session *answer; 
    35223522    unsigned i; 
    3523     int vid_idx; 
    35243523    pj_status_t status; 
    35253524 
     
    35323531              call->index)); 
    35333532    pj_log_push_indent(); 
    3534  
    3535 #if 0 && PJMEDIA_HAS_VIDEO 
    3536     /* If current session has no video, let's just stay with no video. 
    3537      * If application want to enable video, it must send re-INVITE 
    3538      * 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 #endif 
    35443533 
    35453534    /* Re-init media for the new remote offer before creating SDP */ 
Note: See TracChangeset for help on using the changeset viewer.