Table of Contents

Enum MediaStartupMode

Namespace
VAST.Media
Assembly
VAST.Common.dll

Specifies the mode used to start media delivery in sessions working with multiple streams (e.g., video and audio).

public enum MediaStartupMode

Fields

Asap = 0

Delivery starts as soon as the first media frame of any stream is received.

WaitForAllKeyframes = 2

Delivery starts as soon as keyframes of all streams are received.

This mode also guarantees that gaps among the first frame timestamps of different streams are within the expected frame duration.

WaitForAnchorKeyframe = 1

Delivery starts as soon as the first keyframe of the anchor stream is received.

The anchor stream is the first video stream for sessions with video, or the first audio stream for audio-only sessions. This is the default mode for most implementations.

Remarks

This can be used in implementations such as accepting media data from an external source, pushing media data to an external server, or writing media data to a file.