Implement this interface to handle audio events All methods will be called on the CEF UI thread
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic interface IAudioHandler : IDisposable
public interface class IAudioHandler : IDisposable
The IAudioHandler type exposes the following members.
Methods Name Description DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.) GetAudioParametersCalled on the CEF UI thread to allow configuration of audio stream parameters. Audio stream paramaters can optionally be configured by modifying parameters
OnAudioStreamErrorCalled 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.
OnAudioStreamPacketCalled on the audio stream thread when a PCM packet is received for the stream. Based on and the
ChannelLayoutvalue passed to
OnAudioStreamStarted(IWebBrowser, IBrowser, AudioParameters, Int32)you can calculate the size of the
dataarray in bytes.
OnAudioStreamStartedCalled on a browser audio capture thread when the browser starts streaming audio. OnAudioStreamStopped will always be called after OnAudioStreamStarted; both methods may be called multiple times for the same browser.
OnAudioStreamStoppedCalled on the CEF UI thread when the stream has stopped. OnAudioStreamStopped will always be called after
OnAudioStreamStarted(IWebBrowser, IBrowser, AudioParameters, Int32); both methods may be called multiple times for the same stream.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4