Ignore:
Timestamp:
Dec 27, 2011 12:47:52 PM (12 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/src/pjsua-lib/pjsua_call.c

    r3919 r3925  
    511511    pj_bzero(opt, sizeof(*opt)); 
    512512    opt->flag = PJSUA_CALL_INCLUDE_DISABLED_MEDIA; 
    513     opt->audio_cnt = 1; 
     513    opt->aud_cnt = 1; 
    514514 
    515515#if defined(PJMEDIA_HAS_VIDEO) && (PJMEDIA_HAS_VIDEO != 0) 
    516     opt->video_cnt = 1; 
     516    opt->vid_cnt = 1; 
    517517    opt->req_keyframe_method = PJSUA_VID_REQ_KEYFRAME_SIP_INFO | 
    518518                             PJSUA_VID_REQ_KEYFRAME_RTCP_PLI; 
     
    530530 
    531531#if !PJMEDIA_HAS_VIDEO 
    532     pj_assert(opt->video_cnt == 0); 
     532    pj_assert(opt->vid_cnt == 0); 
    533533#endif 
    534534 
     
    542542 
    543543        /* Reinit media channel when media count is changed */ 
    544         if (opt->audio_cnt != old_opt.audio_cnt || 
    545             opt->video_cnt != old_opt.video_cnt) 
     544        if (opt->aud_cnt != old_opt.aud_cnt || 
     545            opt->vid_cnt != old_opt.vid_cnt) 
    546546        { 
    547547            pjsip_role_e role = rem_sdp? PJSIP_ROLE_UAS : PJSIP_ROLE_UAC; 
     
    15991599    info->rem_offerer   = call->rem_offerer; 
    16001600    if (call->rem_offerer) { 
    1601         info->rem_audio_cnt = call->rem_aud_cnt; 
    1602         info->rem_video_cnt = call->rem_vid_cnt; 
     1601        info->rem_aud_cnt = call->rem_aud_cnt; 
     1602        info->rem_vid_cnt = call->rem_vid_cnt; 
    16031603    } 
    16041604 
Note: See TracChangeset for help on using the changeset viewer.