Interface AudioStream.AudioMappingOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AudioStream.AudioMapping,AudioStream.AudioMapping.Builder
- Enclosing class:
- AudioStream
public static interface AudioStream.AudioMappingOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoubleAudio volume control in dB.intRequired.Required.com.google.protobuf.ByteStringRequired.intRequired.intRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInputKey
String getInputKey()Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this audio mapping applies to. If an active input doesn't have an audio mapping, the primary audio track in the input stream will be selected.
string input_key = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The inputKey.
-
getInputKeyBytes
com.google.protobuf.ByteString getInputKeyBytes()Required. The `Channel` [InputAttachment.key][google.cloud.video.livestream.v1.InputAttachment.key] that identifies the input that this audio mapping applies to. If an active input doesn't have an audio mapping, the primary audio track in the input stream will be selected.
string input_key = 6 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for inputKey.
-
getInputTrack
int getInputTrack()Required. The zero-based index of the track in the input stream. All [mapping][google.cloud.video.livestream.v1.AudioStream.mapping]s in the same [AudioStream][google.cloud.video.livestream.v1.AudioStream] must have the same input track.
int32 input_track = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The inputTrack.
-
getInputChannel
int getInputChannel()Required. The zero-based index of the channel in the input stream.
int32 input_channel = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The inputChannel.
-
getOutputChannel
int getOutputChannel()Required. The zero-based index of the channel in the output audio stream. Must be consistent with the [input_channel][google.cloud.video.livestream.v1.AudioStream.AudioMapping.input_channel].
int32 output_channel = 4 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The outputChannel.
-
getGainDb
double getGainDb()Audio volume control in dB. Negative values decrease volume, positive values increase. The default is 0.
double gain_db = 5;- Returns:
- The gainDb.
-