Click or drag to resize

IAudioHandler Interface

Version 75.1.140
Implement this interface to handle audio events All methods will be called on the CEF UI thread

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntax
public interface IAudioHandler

The IAudioHandler type exposes the following members.

Methods
  NameDescription
Public methodOnAudioStreamPacket
Called when a PCM packet is received for the stream identified by audioStreamId Based on and the ChannelLayout value passed to OnAudioStreamStarted(IWebBrowser, IBrowser, Int32, Int32, ChannelLayout, Int32, Int32) you can calculate the size of the data array in bytes.
Public methodOnAudioStreamStarted
Called when the stream identified by audioStreamId has started. [!:IAudioHandler.OnAudioSteamStopped] will always be called after OnAudioStreamStarted(IWebBrowser, IBrowser, Int32, Int32, ChannelLayout, Int32, Int32); both methods may be called multiple times for the same stream.
Public methodOnAudioStreamStopped
Called when the stream identified by audioStreamId has stopped. OnAudioStreamStopped(IWebBrowser, IBrowser, Int32) will always be called after OnAudioStreamStarted(IWebBrowser, IBrowser, Int32, Int32, ChannelLayout, Int32, Int32); both methods may be called multiple times for the same stream.
Top
See Also