Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Adding Alternative Language Support to AWS Transcribe #132

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lylepratt
Copy link
Sponsor

@lylepratt lylepratt commented Sep 6, 2023

@davehorton
Copy link
Collaborator

davehorton commented Sep 24, 2023

this does not compile for me. Did it for you @lylepratt ? You've tested this, right?

make[4]: Entering directory '/usr/local/src/freeswitch/src/mod/applications/mod_aws_transcribe'
  CXX      mod_aws_transcribe_la-aws_transcribe_glue.lo
aws_transcribe_glue.cpp: In constructor ‘GStreamer::GStreamer(const char*, const char*, u_int16_t, char*, int, uint32_t, const char*, const char*, const char*, responseHandler_t)’:
aws_transcribe_glue.cpp:116:14: error: ‘class Aws::TranscribeStreamingService::Model::StartStreamTranscriptionRequest’ has no member named ‘SetEnablePartialResultsStabilization’
  116 |    m_request.SetEnablePartialResultsStabilization(true);
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aws_transcribe_glue.cpp:117:14: error: ‘class Aws::TranscribeStreamingService::Model::StartStreamTranscriptionRequest’ has no member named ‘SetPartialResultsStability’
  117 |    m_request.SetPartialResultsStability(PartialResultsStabilityMapper::GetPartialResultsStabilityForName(var));
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~
aws_transcribe_glue.cpp:117:41: error: ‘PartialResultsStabilityMapper’ has not been declared
  117 |    m_request.SetPartialResultsStability(PartialResultsStabilityMapper::GetPartialResultsStabilityForName(var));
      |                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
aws_transcribe_glue.cpp:120:14: error: ‘class Aws::TranscribeStreamingService::Model::StartStreamTranscriptionRequest’ has no member named ‘SetIdentifyLanguage’
  120 |    m_request.SetIdentifyLanguage(true);
      |              ^~~~~~~~~~~~~~~~~~~
aws_transcribe_glue.cpp:121:14: error: ‘class Aws::TranscribeStreamingService::Model::StartStreamTranscriptionRequest’ has no member named ‘SetLanguageOptions’; did you mean ‘SetLanguageCode’?
  121 |    m_request.SetLanguageOptions(var);
      |              ^~~~~~~~~~~~~~~~~~
      |              SetLanguageCode
aws_transcribe_glue.cpp:122:14: error: ‘class Aws::TranscribeStreamingService::Model::StartStreamTranscriptionRequest’ has no member named ‘SetPreferredLanguage’
  122 |    m_request.SetPreferredLanguage(LanguageCodeMapper::GetLanguageCodeForName(lang));
      |              ^~~~~~~~~~~~~~~~~~~~

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants