Misc (re #1945): Added TLS transport in pjsua2 sample app.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5530 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
532eba77fc
commit
c40e9b5861
|
@ -385,6 +385,14 @@ class MyApp {
|
|||
System.out.println(e);
|
||||
}
|
||||
|
||||
try {
|
||||
sipTpConfig.setPort(SIP_PORT+1);
|
||||
ep.transportCreate(pjsip_transport_type_e.PJSIP_TRANSPORT_TLS,
|
||||
sipTpConfig);
|
||||
} catch (Exception e) {
|
||||
System.out.println(e);
|
||||
}
|
||||
|
||||
/* Create accounts. */
|
||||
for (int i = 0; i < accCfgs.size(); i++) {
|
||||
MyAccountConfig my_cfg = accCfgs.get(i);
|
||||
|
|
Loading…
Reference in New Issue