Mimic Pipecat Cloud websocket handling in the cloud runner, add a websocket message parser called parse_telephony_websocket in utils.py, update examples to use the new functionality

This commit is contained in:
Mark Backman
2025-07-27 23:24:46 -04:00
parent 16c80b2335
commit 155817a1fe
6 changed files with 340 additions and 170 deletions

View File

@@ -4,6 +4,10 @@
# SPDX-License-Identifier: BSD 2-Clause License
#
"""Pipecat Cloud-compatible bot example.
Transports are Daily or SmallWebRTC."""
import os
from dataclasses import dataclass
from typing import Any, Optional