Changeset 5530


Ignore:
Timestamp:
Jan 18, 2017 10:09:42 AM (3 years ago)
Author:
nanang
Message:

Misc (re #1945): Added TLS transport in pjsua2 sample app.

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

    r5502 r5530  
    386386        } 
    387387 
     388        try { 
     389            sipTpConfig.setPort(SIP_PORT+1); 
     390            ep.transportCreate(pjsip_transport_type_e.PJSIP_TRANSPORT_TLS, 
     391                               sipTpConfig); 
     392        } catch (Exception e) { 
     393            System.out.println(e); 
     394        } 
     395 
    388396        /* Create accounts. */ 
    389397        for (int i = 0; i < accCfgs.size(); i++) { 
Note: See TracChangeset for help on using the changeset viewer.