IAudioHandler Interface |
Namespace: CefSharp
The IAudioHandler type exposes the following members.
Name | Description | |
---|---|---|
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetAudioParameters |
Called on the CEF UI thread to allow configuration of audio stream parameters.
Audio stream paramaters can optionally be configured by modifying parameters | |
OnAudioStreamError |
Called on the CEF UI thread or audio stream thread when an error occurred. During the
stream creation phase this callback will be called on the UI thread while
in the capturing phase it will be called on the audio stream thread. The
stream will be stopped immediately.
| |
OnAudioStreamPacket |
Called on the audio stream thread when a PCM packet is received for the stream.
Based on and the ChannelLayout value passed to OnAudioStreamStarted(IWebBrowser, IBrowser, AudioParameters, Int32)
you can calculate the size of the data array in bytes.
| |
OnAudioStreamStarted |
Called on a browser audio capture thread when the browser starts streaming audio.
OnAudioSteamStopped will always be called after OnAudioStreamStarted; both methods may be called multiple
times for the same browser.
| |
OnAudioStreamStopped |
Called on the CEF UI thread when the stream has stopped. OnAudioSteamStopped will always be called after OnAudioStreamStarted(IWebBrowser, IBrowser, AudioParameters, Int32);
both methods may be called multiple times for the same stream.
|