Class ASFSinkSettings
- Namespace
- VisioForge.Core.Types.X.Sinks
- Assembly
- VisioForge.Core.dll
ASF sink settings.
public class ASFSinkSettings : IMediaBlockSettingsInheritance
Implements
Inherited Members
Constructors
ASFSinkSettings()
Initializes a new instance of the VisioForge.Core.Types.X.Sinks.ASFSinkSettings class.
public ASFSinkSettings()ASFSinkSettings(string)
Initializes a new instance of the VisioForge.Core.Types.X.Sinks.ASFSinkSettings class.
public ASFSinkSettings(string filename)Parameters
filenamestring-
The filename.
Properties
Filename
Gets or sets the filename.
public string Filename { get; set; }Property Value
MergeStreamTags
Gets or sets a value indicating whether the stream metadata (received as events in the sink) should be merged to the main file metadata.
public bool MergeStreamTags { get; set; }Property Value
PacketSize
Gets or sets the size of the ASF packets.
public uint PacketSize { get; set; }Property Value
Padding
Gets or sets the padding size of the padding object to be added to the end of the header. If this less than 24 (the smaller size of an ASF object), no padding is added.
public ulong Padding { get; set; }Property Value
Preroll
Gets or sets the preroll time.
public TimeSpan Preroll { get; set; }Property Value
Streamable
Gets or sets a value indicating whether ASF file is streamable. If set to true, the output should be as if it is to be streamed and hence no indexes written or duration written.
public bool Streamable { get; set; }Property Value
Methods
CreateBlock()
Creates the media block instance for ASF sink.
public MediaBlock CreateBlock()Returns
- MediaBlock
-
A new instance of VisioForge.Core.MediaBlocks.Sinks.ASFSinkBlock configured with these settings.