Calling Your Video Game With Your Phone: Part 1
"Calling Your Video Game With Your Phone" is a 3-part series that demonstrates how to use Twilio and Deepgram to create phone calls which patch into your video game via a websocket server. In this first part, the author explains how to use Twilio to stream audio to a server, forward it to Deepgram for transcription, and then forward the results to a game instance. The example game is written in Godot, but can be adapted to other platforms like Unity or non-game front-end applications. The server used here is written in Rust, but understanding the core architecture of the system should allow you to build analogous servers in other languages. The series aims to provide a foundation for building more complex applications where phone calls can impact gameplay and create unique gaming experiences. In future parts, the author plans to expand on this server to enable interactions such as having actual conversations with characters in a game or ordering virtual items via phone calls.
Company
Deepgram
Date published
Aug. 11, 2023
Author(s)
Nikola Whallon
Word count
2283
Language
English
Hacker News points
None found.