Ignore:
Timestamp:
Dec 27, 2011 12:47:52 PM (13 years ago)
Author:
bennylp
Message:

More re #1419: changed field names from video_count to vid_cnt and audio_cnt to aud_cnt for better consistency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c

    r3901 r3925  
    25812581 
    25822582        pjsua_call_setting_default(&call_opt); 
    2583         call_opt.audio_cnt = app_config.aud_cnt; 
    2584         call_opt.video_cnt = app_config.vid.vid_cnt; 
     2583        call_opt.aud_cnt = app_config.aud_cnt; 
     2584        call_opt.vid_cnt = app_config.vid.vid_cnt; 
    25852585 
    25862586        pjsua_call_answer2(call_id, &call_opt, app_config.auto_answer, NULL, NULL); 
     
    25912591 
    25922592#if PJSUA_HAS_VIDEO 
    2593         if (call_info.rem_offerer && call_info.rem_video_cnt) { 
     2593        if (call_info.rem_offerer && call_info.rem_vid_cnt) { 
    25942594            snprintf(notif_st, sizeof(notif_st),  
    25952595                     "To %s the video, type \"vid %s\" first, " 
     
    26082608                  "Press a to answer or h to reject call", 
    26092609                  acc_id, 
    2610                   call_info.rem_audio_cnt, 
    2611                   call_info.rem_video_cnt, 
     2610                  call_info.rem_aud_cnt, 
     2611                  call_info.rem_vid_cnt, 
    26122612                  notif_st, 
    26132613                  call_info.remote_info.ptr, 
     
    28982898#if PJSUA_HAS_VIDEO 
    28992899    /* Check if remote has just tried to enable video */ 
    2900     if (call_info.rem_offerer && call_info.rem_video_cnt) 
     2900    if (call_info.rem_offerer && call_info.rem_vid_cnt) 
    29012901    { 
    29022902        int vid_idx; 
     
    42394239 
    42404240    pjsua_call_setting_default(&call_opt); 
    4241     call_opt.audio_cnt = app_config.aud_cnt; 
    4242     call_opt.video_cnt = app_config.vid.vid_cnt; 
     4241    call_opt.aud_cnt = app_config.aud_cnt; 
     4242    call_opt.vid_cnt = app_config.vid.vid_cnt; 
    42434243 
    42444244    /* If user specifies URI to call, then call the URI */ 
     
    42814281        /* Update call setting */ 
    42824282        pjsua_call_setting_default(&call_opt); 
    4283         call_opt.audio_cnt = app_config.aud_cnt; 
    4284         call_opt.video_cnt = app_config.vid.vid_cnt; 
     4283        call_opt.aud_cnt = app_config.aud_cnt; 
     4284        call_opt.vid_cnt = app_config.vid.vid_cnt; 
    42854285 
    42864286        switch (menuin[0]) { 
Note: See TracChangeset for help on using the changeset viewer.