Header

FlvRootPackage.Header property

Gets the FLV header package.

public FlvHeader Header { get; }

Property Value

The FLV header package.

Remarks

Learn more

Examples

This example shows how to read FLV header properties.

using (Metadata metadata = new Metadata(Constants.InputFlv))
{
    var root = metadata.GetRootPackage<FlvRootPackage>();

    Console.WriteLine(root.Header.Version);
    Console.WriteLine(root.Header.HasAudioTags);
    Console.WriteLine(root.Header.HasVideoTags);
    Console.WriteLine(root.Header.TypeFlags);
}

See Also