Interface MuxStreamOrBuilder (1.0.4)

publicinterface MuxStreamOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainer()

publicabstractStringgetContainer()

The container format. The default is mp4 Supported container formats:

  • ts
  • fmp4- the corresponding file extension is .m4s
  • mp4
  • vtt

string container = 3;

Returns
Type Description
String

The container.

getContainerBytes()

publicabstractByteStringgetContainerBytes()

The container format. The default is mp4 Supported container formats:

  • ts
  • fmp4- the corresponding file extension is .m4s
  • mp4
  • vtt

string container = 3;

Returns
Type Description
ByteString

The bytes for container.

getElementaryStreams(int index)

publicabstractStringgetElementaryStreams(intindex)

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The elementaryStreams at the given index.

getElementaryStreamsBytes(int index)

publicabstractByteStringgetElementaryStreamsBytes(intindex)

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the elementaryStreams at the given index.

getElementaryStreamsCount()

publicabstractintgetElementaryStreamsCount()

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Returns
Type Description
int

The count of elementaryStreams.

getElementaryStreamsList()

publicabstractList<String>getElementaryStreamsList()

List of ElementaryStream.keys multiplexed in this stream.

repeated string elementary_streams = 4;

Returns
Type Description
List<String>

A list containing the elementaryStreams.

getFileName()

publicabstractStringgetFileName()

The name of the generated file. The default is MuxStream.key with the extension suffix corresponding to the MuxStream.container. Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as mux_stream0000000123.ts.

string file_name = 2;

Returns
Type Description
String

The fileName.

getFileNameBytes()

publicabstractByteStringgetFileNameBytes()

The name of the generated file. The default is MuxStream.key with the extension suffix corresponding to the MuxStream.container. Individual segments also have an incremental 10-digit zero-padded suffix starting from 0 before the extension, such as mux_stream0000000123.ts.

string file_name = 2;

Returns
Type Description
ByteString

The bytes for fileName.

getKey()

publicabstractStringgetKey()

A unique key for this multiplexed stream. HLS media manifests will be named MuxStream.key with the .m3u8 extension suffix.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

publicabstractByteStringgetKeyBytes()

A unique key for this multiplexed stream. HLS media manifests will be named MuxStream.key with the .m3u8 extension suffix.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getSegmentSettings()

publicabstractSegmentSettingsgetSegmentSettings()

Segment settings for ts, fmp4 and vtt.

.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;

Returns
Type Description
SegmentSettings

The segmentSettings.

getSegmentSettingsOrBuilder()

publicabstractSegmentSettingsOrBuildergetSegmentSettingsOrBuilder()

Segment settings for ts, fmp4 and vtt.

.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;

Returns
Type Description

hasSegmentSettings()

publicabstractbooleanhasSegmentSettings()

Segment settings for ts, fmp4 and vtt.

.google.cloud.video.transcoder.v1.SegmentSettings segment_settings = 5;

Returns
Type Description
boolean

Whether the segmentSettings field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.