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."],[[["This webpage provides documentation for the `SegmentSettings` class within the Google Cloud Live Stream v1 API, specifically version 1.3.0."],["`SegmentSettings` is used to configure segment settings for `fmp4` and `ts` formats, and it implements multiple interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers two constructors, one default and one that accepts another `SegmentSettings` object as a parameter for cloning."],["The primary property, `SegmentDuration`, allows setting the duration of segments in seconds, with a valid range of 2 to 20 seconds, and must be greater than or equal to, as well as divisible by the `gop_duration`."],["The documentation includes links to earlier versions of the `SegmentSettings` such as 1.7.0, 1.6.0, 1.5.0, 1.4.0, 1.2.0, 1.1.0, and 1.0.0, with 1.8.0 being the latest."]]],[]]