Ignore:
Timestamp:
Oct 6, 2015 5:57:51 AM (9 years ago)
Author:
ming
Message:

Fixed #1888: Support for WebRtc? AEC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/echo.h

    r4082 r5186  
    6767    /** 
    6868     * Force to use Speex AEC as the backend echo canceller algorithm. 
    69      * This setting is mutually exclusive with PJMEDIA_ECHO_SIMPLE. 
     69     * This setting is mutually exclusive with PJMEDIA_ECHO_SIMPLE and 
     70     * PJMEDIA_ECHO_WEBRTC. 
    7071     */ 
    7172    PJMEDIA_ECHO_SPEEX  = 1, 
     
    7576     * creation, then a simple echo suppressor will be used instead of 
    7677     * an accoustic echo cancellation. This setting is mutually exclusive 
    77      * with PJMEDIA_ECHO_SPEEX. 
     78     * with PJMEDIA_ECHO_SPEEX and PJMEDIA_ECHO_WEBRTC. 
    7879     */ 
    7980    PJMEDIA_ECHO_SIMPLE = 2, 
     81 
     82    /** 
     83     * Force to use WebRTC AEC as the backend echo canceller algorithm. 
     84     * This setting is mutually exclusive with PJMEDIA_ECHO_SIMPLE and 
     85     * PJMEDIA_ECHO_SPEEX. 
     86     */ 
     87    PJMEDIA_ECHO_WEBRTC = 3, 
    8088 
    8189    /** 
     
    102110     * will be used instead of device EC. 
    103111     */ 
    104     PJMEDIA_ECHO_USE_SW_ECHO = 64 
     112    PJMEDIA_ECHO_USE_SW_ECHO = 64, 
     113     
     114    /** 
     115     * If PJMEDIA_ECHO_USE_NOISE_SUPPRESSOR flag is specified, the echo 
     116     * canceller will also apply noise suppressor method to reduce noise. 
     117     */ 
     118    PJMEDIA_ECHO_USE_NOISE_SUPPRESSOR = 128, 
     119     
     120    /** 
     121     * Use default aggressiveness setting for the echo canceller algorithm.  
     122     * This setting is mutually exclusive with the other aggressiveness 
     123     * settings. 
     124     */ 
     125    PJMEDIA_ECHO_AGGRESSIVENESS_DEFAULT = 0, 
     126     
     127    /** 
     128     * Use conservative aggressiveness setting for the echo canceller 
     129     * algorithm. This setting is mutually exclusive with the other 
     130     * aggressiveness settings. 
     131     */ 
     132    PJMEDIA_ECHO_AGGRESSIVENESS_CONSERVATIVE = 0x100, 
     133     
     134    /** 
     135     * Use moderate aggressiveness setting for the echo canceller algorithm.  
     136     * This setting is mutually exclusive with the other aggressiveness 
     137     * settings. 
     138     */ 
     139    PJMEDIA_ECHO_AGGRESSIVENESS_MODERATE = 0x200, 
     140     
     141    /** 
     142     * Use aggressive aggressiveness setting for the echo canceller 
     143     * algorithm. This setting is mutually exclusive with the other 
     144     * aggressiveness settings. 
     145     */ 
     146    PJMEDIA_ECHO_AGGRESSIVENESS_AGGRESSIVE = 0x300, 
     147     
     148    /** 
     149     * For internal use. 
     150     */ 
     151    PJMEDIA_ECHO_AGGRESSIVENESS_MASK = 0xF00 
    105152 
    106153} pjmedia_echo_flag; 
Note: See TracChangeset for help on using the changeset viewer.