class Google::Apis::TranscoderV1::SegmentSettings

Segment settings for ‘ts`, `fmp4` and `vtt`.

Attributes

individual_segments[RW]

Required. Create an individual segment file. The default is ‘false`. Corresponds to the JSON property `individualSegments` @return [Boolean]

individual_segments?[RW]

Required. Create an individual segment file. The default is ‘false`. Corresponds to the JSON property `individualSegments` @return [Boolean]

segment_duration[RW]

Duration of the segments in seconds. The default is ‘6.0s`. Note that ` segmentDuration` must be greater than or equal to [`gopDuration`](videostream) , and `segmentDuration` must be divisible by [`gopDuration`](videostream). Corresponds to the JSON property `segmentDuration` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/transcoder_v1/classes.rb, line 1499
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/transcoder_v1/classes.rb, line 1504
def update!(**args)
  @individual_segments = args[:individual_segments] if args.key?(:individual_segments)
  @segment_duration = args[:segment_duration] if args.key?(:segment_duration)
end