Interface MuxStreamOrBuilder (0.43.0)

public interface MuxStreamOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainer()

public abstract String getContainer()

The container format. The default is fmp4.

Supported container formats:

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

string container = 3;

Returns
TypeDescription
String

The container.

getContainerBytes()

public abstract ByteString getContainerBytes()

The container format. The default is fmp4.

Supported container formats:

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

string container = 3;

Returns
TypeDescription
ByteString

The bytes for container.

getElementaryStreams(int index)

public abstract String getElementaryStreams(int index)

List of ElementaryStream keys multiplexed in this stream.

  • For fmp4 container, must contain either one video or one audio stream.
  • For ts container, must contain exactly one audio stream and up to one video stream.

repeated string elementary_streams = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The elementaryStreams at the given index.

getElementaryStreamsBytes(int index)

public abstract ByteString getElementaryStreamsBytes(int index)

List of ElementaryStream keys multiplexed in this stream.

  • For fmp4 container, must contain either one video or one audio stream.
  • For ts container, must contain exactly one audio stream and up to one video stream.

repeated string elementary_streams = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the elementaryStreams at the given index.

getElementaryStreamsCount()

public abstract int getElementaryStreamsCount()

List of ElementaryStream keys multiplexed in this stream.

  • For fmp4 container, must contain either one video or one audio stream.
  • For ts container, must contain exactly one audio stream and up to one video stream.

repeated string elementary_streams = 4;

Returns
TypeDescription
int

The count of elementaryStreams.

getElementaryStreamsList()

public abstract List<String> getElementaryStreamsList()

List of ElementaryStream keys multiplexed in this stream.

  • For fmp4 container, must contain either one video or one audio stream.
  • For ts container, must contain exactly one audio stream and up to one video stream.

repeated string elementary_streams = 4;

Returns
TypeDescription
List<String>

A list containing the elementaryStreams.

getEncryptionId()

public abstract String getEncryptionId()

Identifier of the encryption configuration to use. If omitted, output will be unencrypted.

string encryption_id = 6;

Returns
TypeDescription
String

The encryptionId.

getEncryptionIdBytes()

public abstract ByteString getEncryptionIdBytes()

Identifier of the encryption configuration to use. If omitted, output will be unencrypted.

string encryption_id = 6;

Returns
TypeDescription
ByteString

The bytes for encryptionId.

getKey()

public abstract String getKey()

A unique key for this multiplexed stream.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

A unique key for this multiplexed stream.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getSegmentSettings()

public abstract SegmentSettings getSegmentSettings()

Segment settings for fmp4 and ts.

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

Returns
TypeDescription
SegmentSettings

The segmentSettings.

getSegmentSettingsOrBuilder()

public abstract SegmentSettingsOrBuilder getSegmentSettingsOrBuilder()

Segment settings for fmp4 and ts.

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

Returns
TypeDescription
SegmentSettingsOrBuilder

hasSegmentSettings()

public abstract boolean hasSegmentSettings()

Segment settings for fmp4 and ts.

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

Returns
TypeDescription
boolean

Whether the segmentSettings field is set.