Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Transcribe streaming example for Swift #7148

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

Conversation

shepazon
Copy link
Contributor

@shepazon shepazon commented Dec 11, 2024

This PR adds a Swift SDK example showing how to use Transcribe streaming, and how to use event streaming, in one fairly simple example program. Requires a spoken audio file in PCM, FLAC, or Ogg format (though I've had poor luck with Ogg in Transcribe, personally).

There's a preview build of this here: http://sheppycloud.aka.corp.amazon.com:4301/sdk-for-swift/latest/developer-guide/swift_transcribe-streaming_code_examples.html


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

This example shows how to use Transcribe streaming from within a Swift program
using the AWS SDK for Swift. It simply runs a specified file through the
transcription process, outputting each fragment of transcribed text as it's
received.
@shepazon shepazon self-assigned this Dec 11, 2024
@shepazon shepazon added Swift This issue relates to the AWS SDK for Swift Task A general update to the code base for language clarification, missing actions, tests, etc. labels Dec 11, 2024
Added the rest of the metadata I need. Also renamed and moved around some of
the files and types. Added a Readme. Other improvements to the source code for
use in snippets.
@shepazon shepazon marked this pull request as ready for review December 12, 2024 22:06
@shepazon shepazon requested review from meyertst-aws and removed request for DavidSouther December 13, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Swift This issue relates to the AWS SDK for Swift Task A general update to the code base for language clarification, missing actions, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant