Ignore:
Timestamp:
Apr 15, 2019 10:52:16 AM (5 years ago)
Author:
nanang
Message:

Close #2189: fixed PJSUA2 thread safety issue in list of objects manipulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp

    r5964 r5969  
    133133}; 
    134134 
     135/** Array of SSL certificate type and name. */ 
     136typedef std::vector<SslCertName> SslCertNameVector; 
     137 
    135138/** 
    136139 * SSL certificate information. 
     
    156159                                                 date/time use GMT      */ 
    157160 
    158     vector<SslCertName> subjectAltName;     /**< Subject alternative 
     161    SslCertNameVector   subjectAltName;     /**< Subject alternative 
    159162                                                 name extension         */ 
    160163 
     
    13791382 
    13801383    /** 
     1384     * Warning: deprecated, use mediaEnumPorts2() instead. This function is 
     1385     * not safe in multithreaded environment. 
     1386     * 
    13811387     * Enumerate all media port. 
    13821388     * 
     
    13841390     */ 
    13851391    const AudioMediaVector &mediaEnumPorts() const throw(Error); 
     1392 
     1393    /** 
     1394     * Enumerate all audio media port. 
     1395     * 
     1396     * @return          The list of audio media port. 
     1397     */ 
     1398    AudioMediaVector2 mediaEnumPorts2() const throw(Error); 
    13861399 
    13871400    /** 
     
    14041417 
    14051418    /** 
     1419     * Warning: deprecated, use codecEnum2() instead. This function is not 
     1420     * safe in multithreaded environment. 
     1421     * 
    14061422     * Enum all supported codecs in the system. 
    14071423     * 
     
    14091425     */ 
    14101426    const CodecInfoVector &codecEnum() throw(Error); 
     1427 
     1428    /** 
     1429     * Enum all supported codecs in the system. 
     1430     * 
     1431     * @return          Array of codec info. 
     1432     */ 
     1433    CodecInfoVector2 codecEnum2() const throw(Error); 
    14111434 
    14121435    /** 
     
    14451468 
    14461469    /** 
     1470     * Warning: deprecated, use videoCodecEnum2() instead. This function is 
     1471     * not safe in multithreaded environment. 
     1472     * 
    14471473     * Enum all supported video codecs in the system. 
    14481474     *   
     
    14501476     */ 
    14511477    const CodecInfoVector &videoCodecEnum() throw(Error); 
     1478 
     1479    /** 
     1480     * Enum all supported video codecs in the system. 
     1481     *   
     1482     * @return          Array of video codec info. 
     1483     */ 
     1484    CodecInfoVector2 videoCodecEnum2() const throw(Error); 
    14521485 
    14531486    /** 
Note: See TracChangeset for help on using the changeset viewer.