Class MediaStreamConfiguration
Definition
- Namespace:
- Tizen.Multimedia
- Assembly:
- Tizen.Multimedia.MediaPlayer.dll
- API Level:
- 3
Provides a means to configure properties and handle events for MediaStreamSource.
C#Copypublic class MediaStreamConfiguration
- Inheritance
-
MediaStreamConfiguration
Properties
Declaration
C#Copypublic ulong BufferMaxSize { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 | The max size of the buffer. The default is 200000. |
Remarks
If the buffer level overflows the max size, BufferStatusChanged will be raised with Overflow.
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The MediaStreamSource is not assigned to a player. |
ArgumentOutOfRangeException |
|
See Also
API Level: 3
Declaration
C#Copypublic uint BufferMinThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 | The minimum threshold of the buffer in percentage. The default is zero. |
Remarks
If the buffer level drops below the threshold value, BufferStatusChanged will be raised with Underrun.
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | The MediaStreamSource is not assigned to a player. |
ArgumentOutOfRangeException |
|
See Also
API Level: 3
Events
Declaration
C#Copypublic event EventHandler<MediaStreamBufferStatusChangedEventArgs> BufferStatusChanged
Event Type
Type | Description |
---|---|
System.EventHandler<MediaStreamBufferStatusChangedEventArgs> |
Remarks
The event handler will be executed on an internal thread.
API Level: 3
Declaration
C#Copypublic event EventHandler<MediaStreamSeekingOccurredEventArgs> SeekingOccurred
Event Type
Type | Description |
---|---|
System.EventHandler<MediaStreamSeekingOccurredEventArgs> |
Remarks
The event handler will be executed on an internal thread.