Class ASFSinkSettings
ASF sink settings.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.Sinks
Assembly: VisioForge.Core.dll
Syntax
public class ASFSinkSettings : IMediaBlockSettings
Constructors
ASFSinkSettings()
Initializes a new instance of the ASFSinkSettings class.
Declaration
public ASFSinkSettings()
ASFSinkSettings(string)
Initializes a new instance of the ASFSinkSettings class.
Declaration
public ASFSinkSettings(string filename)
Parameters
Type | Name | Description |
---|---|---|
string | filename | The filename. |
Properties
Filename
Gets or sets the filename.
Declaration
public string Filename { get; set; }
Property Value
Type | Description |
---|---|
string | The filename. |
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.
Declaration
public bool MergeStreamTags { get; set; }
Property Value
Type | Description |
---|---|
bool |
PacketSize
Gets or sets the size of the ASF packets.
Declaration
public uint PacketSize { get; set; }
Property Value
Type | Description |
---|---|
uint |
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.
Declaration
public ulong Padding { get; set; }
Property Value
Type | Description |
---|---|
ulong |
Preroll
Gets or sets the preroll time.
Declaration
public TimeSpan Preroll { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
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.
Declaration
public bool Streamable { get; set; }
Property Value
Type | Description |
---|---|
bool |
Methods
CreateBlock()
Creates the block.
Declaration
public MediaBlock CreateBlock()
Returns
Type | Description |
---|---|
MediaBlock | MediaBlock. |