pipecat version
0.0.94
Python version
3.13.2
Operating System
macOS 15.6.1 (24G90)
Issue description
I'm writing a custom serializer for a third party service and I need to send a session.ready event when the pipeline starts therefore I'm trying to put a condition with StartFrame but It's not reaching in serializer method of Serializer
if isinstance(frame, StartFrame):
print("StartFrame received")
return '{"type": "session.ready"}'
Reproduction steps
Just try to put the StartFrame condition in a custom serializer like below
if isinstance(frame, StartFrame):
print("StartFrame received")
return '{"type": "session.ready"}'
And the condition should be executed
Expected behavior
The serialize method in Serializer class should receive the StartFrame
Actual behavior
The StartFrame is not received in the serialize method of Serializer class
Logs