Click or drag to resize

AudioHandler Class

Version 102.0.100
Inherit from this class to handle audio events All methods will be called on the CEF UI thread
Inheritance Hierarchy
SystemObject
  CefSharp.HandlerAudioHandler

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 102.0.100.0 (102.0.100.0)
Syntax
public class AudioHandler : IAudioHandler, 
	IDisposable

The AudioHandler type exposes the following members.

Constructors
  NameDescription
Public methodAudioHandler
Initializes a new instance of the AudioHandler class
Top
Properties
  NameDescription
Public propertyIsDisposed
Gets a value indicating this AudioHandler instance has been disposed.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetAudioParameters
Called on the CEF UI thread to allow configuration of audio stream parameters. Audio stream paramaters can optionally be configured by modifying parameters
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAudioStreamError
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.
Protected methodOnAudioStreamPacket
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.
Protected methodOnAudioStreamStarted
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.
Protected methodOnAudioStreamStopped
Called 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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also