0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Twilioの簡易エミュレーターを用意した

0
Last updated at Posted at 2026-03-20

Twilioの簡易エミュレーターを用意した

みなさんも突然Twilioで電話の応答をWebSocketで受け取るアプリを作ろうとしたらローカルでどうするか悩んだことありますよね!
そこでTwilioの電話回線を模倣するクライアントを作りました!

セットアップ

portaudioは入れてね!

# macOS
brew install portaudio

# Ubuntu / Debian
apt-get install portaudio19-dev

こんな感じで起動してね!

uv run --with pyaudio --with websockets --with audioop-lts audio_client.py --host localhost --port 8080

あとは受信側をなんとかして!

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?