Table of Contents

Class SegmentExpiredEventArgs

Namespace
VAST.HLS
Assembly
VAST.HLS.dll

Provides data for the segment expired event, raised when an HLS segment is about to be removed from the playlist.

public class SegmentExpiredEventArgs
Inheritance
SegmentExpiredEventArgs
Inherited Members

Constructors

SegmentExpiredEventArgs()

public SegmentExpiredEventArgs()

Properties

Content

Gets or sets the segment content stream.

public Stream Content { get; }

Property Value

Stream

FileType

Gets or sets the segment file type extension.

public string FileType { get; }

Property Value

string

PlaylistIndex

Gets or sets the playlist index that the expired segment belongs to.

public int PlaylistIndex { get; }

Property Value

int

RetentionUri

Gets or sets user-defined URI to download segment from. User can set retention URI to keep the segment in the playlist indefinitely. Handling of retention URI is completely a user's responsibility.

public string RetentionUri { get; set; }

Property Value

string

SegmentNo

Gets or sets the segment sequence number which is about to expire. The user can set RetentionUri to keep the segment in the playlist indefinitely. Handling of the retention URI is the user's responsibility.

public long SegmentNo { get; }

Property Value

long