diff --git a/CHANGELOG.md b/CHANGELOG.md index 355cea0ee..d77524a06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated the default model for `AnthropicLLMService` to `claude-sonnet-4-5-20250929`. +### Deprecated + +- `DailyUpdateRemoteParticipantsFrame` is deprecated and will be removed in a + future version. Instead, create your own custom frame and handle it in the + `@transport.output().event_handler("on_after_push_frame")` event handler or a + custom processor. + ## Fixed - Fixed a `PipelineTask` issue that could prevent the application to exit if diff --git a/src/pipecat/transports/daily/transport.py b/src/pipecat/transports/daily/transport.py index edb25531f..f61a799e8 100644 --- a/src/pipecat/transports/daily/transport.py +++ b/src/pipecat/transports/daily/transport.py @@ -110,12 +110,32 @@ class DailyInputTransportMessageUrgentFrame(InputTransportMessageUrgentFrame): class DailyUpdateRemoteParticipantsFrame(ControlFrame): """Frame to update remote participants in Daily calls. + .. deprecated:: 0.0.87 + `DailyUpdateRemoteParticipantsFrame` is deprecated and will be removed in a future version. + Create your own custom frame and use a custom processor to handle it or use, for example, + `on_after_push_frame` event instead in the output transport. + Parameters: remote_participants: See https://reference-python.daily.co/api_reference.html#daily.CallClient.update_remote_participants. """ remote_participants: Mapping[str, Any] = None + def __post_init__(self): + super().__post_init__() + import warnings + + with warnings.catch_warnings(): + warnings.simplefilter("always") + warnings.warn( + "DailyUpdateRemoteParticipantsFrame is deprecated and will be removed in a future version." + "Instead, create your own custom frame and handle it in the " + '`@transport.output().event_handler("on_after_push_frame")` event handler or a ' + "custom processor.", + DeprecationWarning, + stacklevel=2, + ) + class WebRTCVADAnalyzer(VADAnalyzer): """Voice Activity Detection analyzer using WebRTC.