Skip to content

WebRtcVad Constructors

Jay Miller edited this page May 18, 2020 · 2 revisions

Overloads

Overload Description
WebRtcVad() Creates and initializes a WebRTC voice activity detector.
WebRtcVad(IWebRtcDll) Creates and initializes a WebRTC voice activity detector.

WebRtcVad() constructor

public WebRtcVad();
Summary

Creates and initializes a WebRTC voice activity detector.

WebRtcVad(IWebRtcDll) constructor

public WebRtcVad(IWebRtcDll library);
Summary

Creates and initializes a WebRTC voice activity detector.

Remarks

This constructor injects a WebRTC library for unit testing, rather than depending on the P/Invoke implementation provided by the default constructor.

Parameters
Name Type Description
library IWebRtcDll Interface for the underlying WebRTC library.