AlexaClientSDK
3.0.0
A cross-platform, modular SDK for interacting with the Alexa Voice Service
|
Audio encoder parameters. More...
#include <AudioEncoderParams.h>
Public Attributes | |
std::chrono::milliseconds | readTimeoutMs |
Reading timeout from input audio stream. More... | |
std::chrono::milliseconds | writeTimeoutMs |
Timeout between write retrying. More... | |
std::chrono::milliseconds | stopTimeoutMs |
Timeout for graceful stop operation. More... | |
std::size_t | maxOutputStreamReaders |
The maximum number of readers of the output stream. More... | |
std::size_t | maxOutputStreamBufferedPackets |
The maximum number of packets to be buffered to the output stream. More... | |
Audio encoder parameters.
These parameters affect performance and memory consumption by audio encoder.
std::size_t alexaClientSDK::audioEncoder::AudioEncoderParams::maxOutputStreamBufferedPackets |
The maximum number of packets to be buffered to the output stream.
Audio encoder constructs the output stream and it needs to know how much data to buffer.
std::size_t alexaClientSDK::audioEncoder::AudioEncoderParams::maxOutputStreamReaders |
The maximum number of readers of the output stream.
Audio encoder constructs the output stream and it needs to know how many readers will consume the data.
std::chrono::milliseconds alexaClientSDK::audioEncoder::AudioEncoderParams::readTimeoutMs |
Reading timeout from input audio stream.
Read timeout control how frequently audio encoder checks for stop signal while reading frame.
std::chrono::milliseconds alexaClientSDK::audioEncoder::AudioEncoderParams::stopTimeoutMs |
Timeout for graceful stop operation.
This timeout controls for how long the audio encoder tries to stop operation gracefully. Audio encoder will abort operation after timeout elapses.
std::chrono::milliseconds alexaClientSDK::audioEncoder::AudioEncoderParams::writeTimeoutMs |
Timeout between write retrying.
Write timeout control how frequently audio encoder checks for stop signal while writing encoded frame.
AlexaClientSDK 3.0.0 - Copyright 2016-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. Licensed under the Apache License, Version 2.0