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 HLSVariantStreamInheritance
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
uristring-
The media playlist URI, relative to the master playlist, e.g.
hi/video.m3u8. bandwidthint-
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
Bandwidth
Gets or sets the peak bitrate of the variant, in bits per second (the BANDWIDTH attribute).
public int Bandwidth { get; set; }Property Value
Codecs
Gets or sets the CODECS attribute. When empty, the sink builds it from the stream caps.
public string Codecs { get; set; }Property Value
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
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
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; }