public sealed class SegmentSettings : IMessage<SegmentSettings>, IEquatable<SegmentSettings>, IDeepCloneable<SegmentSettings>, IBufferMessage, IMessage
Reference documentation and code samples for the Transcoder v1 API class SegmentSettings.
Segment settings for ts
, fmp4
and vtt
.
Implements
IMessage<SegmentSettings>, IEquatable<SegmentSettings>, IDeepCloneable<SegmentSettings>, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Constructors
SegmentSettings()
public SegmentSettings()
SegmentSettings(SegmentSettings)
public SegmentSettings(SegmentSettings other)
Parameter | |
---|---|
Name | Description |
other | SegmentSettings |
Properties
IndividualSegments
public bool IndividualSegments { get; set; }
Required. Create an individual segment file. The default is false
.
Property Value | |
---|---|
Type | Description |
Boolean |
SegmentDuration
public Duration SegmentDuration { get; set; }
Duration of the segments in seconds. The default is 6.0s
. Note that
segmentDuration
must be greater than or equal to
gopDuration
, and segmentDuration
must be divisible by
gopDuration
.
Property Value | |
---|---|
Type | Description |
Duration |