com.google.cloud.video.livestream.v1.AudioStreamOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-live-stream-v1 Show documentation
Show all versions of proto-google-cloud-live-stream-v1 Show documentation
Proto library for google-cloud-live-stream
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/video/livestream/v1/outputs.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.video.livestream.v1;
public interface AudioStreamOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.video.livestream.v1.AudioStream)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Specifies whether pass through (transmuxing) is enabled or not.
* If set to `true`, the rest of the settings, other than `mapping`, will be
* ignored. The default is `false`.
*
*
* bool transmux = 8;
*
* @return The transmux.
*/
boolean getTransmux();
/**
*
*
*
* The codec for this audio stream. The default is `aac`.
*
* Supported audio codecs:
*
* - `aac`
*
*
* string codec = 1;
*
* @return The codec.
*/
java.lang.String getCodec();
/**
*
*
*
* The codec for this audio stream. The default is `aac`.
*
* Supported audio codecs:
*
* - `aac`
*
*
* string codec = 1;
*
* @return The bytes for codec.
*/
com.google.protobuf.ByteString getCodecBytes();
/**
*
*
*
* Required. Audio bitrate in bits per second. Must be between 1 and
* 10,000,000.
*
*
* int32 bitrate_bps = 2 [(.google.api.field_behavior) = REQUIRED];
*
* @return The bitrateBps.
*/
int getBitrateBps();
/**
*
*
*
* Number of audio channels. Must be between 1 and 6. The default is 2.
*
*
* int32 channel_count = 3;
*
* @return The channelCount.
*/
int getChannelCount();
/**
*
*
*
* A list of channel names specifying layout of the audio channels.
* This only affects the metadata embedded in the container headers, if
* supported by the specified format. The default is `[fl, fr]`.
*
* Supported channel names:
*
* - `fl` - Front left channel
* - `fr` - Front right channel
* - `sl` - Side left channel
* - `sr` - Side right channel
* - `fc` - Front center channel
* - `lfe` - Low frequency
*
*
* repeated string channel_layout = 4;
*
* @return A list containing the channelLayout.
*/
java.util.List getChannelLayoutList();
/**
*
*
*
* A list of channel names specifying layout of the audio channels.
* This only affects the metadata embedded in the container headers, if
* supported by the specified format. The default is `[fl, fr]`.
*
* Supported channel names:
*
* - `fl` - Front left channel
* - `fr` - Front right channel
* - `sl` - Side left channel
* - `sr` - Side right channel
* - `fc` - Front center channel
* - `lfe` - Low frequency
*
*
* repeated string channel_layout = 4;
*
* @return The count of channelLayout.
*/
int getChannelLayoutCount();
/**
*
*
*
* A list of channel names specifying layout of the audio channels.
* This only affects the metadata embedded in the container headers, if
* supported by the specified format. The default is `[fl, fr]`.
*
* Supported channel names:
*
* - `fl` - Front left channel
* - `fr` - Front right channel
* - `sl` - Side left channel
* - `sr` - Side right channel
* - `fc` - Front center channel
* - `lfe` - Low frequency
*
*
* repeated string channel_layout = 4;
*
* @param index The index of the element to return.
* @return The channelLayout at the given index.
*/
java.lang.String getChannelLayout(int index);
/**
*
*
*
* A list of channel names specifying layout of the audio channels.
* This only affects the metadata embedded in the container headers, if
* supported by the specified format. The default is `[fl, fr]`.
*
* Supported channel names:
*
* - `fl` - Front left channel
* - `fr` - Front right channel
* - `sl` - Side left channel
* - `sr` - Side right channel
* - `fc` - Front center channel
* - `lfe` - Low frequency
*
*
* repeated string channel_layout = 4;
*
* @param index The index of the value to return.
* @return The bytes of the channelLayout at the given index.
*/
com.google.protobuf.ByteString getChannelLayoutBytes(int index);
/**
*
*
*
* The mapping for the input streams and audio channels.
*
*
* repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5;
*/
java.util.List getMappingList();
/**
*
*
*
* The mapping for the input streams and audio channels.
*
*
* repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5;
*/
com.google.cloud.video.livestream.v1.AudioStream.AudioMapping getMapping(int index);
/**
*
*
*
* The mapping for the input streams and audio channels.
*
*
* repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5;
*/
int getMappingCount();
/**
*
*
*
* The mapping for the input streams and audio channels.
*
*
* repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5;
*/
java.util.List extends com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder>
getMappingOrBuilderList();
/**
*
*
*
* The mapping for the input streams and audio channels.
*
*
* repeated .google.cloud.video.livestream.v1.AudioStream.AudioMapping mapping = 5;
*/
com.google.cloud.video.livestream.v1.AudioStream.AudioMappingOrBuilder getMappingOrBuilder(
int index);
/**
*
*
*
* The audio sample rate in Hertz. The default is 48000 Hertz.
*
*
* int32 sample_rate_hertz = 6;
*
* @return The sampleRateHertz.
*/
int getSampleRateHertz();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy