-
Notifications
You must be signed in to change notification settings - Fork 10
WebRtcVad Constructors
Jay Miller edited this page May 18, 2020
·
2 revisions
Overload | Description |
---|---|
WebRtcVad() | Creates and initializes a WebRTC voice activity detector. |
WebRtcVad(IWebRtcDll) | Creates and initializes a WebRTC voice activity detector. |
public WebRtcVad();
Creates and initializes a WebRTC voice activity detector.
public WebRtcVad(IWebRtcDll library);
Creates and initializes a WebRTC voice activity detector.
This constructor injects a WebRTC library for unit testing, rather than depending on the P/Invoke implementation provided by the default constructor.
Name | Type | Description |
---|---|---|
library | IWebRtcDll | Interface for the underlying WebRTC library. |