Ticket #626: Fixed PocketPJ build error when SRTP is unused (thanks David Parker for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2282 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
0365e461e5
commit
51b1e5531b
|
@ -278,8 +278,11 @@ BOOL CPocketPJDlg::Restart()
|
||||||
acc_cfg.cred_info[0].data_type = 0;
|
acc_cfg.cred_info[0].data_type = 0;
|
||||||
acc_cfg.cred_info[0].data = pj_str(passwd);
|
acc_cfg.cred_info[0].data = pj_str(passwd);
|
||||||
|
|
||||||
|
#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0)
|
||||||
acc_cfg.use_srtp = (m_Cfg.m_UseSrtp ? PJMEDIA_SRTP_OPTIONAL : PJMEDIA_SRTP_DISABLED);
|
acc_cfg.use_srtp = (m_Cfg.m_UseSrtp ? PJMEDIA_SRTP_OPTIONAL : PJMEDIA_SRTP_DISABLED);
|
||||||
acc_cfg.srtp_secure_signaling = 0;
|
acc_cfg.srtp_secure_signaling = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
acc_cfg.publish_enabled = m_Cfg.m_UsePublish;
|
acc_cfg.publish_enabled = m_Cfg.m_UsePublish;
|
||||||
|
|
||||||
char route[80];
|
char route[80];
|
||||||
|
|
Loading…
Reference in New Issue