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#
Copy
public class MediaStreamConfiguration : object
Inheritance
MediaStreamConfiguration

Properties

View Source

BufferMaxSize

Gets or sets the max size of the buffer.

Declaration
C#
Copy
public ulong BufferMaxSize { get; set; }
Property Value
Type Description
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.

API Level: 3
View Source

BufferMinThreshold

Gets or sets the minimum threshold of the buffer.

Declaration
C#
Copy
public uint BufferMinThreshold { get; set; }
Property Value
Type Description
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.

API Level: 3

Events

View Source

BufferStatusChanged

Occurs when the buffer underruns or overflows.

Declaration
C#
Copy
public event EventHandler<MediaStreamBufferStatusChangedEventArgs> BufferStatusChanged
Event Type
Type Description
EventHandler<MediaStreamBufferStatusChangedEventArgs>
Remarks

The event handler will be executed on an internal thread.

API Level: 3
View Source

SeekingOccurred

Occurs when the seeking is requested.

Declaration
C#
Copy
public event EventHandler<MediaStreamSeekingOccurredEventArgs> SeekingOccurred
Event Type
Type Description
EventHandler<MediaStreamSeekingOccurredEventArgs>
Remarks

The event handler will be executed on an internal thread.

API Level: 3

Extension Methods

See Also