public sealed class SegmentSettings : IMessage<SegmentSettings>, IEquatable<SegmentSettings>, IDeepCloneable<SegmentSettings>, IBufferMessage, IMessageReference documentation and code samples for the Live Stream v1 API class SegmentSettings.
Segment settings for fmp4 and ts.
Implements
IMessageSegmentSettings, IEquatableSegmentSettings, IDeepCloneableSegmentSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Video.LiveStream.V1Assembly
Google.Cloud.Video.LiveStream.V1.dll
Constructors
SegmentSettings()
public SegmentSettings()SegmentSettings(SegmentSettings)
public SegmentSettings(SegmentSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
SegmentSettings |
Properties
SegmentDuration
public Duration SegmentDuration { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
Duration |
|