Table of Contents

Class IsoLiveHttpSource

Namespace
VAST.File.ISO
Assembly
VAST.File.ISO.dll

Live HTTP source for ISO base media file format (MP4) streams. Pulls MP4 fragment data from an HTTP source, parses it using IsoFormatParser, and dispatches decoded samples with real-time playback pacing.

public class IsoLiveHttpSource : AbstractHttpSource, INetworkSource, IMediaSource, IReferenceable, IDisposable, INetworkEndPoint
Inheritance
IsoLiveHttpSource
Implements
Inherited Members

Constructors

IsoLiveHttpSource()

Initializes a new instance of the IsoLiveHttpSource class. Configures the IsoFormatParser for live network streaming with segment support.

public IsoLiveHttpSource()

Properties

Capabilities

Gets the list of source capabilities.

public override List<SourceCapability> Capabilities { get; }

Property Value

List<SourceCapability>

Parameters

Gets or sets the source parameters. Can only be changed before the source is opened.

public override SourceParameters Parameters { get; set; }

Property Value

SourceParameters

State

Gets or sets the current media state. The state can only transition forward to a higher value. Setting the state also updates the VAST.Media.OutputStreamManager and raises a state change notification.

public override MediaState State { get; protected set; }

Property Value

MediaState

StreamCount

Gets the number of output streams managed by this source.

public override int StreamCount { get; }

Property Value

int

Methods

GetMediaType(int)

Gets a clone of the output media type for the specified stream.

public override MediaType GetMediaType(int streamIndex)

Parameters

streamIndex int

The zero-based index of the stream.

Returns

MediaType

A cloned MediaType for the stream, or null if the index is out of range.

SetDesiredOutputType(int, MediaType)

Sets the desired output media type for the specified stream. This method must be called before the source is started. If the stream does not yet exist, intermediate streams are created.

public override Task SetDesiredOutputType(int streamIndex, MediaType mediaType)

Parameters

streamIndex int

The zero-based index of the stream to configure.

mediaType MediaType

The desired output MediaType.

Returns

Task

A Task representing the asynchronous operation.