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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `PrefetchConfig` class in the Google Cloud Video Stitcher v1 API allows configuration of prefetch ads."],["This class is part of the `Google.Cloud.Video.Stitcher.V1` namespace and is available in the `Google.Cloud.Video.Stitcher.V1.dll` assembly."],["The latest version of the `PrefetchConfig` class is 3.3.0, and documentation for previous versions, starting from 1.0.0, is available."],["Key properties of the class include `Enabled`, which toggles ad prefetching, and `InitialAdRequestDuration`, which sets the duration of the break to prefetch, where a longer duration is recommended, though not longer than the shortest break expected."],["The `PrefetchConfig` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."]]],[]]