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 : EventArgsInheritance
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
Constructors
TimeshiftFileEventArgs(string)
Initializes a new instance of the VisioForge.Core.Types.Events.TimeshiftFileEventArgs class.
public TimeshiftFileEventArgs(string filename)Parameters
filenamestring-
File name.
Properties
Filename
Gets the full path to the timeshift buffer file.
public string Filename { get; }Property Value
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