Changeset 3683


Ignore:
Timestamp:
Jul 26, 2011 8:10:29 AM (13 years ago)
Author:
nanang
Message:

Fix #1338: Updated pjsua_modify_acc() to handle the new account config fields: max_audio_cnt, max_video_cnt, vid_in_auto_show, vid_out_auto_transmit, vid_cap_dev, vid_rend_dev.

File:
1 edited

Legend:

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

    r3667 r3683  
    10281028        } 
    10291029    } 
     1030 
     1031    /* Max number of audio and video stream in a call */ 
     1032    acc->cfg.max_audio_cnt = cfg->max_audio_cnt; 
     1033    acc->cfg.max_video_cnt = cfg->max_video_cnt; 
     1034 
     1035    /* Video settings */ 
     1036    acc->cfg.vid_in_auto_show = cfg->vid_in_auto_show; 
     1037    acc->cfg.vid_out_auto_transmit = cfg->vid_out_auto_transmit; 
     1038    acc->cfg.vid_cap_dev = cfg->vid_cap_dev; 
     1039    acc->cfg.vid_rend_dev = cfg->vid_rend_dev; 
    10301040 
    10311041on_return: 
Note: See TracChangeset for help on using the changeset viewer.