Live Stream v1 API - Class SegmentSettings (1.0.0)

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.

Segment settings for fmp4 and ts.

Inheritance

Object > SegmentSettings

Namespace

Google.Cloud.Video.LiveStream.V1

Assembly

Google.Cloud.Video.LiveStream.V1.dll

Constructors

SegmentSettings()

public SegmentSettings()

SegmentSettings(SegmentSettings)

public SegmentSettings(SegmentSettings other)
Parameter
NameDescription
otherSegmentSettings

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
TypeDescription
Duration