Ignore:
Timestamp:
Sep 16, 2008 3:15:45 PM (16 years ago)
Author:
nanang
Message:

Ticket #626: Fixed PocketPJ build error when SRTP is unused (thanks David Parker for the patch).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pocketpj/PocketPJDlg.cpp

    r2211 r2282  
    279279    acc_cfg.cred_info[0].data = pj_str(passwd); 
    280280 
     281#if defined(PJMEDIA_HAS_SRTP) && (PJMEDIA_HAS_SRTP != 0) 
    281282    acc_cfg.use_srtp = (m_Cfg.m_UseSrtp ? PJMEDIA_SRTP_OPTIONAL : PJMEDIA_SRTP_DISABLED); 
    282283    acc_cfg.srtp_secure_signaling = 0; 
     284#endif 
     285 
    283286    acc_cfg.publish_enabled = m_Cfg.m_UsePublish; 
    284287     
Note: See TracChangeset for help on using the changeset viewer.