Video Stitcher v1 API - Class PrefetchConfig (2.0.0)

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

Reference documentation and code samples for the Video Stitcher v1 API class PrefetchConfig.

The configuration for prefetch ads.

Inheritance

object > PrefetchConfig

Namespace

GoogleCloudGoogle.Cloud.VideoGoogle.Cloud.Video.StitcherV1

Assembly

Google.Cloud.Video.Stitcher.V1.dll

Constructors

PrefetchConfig()

public PrefetchConfig()

PrefetchConfig(PrefetchConfig)

public PrefetchConfig(PrefetchConfig other)
Parameter
NameDescription
otherPrefetchConfig

Properties

Enabled

public bool Enabled { get; set; }

Required. Indicates whether the option to prefetch ad requests is enabled.

Property Value
TypeDescription
bool

InitialAdRequestDuration

public Duration InitialAdRequestDuration { get; set; }

The duration in seconds of the part of the break to be prefetched. This field is only relevant if prefetch is enabled. You should set this duration to as long as possible to increase the benefits of prefetching, but not longer than the shortest ad break expected. For example, for a live event with 30s and 60s ad breaks, the initial duration should be set to 30s.

Property Value
TypeDescription
Duration