IRTCClient::put_PreferredAEC

The put_PreferredAEC property enables or disables the preferred AEC (Acoustic Echo Cancelation). This method sets the AEC retrieved in IRTCClient::get_PreferredAEC.

HRESULT put_PreferredAEC(VARIANT_BOOLbEnable);

Parameters

  • bEnable
    [in] If VARIANT_TRUE, AEC is enabled.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_MEDIA_AEC AEC is not available.
RTC_E_CLIENT_NOT_INITIALIZED The client has not been initialized.

Remarks

The value that this method sets will persist for each user after the application is shut down.

Requirements

Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClient is defined as 07829e45-9a34-408e-a011-bddf13487cd1.

See Also

IRTCClient, IRTCClient::get_PreferredAEC