Class IsoLiveHttpSource
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
Parameters
Gets or sets the source parameters. Can only be changed before the source is opened.
public override SourceParameters Parameters { get; set; }
Property Value
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
StreamCount
Gets the number of output streams managed by this source.
public override int StreamCount { get; }
Property Value
Methods
GetMediaType(int)
Gets a clone of the output media type for the specified stream.
public override MediaType GetMediaType(int streamIndex)
Parameters
streamIndexintThe zero-based index of the stream.
Returns
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
streamIndexintThe zero-based index of the stream to configure.
mediaTypeMediaTypeThe desired output MediaType.