Ignore:
Timestamp:
Mar 25, 2015 3:41:21 AM (9 years ago)
Author:
nanang
Message:

Re #1823: Video settings on sample apps:

  • enabled video on pjsua CLI if video is configured
  • enabled video auto-rx/tx of any account on pjsua2 sample app
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/java/android/src/org/pjsip/pjsua2/app/MyApp.java

    r5017 r5022  
    386386        for (int i = 0; i < accCfgs.size(); i++) { 
    387387            MyAccountConfig my_cfg = accCfgs.get(i); 
     388 
     389            /* Customize account config */ 
     390            my_cfg.accCfg.getNatConfig().setIceEnabled(true); 
     391            my_cfg.accCfg.getVideoConfig().setAutoTransmitOutgoing(true); 
     392            my_cfg.accCfg.getVideoConfig().setAutoShowIncoming(true); 
     393 
    388394            MyAccount acc = addAcc(my_cfg.accCfg); 
    389395            if (acc == null) 
Note: See TracChangeset for help on using the changeset viewer.