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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSegmentSettings\u003c/code\u003e class within the Google Cloud Video Live Stream v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSegmentSettings\u003c/code\u003e is used to configure segment properties for \u003ccode\u003efmp4\u003c/code\u003e and \u003ccode\u003ets\u003c/code\u003e video formats, with a default segment duration of 6 seconds.\u003c/p\u003e\n"],["\u003cp\u003eThe latest available version is 1.8.0, but multiple versions, from 1.0.0 to 1.8.0, of \u003ccode\u003eSegmentSettings\u003c/code\u003e are documented.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSegmentDuration\u003c/code\u003e property, modifiable through the class, allows adjustment of segment length between 2 and 20 seconds, subject to certain constraints like being divisible by the gop duration.\u003c/p\u003e\n"],["\u003cp\u003eThe SegmentSettings class implements multiple interfaces such as IMessage, IEquatable, IDeepCloneable and IBufferMessage.\u003c/p\u003e\n"]]],[],null,[]]