The device ID used to get a MediaStream from using getUserMedia.
Any errors that occurred during the test.
If AudioInputTest.Options.enableRecording is set to true,
recordingUrl
will be available in the report which can be used to playback captured audio from the microphone.
Your application should revoke this URL if it is no longer needed.
Example:
const audioInputTest: AudioInputTest = testAudioInputDevice({ enableRecording: true });
audioInputTest.on(AudioInputTest.Events.End, (report: AudioInputTest.Report) => {
const audioEl = new Audio();
audioEl.src = report.recordingUrl;
audioEl.play();
// Revoke the url if no longer needed
URL.revokeObjectURL(report.recordingUrl);
});
The name of the test.
Time measurements of test run time.
The volume levels emitted by the test during its run-time.
Generated using TypeDoc
Represents the report generated from an AudioInputTest.