Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::SegmentSettings (v0.5.1)

Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::SegmentSettings.

Segment settings for fmp4 and ts.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#segment_duration

def segment_duration() -> ::Google::Protobuf::Duration
Returns
  • (::Google::Protobuf::Duration) — Duration of the segments in seconds. The default is 6s. Note that segmentDuration must be greater than or equal to gop_duration, and segmentDuration must be divisible by gop_duration. Valid range is [2s, 20s].

    All mux_streams in the same manifest must have the same segment duration.

#segment_duration=

def segment_duration=(value) -> ::Google::Protobuf::Duration
Parameter
  • value (::Google::Protobuf::Duration) — Duration of the segments in seconds. The default is 6s. Note that segmentDuration must be greater than or equal to gop_duration, and segmentDuration must be divisible by gop_duration. Valid range is [2s, 20s].

    All mux_streams in the same manifest must have the same segment duration.

Returns
  • (::Google::Protobuf::Duration) — Duration of the segments in seconds. The default is 6s. Note that segmentDuration must be greater than or equal to gop_duration, and segmentDuration must be divisible by gop_duration. Valid range is [2s, 20s].

    All mux_streams in the same manifest must have the same segment duration.