Class SegmentSinkFileNameEventArgs
- Namespace
- VisioForge.Core.Types.X.Sinks
- Assembly
- VisioForge.Core.dll
Provides data for a segment file-name request, raised just before a new segment file is
created so the application can supply a custom file name (for example, one that embeds the
segment start date/time). Set VisioForge.Core.Types.X.Sinks.SegmentSinkFileNameEventArgs.FileName to the desired full path; leave it
null or empty to keep the default name built from the location pattern passed to the
split settings (for example "video_%05d.mp4").
public class SegmentSinkFileNameEventArgs : EventArgsInheritance
Inherited Members
Constructors
SegmentSinkFileNameEventArgs(uint)
Initializes a new instance of the VisioForge.Core.Types.X.Sinks.SegmentSinkFileNameEventArgs class.
public SegmentSinkFileNameEventArgs(uint fragmentIndex)Parameters
fragmentIndexuint-
The zero-based fragment index that is about to be created.
Properties
FileName
Gets or sets the full path to use for the new segment file. When left null or
empty, the default name built from the split-settings location pattern is used.
public string FileName { get; set; }Property Value
FragmentIndex
Gets the zero-based index of the segment fragment that is about to be created.
public uint FragmentIndex { get; }