daily-python 0.33.0: 'unable to select virtual speaker device' on every call after the first (bot has no audio)
With pipecat-ai 1.5.0, daily-python>=0.29.0,<1 now resolves to daily-python 0.33.0, which regressed Daily.select_speaker_device(): after a previous CallClient has joined and left, selecting a new virtual speaker in the same process fails.
In DailyTransport this shows up on every call after the first in a long-running bot process:
DailyOutputTransport#1 exception (.../pipecat/transports/daily/transport.py:798): Error processing frame: unable to select virtual speaker deviceBecause the exception aborts DailyTransportClient.start() before the microphone track is created, the bot joins and receives audio but has no audio output; the ErrorFrame is non-fatal so the pipeline keeps running silently.
Upstream issue with a minimal daily-python-only repro: https://github.com/daily-co/daily-python/issues/48
Workaround: pin daily-python==0.32.0.
Possible pipecat-side hardening:
- Cap
daily-python<0.33until fixed upstream. - When
audio_in_user_tracks=True(the default), the output transport'sstart()falls into theelif not self._speaker:branch and creates/selects a virtual speaker that is never read. Skipping it in that case (or not letting a speaker-selection failure prevent the mic track from being created) would avoid the silent-bot failure mode.
Source: pipecat-ai/pipecat