AudioHandlerOnAudioStreamStarted Method |
Version 109.1.110
Called 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.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 109.1.110.0 (109.1.110.0)
Syntax protected virtual void OnAudioStreamStarted(
IWebBrowser chromiumWebBrowser,
IBrowser browser,
AudioParameters parameters,
int channels
)
protected:
virtual void OnAudioStreamStarted(
IWebBrowser^ chromiumWebBrowser,
IBrowser^ browser,
AudioParameters parameters,
int channels
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
the ChromiumWebBrowser control - browser
- Type: CefSharpIBrowser
the browser object - parameters
- Type: CefSharp.StructsAudioParameters
contains the audio parameters like sample rate and channel layout.
Changing the param values will have no effect here. - channels
- Type: SystemInt32
is the number of channels
See Also