directory
0.0.0-20240919231415-a72ae959521b
Repository: https://github.com/petrzlen/vocode-golang.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
Package audioio declares audio input/output interface and defines a few common implementations TLDR; Go itself cannot work with Microphone's well BUT it can bind with C-libraries which can do this with a bit of black-magic.
To live test it:
flyctl deploy
flyctl launch
ngrok http 8081
# take the printed url s/https/wss and update the Twiml config (if not already)
# https://console.twilio.com/us1/develop/phone-numbers/manage/incoming
# <?xml version="1.0" encoding="UTF-8"?>
# <Response>
# <Connect>
# <!-- <Stream url="wss://vocode-golang.fly.dev/ws" /> -->
# <Stream url="wss://7e98-24-130-57-37.ngrok-free.app/ws" />
# </Connect>
# </Response>
go run cmd/twilio/twilio_main.go
# websocat wss://vocode-golang.fly.dev/ws
# call your Twilio number
*/.