Live Stream v1 API - Class Manifest (1.0.0)

public sealed class Manifest : IMessage<Manifest>, IEquatable<Manifest>, IDeepCloneable<Manifest>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class Manifest.

Manifest configuration.

Inheritance

Object > Manifest

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

Manifest()

public Manifest()

Manifest(Manifest)

public Manifest(Manifest other)
Parameter
NameDescription
otherManifest

Properties

FileName

public string FileName { get; set; }

The name of the generated file. The default is manifest with the extension suffix corresponding to the Manifest [type][google.cloud.video.livestream.v1.Manifest.type]. If multiple manifests are added to the channel, each must have a unique file name.

Property Value
TypeDescription
String

MaxSegmentCount

public int MaxSegmentCount { get; set; }

Maximum number of segments that this manifest holds. Once the manifest reaches this maximum number of segments, whenever a new segment is added to the manifest, the oldest segment will be removed from the manifest. The minimum value is 3 and the default value is 5.

Property Value
TypeDescription
Int32

MuxStreams

public RepeatedField<string> MuxStreams { get; }

Required. List of MuxStream [key][google.cloud.video.livestream.v1.MuxStream.key]s that should appear in this manifest.

  • For HLS, either fmp4 or ts mux streams can be specified but not mixed.
  • For DASH, only fmp4 mux streams can be specified.
Property Value
TypeDescription
RepeatedField<String>

SegmentKeepDuration

public Duration SegmentKeepDuration { get; set; }

How long to keep a segment on the output Google Cloud Storage bucket after it is removed from the manifest. This field should be large enough to cover the manifest propagation delay. Otherwise, a player could receive 404 errors while accessing segments which are listed in the manifest that the player has, but were already deleted from the output Google Cloud Storage bucket. Default value is 60s.

Property Value
TypeDescription
Duration

Type

public Manifest.Types.ManifestType Type { get; set; }

Required. Type of the manifest, can be HLS or DASH.

Property Value
TypeDescription
Manifest.Types.ManifestType