public sealed class SegmentSettings : IMessage<SegmentSettings>, IEquatable<SegmentSettings>, IDeepCloneable<SegmentSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Live Stream v1 API class SegmentSettings.
Duration of the segments in seconds. The default is 6s. Note that
segmentDuration must be greater than or equal to
[gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration], and
segmentDuration must be divisible by
[gop_duration][google.cloud.video.livestream.v1.VideoStream.H264CodecSettings.gop_duration].
Valid range is [2s, 20s].
All [mux_streams][google.cloud.video.livestream.v1.Manifest.mux_streams] in the same manifest must have the
same segment duration.
[[["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 latest version of the `SegmentSettings` class in the Live Stream v1 API is 1.8.0, with other available versions ranging from 1.0.0 to 1.7.0."],["`SegmentSettings` is a class within the `Google.Cloud.Video.LiveStream.V1` namespace that handles segment settings for `fmp4` and `ts` formats."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `SegmentSettings` class has a `SegmentDuration` property, which defines the duration of segments in seconds, with a valid range between 2 and 20 seconds, having a default value of 6 seconds, and must also be divisible by the gop duration."],["This class provides two constructors: a default constructor `SegmentSettings()` and one that takes another `SegmentSettings` object as an argument, `SegmentSettings(SegmentSettings other)`."]]],[]]