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/src/pjmedia/echo_common.c

    r4622 r5186  
    126126 
    127127/* 
     128 * WebRTC AEC prototypes 
     129 */ 
     130#if defined(PJMEDIA_HAS_WEBRTC_AEC) && PJMEDIA_HAS_WEBRTC_AEC!=0 
     131static struct ec_operations webrtc_aec_op = 
     132{ 
     133    "WebRTC AEC", 
     134    &webrtc_aec_create, 
     135    &webrtc_aec_destroy, 
     136    &webrtc_aec_reset, 
     137    &webrtc_aec_cancel_echo 
     138}; 
     139#endif 
     140 
     141/* 
    128142 * Create the echo canceller.  
    129143 */ 
     
    186200#endif 
    187201 
     202#if defined(PJMEDIA_HAS_WEBRTC_AEC) && PJMEDIA_HAS_WEBRTC_AEC!=0 
     203    } else if ((options & PJMEDIA_ECHO_ALGO_MASK) == PJMEDIA_ECHO_WEBRTC || 
     204               (options & PJMEDIA_ECHO_ALGO_MASK) == PJMEDIA_ECHO_DEFAULT) 
     205    { 
     206        ec->op = &webrtc_aec_op; 
     207#endif 
     208         
    188209    } else { 
    189210        ec->op = &echo_supp_op; 
Note: See TracChangeset for help on using the changeset viewer.