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!
This project requires a Google Cloud API Key. Please register and create an API key in order to consume the API.
- Clone the repository
- Navigate to the root directory
- Run
make protos
to pull the most recent .proto files from the googleapis repository - run
make generate
to leverage theprotoc
plugin to generate the Swift interfaces - Open the
.xcodeproj
- Open the
Constants.swift
file and assign your generated Google Cloud API Key to thekAPIKey
variable. - Run the application!