diff --git a/changelog/3560.changed.md b/changelog/3560.changed.md new file mode 100644 index 000000000..b4ba6aa8b --- /dev/null +++ b/changelog/3560.changed.md @@ -0,0 +1 @@ +- `FrameSerializer` now subclasses from `BaseObject` to enable event support. diff --git a/src/pipecat/serializers/base_serializer.py b/src/pipecat/serializers/base_serializer.py index 490951a69..9cc38cdc6 100644 --- a/src/pipecat/serializers/base_serializer.py +++ b/src/pipecat/serializers/base_serializer.py @@ -9,9 +9,10 @@ from abc import ABC, abstractmethod from pipecat.frames.frames import Frame, StartFrame +from pipecat.utils.base_object import BaseObject -class FrameSerializer(ABC): +class FrameSerializer(BaseObject): """Abstract base class for frame serialization implementations. Defines the interface for converting frames to/from serialized formats