Ignore:
Timestamp:
May 15, 2019 2:57:44 AM (3 years ago)
Author:
nanang
Message:

Re #2181: Fixed undefined reference linking errors when PJSUA_HAS_VIDEO is not set.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp

    r5986 r5992  
    20682068VideoMediaVector Endpoint::mediaEnumVidPorts() const throw(Error) 
    20692069{ 
     2070#if PJSUA_HAS_VIDEO 
    20702071    VideoMediaVector vmv; 
    20712072    pjsua_conf_port_id ids[PJSUA_MAX_CONF_PORTS]; 
     
    20802081 
    20812082    return vmv; 
     2083#else 
     2084    PJSUA2_RAISE_ERROR(PJ_EINVALIDOP); 
     2085#endif 
    20822086} 
    20832087 
Note: See TracChangeset for help on using the changeset viewer.