Ignore:
Timestamp:
Oct 25, 2011 9:35:11 AM (12 years ago)
Author:
bennylp
Message:

Re #1400: enhancements to video operations in pjsua application

File:
1 edited

Legend:

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

    r3841 r3850  
    644644} 
    645645 
     646 
     647/* Get config */ 
     648PJ_DEF(pj_status_t) pjsua_acc_get_config(pjsua_acc_id acc_id, 
     649                                         pjsua_acc_config *acc_cfg) 
     650{ 
     651    PJ_ASSERT_RETURN(acc_id>=0 && acc_id<(int)PJ_ARRAY_SIZE(pjsua_var.acc) 
     652                     && pjsua_var.acc[acc_id].valid, PJ_EINVAL); 
     653    pj_memcpy(acc_cfg, &pjsua_var.acc[acc_id].cfg, sizeof(*acc_cfg)); 
     654    return PJ_SUCCESS; 
     655} 
    646656 
    647657/* 
Note: See TracChangeset for help on using the changeset viewer.