Skip to content

How to use a buffer with StartStreamTranscriptionAsync ? #2914

Answered by jmklix
ricardogreis asked this question in Q&A
Discussion options

You must be logged in to vote

Have you taken a look at our samples repo? This transcribe sample might be what you're looking for:

// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#include <aws/core/Aws.h>
#include <aws/core/utils/threading/Semaphore.h>
#include <aws/core/auth/AWSCredentialsProviderChain.h>
#include <aws/transcribestreaming/TranscribeStreamingServiceClient.h>
#include <aws/transcribestreaming/model/StartStreamTranscriptionHandler.h>
#include <aws/transcribestreaming/model/StartStreamTranscriptionRequest.h>
#include <aws/core/platform/FileSystem.h>
#include <fstream>
#include <chrono>
#include <thread>
#include <array>

using namespace Aws;
using

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ricardogreis
Comment options

@jmklix
Comment options

Answer selected by jmklix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants