Table of Contents

Interface IAudioCaptureSession

Namespace
DotNetBrowser.Media
Assembly
DotNetBrowser.dll

A session that captures the audio of a browser.

public interface IAudioCaptureSession : IDisposable, IAutoDisposable
Inherited Members

Remarks

The captured audio is delivered through the DataCaptured event. When the capture fails, the Failed event occurs and the session is disposed.

The session is disposed when it is stopped, when it fails, and when the browser is disposed. Use the Disposed event to learn that the session has ended for any of these reasons. Disposing the session stops the capture. Once the session is disposed, it drops the buffers it has not started delivering.

Properties

Audio

Gets the IAudio instance whose audio is captured.

IsActive

Indicates whether this session is capturing audio.

Options

Gets the options this session was started with.

Methods

Stop()

Stops the audio capture and disposes this session.

Events

DataCaptured

Occurs when a buffer of audio has been captured.

Failed

Occurs when the capture has failed.

See Also