Table of Contents

Class TimeshiftFileEventArgs

Namespace
VisioForge.Core.Types.Events
Assembly
VisioForge.Core.dll

Provides data for the timeshift file event that occurs when a new timeshift buffer file is created during live TV/stream viewing with pause capabilities.

public class TimeshiftFileEventArgs : EventArgs

Inheritance

Inherited Members

Remarks

Timeshift functionality allows users to pause, rewind, and fast-forward live content by buffering it to disk. This event fires when:

  • A new timeshift buffer file is created at the start of viewing
  • The buffer rotates to a new file due to size/duration limits
  • Manual buffer management operations create new files
Timeshift files are typically temporary and managed automatically, but this event allows for custom management, archiving, or monitoring of buffer usage.

Constructors

TimeshiftFileEventArgs(string)

Initializes a new instance of the VisioForge.Core.Types.Events.TimeshiftFileEventArgs class.

public TimeshiftFileEventArgs(string filename)

Parameters

filename string

File name.

Properties

Filename

Gets the full path to the timeshift buffer file.

public string Filename { get; }

Property Value

string

Remarks

The filename typically includes:

  • A timestamp or sequence number for ordering
  • The channel or stream identifier
  • Appropriate extension (.ts, .m2ts, etc.) based on format
These files are usually stored in a temporary directory and should be treated as transient unless explicitly preserved.