always_user_mute_strategy

User mute strategy that always mutes the user while the bot is speaking.

class pipecat.turns.user_mute.always_user_mute_strategy.AlwaysUserMuteStrategy[source]

Bases: BaseUserMuteStrategy

User mute strategy that always mutes the user while the bot is speaking.

__init__()[source]

Initialize the always user mute strategy.

async process_frame(frame: Frame) bool[source]

Process an incoming frame.

Parameters:

frame – The frame to be processed.

Returns:

Whether the strategy is muted.