https://github.com/jake-prickett/speechtotext-grpc-ios
https://github.com/jake-prickett/speechtotext-grpc-ios
grpc grpc-swift ios sample-app streaming swift
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jake-prickett/speechtotext-grpc-ios
- Owner: Jake-Prickett
- Created: 2020-04-12T18:58:01.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-05-09T20:51:49.000Z (almost 4 years ago)
- Last Synced: 2025-03-27T21:35:58.480Z (about 1 year ago)
- Topics: grpc, grpc-swift, ios, sample-app, streaming, swift
- Language: Swift
- Size: 3.09 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Speech-To-Text gRPC iOS Example
## Description
This application demonstrates Bidirectional Streaming to convert streamed audio data into text and display the Server processing live using gRPC Swift, built on top of SwiftNIO.
Check out the [Medium Article](https://medium.com/macoclock/bidirectional-streaming-with-grpc-swift-d11496ea0b3)!
## Technologies
* [gRPC Swift](https://github.com/grpc/grpc-swift)
* [Google Speech-To-Text API](https://cloud.google.com/speech-to-text)
* [SnapKit](https://github.com/SnapKit/SnapKit)
## Acquiring an API Key
This project requires a Google Cloud API Key. Please [register](https://cloud.google.com/apis/docs/getting-started) and [create an API key](https://cloud.google.com/docs/authentication/api-keys) in order to consume the API.
## Project Setup
1. Clone the repository
2. Navigate to the root directory
3. Run `make protos` to pull the most recent .proto files from the googleapis repository
4. run `make generate` to leverage the `protoc` plugin to generate the Swift interfaces
5. Open the `.xcodeproj`
6. Open the `Constants.swift` file and assign your generated Google Cloud API Key to the `kAPIKey` variable.
7. Run the application!
## Helpful Links
* [Getting Started with Speech APIs](https://cloud.google.com/speech-to-text/docs/quickstart)