PlaybackStream
Inherits from: MediaStream
public class PlaybackStream : MediaStream, IDisposable
Representation of a read only audio stream
Public Methods#
Name | Description |
---|
AudioPushData | AudioPushDataTask and AudioPushDataAsync are not supported! |
AudioPushDataTask | AudioPushDataTask and AudioPushDataAsync are not supported! |
AudioPushDataAsync | AudioPushDataTask and AudioPushDataAsync are not supported! |
AudioReset | This operation resets the internal Opus encoder/decoder, ensuring a clean state. Additionally, it clears internal buffers, providing a fresh start. |
Inherited Properties#
Name | Type | Description |
---|
Id | Int64 | Handle ID |
MediaConfig | OdinMediaConfig | Audio config of the media stream |
CancellationSource | CancellationTokenSource | Control of async read and write tasks |
IsActive | Boolean | Indicates wether or not the media stream is active and sending/receiving data |
HasErrors | Boolean | Indicates wether or not the last media stream api call result is an error code |
IsInvalid | Boolean | Indicates wether or not the media stream handle is invalid or closed |
Inherited Methods#