Can play audio from an audio file.
| C# | Visual Basic | Visual C++ |
public abstract class AudioStreamPlayback : TimerBasedMediaStreamHandler
Public MustInherit Class AudioStreamPlayback _ Inherits TimerBasedMediaStreamHandler
public ref class AudioStreamPlayback abstract : public TimerBasedMediaStreamHandler
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| AudioStreamPlayback(UInt32) |
Initializes a new instance of the WaveStreamPlayback class.
| |
| AudioStreamPlayback(String) |
Initializes a new instance of the AudioStreamPlayback class with default packetization time (20ms).
The audio stream will not be cached and will be played only once.
| |
| AudioStreamPlayback(String, Boolean, Boolean) |
Initializes a new instance of the AudioStreamPlayback class with default packetization time (20ms)
| |
| AudioStreamPlayback(String, Boolean, Boolean, UInt32) |
Initializes a new instance of the AudioStreamPlayback class
| |
| AudioStreamPlayback(Stream) |
Initializes a new instance of the AudioStreamPlayback class with default packetization time (20ms).
The audio stream will not be cached and will be played only once.
| |
| AudioStreamPlayback(Stream, Boolean, Boolean) |
Initializes a new instance of the AudioStreamPlayback class with default packetization time (20ms).
| |
| AudioStreamPlayback(Stream, Boolean, Boolean, UInt32) |
Initializes a new instance of the AudioStreamPlayback class.
| |
| Cached |
Gets a boolean value indicating whether the playback stream is cached in the memory.
| |
| DataReceived(Object, VoIPEventArgs<(Of <<'(AudioData>)>>)) |
This will be called when media data received from a media handler.
(Overrides TimerBasedMediaStreamHandler.DataReceived(Object, VoIPEventArgs<(Of <<'(AudioData>)>>)).) | |
| DataSent |
Event that occurs when the data is ready to send.
(Inherited from AudioHandler.) | |
| Dispose(Boolean) |
Disposes the object.
(Inherited from TimerBasedMediaStreamHandler.) | |
| Dispose()()()() |
Disposes the object.
(Inherited from VoIPMediaHandler.) | |
| Finalize()()()() | (Inherited from VoIPMediaHandler.) | |
| Interval |
Gets the time between the send events (in milliseconds).
(Inherited from TimerBasedMediaStreamHandler.) | |
| IsStreaming |
Gets or sets a value that is true if the wave is streaming, otherwise false.
(Inherited from MediaStreamHandler.) | |
| LoadReader(Stream) |
Initializes the file reader which will read the content of the stream. (This method will be invoked in the LoadStream(Stream) method.)
| |
| Loop |
A boolean value indicating whether the playback is repeated infinetly.
| |
| MediaFormat |
Gets the MediaFormat of the media handler.
(Inherited from AudioHandler.) | |
| MediaFormatChanged |
Occurs when the MediaFormat of the media handler has changed.
(Inherited from AudioHandler.) | |
| PauseStreaming()()()() |
Pauses the streaming. (If the streaming is already paused then does nothing.)
(Inherited from MediaStreamHandler.) | |
| Position |
Gets or sets the current position in the audio stream
(Inherited from MediaStreamHandler.) | |
| SendData(AudioData) |
Sends media data to the connected media handlers.
(Inherited from AudioHandler.) | |
| SetPlaybackWaveStream(WaveFileStream) |
Changes the playback stream to the given stream.
| |
| StartStreaming()()()() |
Starts the streaming. (If the streaming is already started then does nothing.)
(Inherited from MediaStreamHandler.) | |
| Stopped |
Occurs when the audio recording or playing has been stopped
(Inherited from MediaStreamHandler.) | |
| StopStreaming()()()() |
Stops the streaming. (If the streaming is already stopped then does nothing.)
(Inherited from MediaStreamHandler.) | |
| Stream |
Gets the stream
(Inherited from MediaStreamHandler.) | |
| TimerTick(Object, EventArgs) |
This will be called when the built-in timer ticks.
(Overrides TimerBasedMediaStreamHandler.TimerTick(Object, EventArgs).) |