Changeset 5611 for pjproject/trunk/pjsip-apps/src/swig/java/android
- Timestamp:
- Jun 30, 2017 9:24:50 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/swig/java/android/app/src/main/java/org/pjsip/pjsua2/app/MyApp.java
r5531 r5611 67 67 pjsip_inv_state.PJSIP_INV_STATE_DISCONNECTED) 68 68 { 69 MyApp.ep.utilLogWrite(3, "MyCall", this.dump(true, "")); 69 70 this.delete(); 70 71 } … … 353 354 pj_log_decoration.PJ_LOG_HAS_NEWLINE.swigValue())); 354 355 356 /* Write log to file (just uncomment whenever needed) */ 357 //String log_path = android.os.Environment.getExternalStorageDirectory().toString(); 358 //log_cfg.setFilename(log_path + "/pjsip.log"); 359 355 360 /* Set ua config. */ 356 361 UaConfig ua_cfg = epConfig.getUaConfig(); 357 362 ua_cfg.setUserAgent("Pjsua2 Android " + ep.libVersion().getFull()); 358 StringVector stun_servers = new StringVector(); 359 stun_servers.add("stun.pjsip.org"); 360 ua_cfg.setStunServer(stun_servers); 363 364 /* STUN server. */ 365 //StringVector stun_servers = new StringVector(); 366 //stun_servers.add("stun.pjsip.org"); 367 //ua_cfg.setStunServer(stun_servers); 368 369 /* No worker thread */ 361 370 if (own_worker_thread) { 362 371 ua_cfg.setThreadCnt(0);
Note: See TracChangeset
for help on using the changeset viewer.