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 protosto pull the most recent .proto files from the googleapis repository - run
make generateto leverage theprotocplugin to generate the Swift interfaces - Open the
.xcodeproj - Open the
Constants.swiftfile and assign your generated Google Cloud API Key to thekAPIKeyvariable. - Run the application!