Table of Contents

Class HLSVariantStream

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

A variant stream of a multivariant HLS output (an EXT-X-STREAM-INF entry of the master playlist).

public class HLSVariantStream

Inheritance

Inherited Members

Constructors

HLSVariantStream(string, int)

Initializes a new instance of the VisioForge.Core.Types.X.Sinks.HLSVariantStream class.

public HLSVariantStream(string uri, int bandwidth)

Parameters

uri string

The media playlist URI, relative to the master playlist, e.g. hi/video.m3u8.

bandwidth int

The peak bitrate of the variant, in bits per second.

Properties

AudioGroupId

Gets or sets the group ID of the audio VisioForge.Core.Types.X.Sinks.HLSAlternateRendition this variant plays with.

public string AudioGroupId { get; set; }

Property Value

string

Bandwidth

Gets or sets the peak bitrate of the variant, in bits per second (the BANDWIDTH attribute).

public int Bandwidth { get; set; }

Property Value

int

Codecs

Gets or sets the CODECS attribute. When empty, the sink builds it from the stream caps.

public string Codecs { get; set; }

Property Value

string

IsIFrame

Gets or sets a value indicating whether this is an I-frame only variant (VisioForge.Core.Types.X.Sinks.HLSMultivariantMuxerType.MpegTs only).

public bool IsIFrame { get; set; }

Property Value

bool

Uri

Gets or sets the media playlist URI, relative to the master playlist. Its segments go to the folder the URI names, so every variant and rendition needs a folder of its own - except that with VisioForge.Core.Types.X.Sinks.HLSMultivariantMuxerType.MpegTs a video and an audio input with the identical URI are muxed, and the one added first describes the stream in the master playlist.

public string Uri { get; set; }

Property Value

string

VideoGroupId

Gets or sets the group ID of the video VisioForge.Core.Types.X.Sinks.HLSAlternateRendition this variant plays with.

public string VideoGroupId { get; set; }

Property Value

string