Table of Contents

Class ASFSinkSettings

Namespace
VisioForge.Core.Types.X.Sinks
Assembly
VisioForge.Core.dll

ASF sink settings.

public class ASFSinkSettings : IMediaBlockSettings

Inheritance

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

filename string

The filename.

Properties

Filename

Gets or sets the filename.

public string Filename { get; set; }

Property Value

string

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

bool

PacketSize

Gets or sets the size of the ASF packets.

public uint PacketSize { get; set; }

Property Value

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.

public ulong Padding { get; set; }

Property Value

ulong

Preroll

Gets or sets the preroll time.

public TimeSpan Preroll { get; set; }

Property Value

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.

public bool Streamable { get; set; }

Property Value

bool

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.