AudioHandlerOnAudioStreamStarted Method |
Version 99.2.120
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.
Namespace:
CefSharp.Handler
Assembly:
CefSharp (in CefSharp.dll) Version: 99.2.120.0 (99.2.120.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