Interface MuxStreamOrBuilder (0.49.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
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()

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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for encryptionId.

getKey()

public abstract String getKey()

A unique key for this multiplexed stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public abstract ByteString getKeyBytes()

A unique key for this multiplexed stream. The key must be 1-63 characters in length. The key must begin and end with a letter (regardless of case) or a number, but can contain dashes or underscores in between.

string key = 1;

Returns
Type Description
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
Type Description
SegmentSettings

The segmentSettings.

getSegmentSettingsOrBuilder()

public abstract SegmentSettingsOrBuilder getSegmentSettingsOrBuilder()

Segment settings for fmp4 and ts.

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

Returns
Type Description
SegmentSettingsOrBuilder

hasSegmentSettings()

public abstract boolean hasSegmentSettings()

Segment settings for fmp4 and ts.

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

Returns
Type Description
boolean

Whether the segmentSettings field is set.