Ignore:
Timestamp:
Dec 17, 2019 10:06:01 AM (4 years ago)
Author:
riza
Message:

Close #2258: Add PJSUA2 API to get and set OPUS codec setting.

File:
1 edited

Legend:

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

    r6094 r6119  
    15541554     */ 
    15551555    void resetVideoCodecParam(const string &codec_id) PJSUA2_THROW(Error); 
     1556 
     1557#if defined(PJMEDIA_HAS_OPUS_CODEC) && (PJMEDIA_HAS_OPUS_CODEC!=0) 
     1558    /** 
     1559     * Get codec Opus config. 
     1560     * 
     1561     */ 
     1562     CodecOpusConfig getCodecOpusConfig() const PJSUA2_THROW(Error); 
     1563 
     1564    /** 
     1565     * Set codec Opus config. 
     1566     * 
     1567     * @param opus_cfg  Codec Opus configuration. 
     1568     * 
     1569     */ 
     1570    void setCodecOpusConfig(const CodecOpusConfig &opus_cfg) 
     1571                            PJSUA2_THROW(Error); 
     1572#endif 
    15561573 
    15571574    /** 
Note: See TracChangeset for help on using the changeset viewer.