Merge pull request #3881 from pipecat-ai/mb/startup-observer
Add StartupTimingObserver
This commit is contained in:
1
changelog/3881.added.2.md
Normal file
1
changelog/3881.added.2.md
Normal file
@@ -0,0 +1 @@
|
||||
- Added `ClientConnectedFrame`, a new `SystemFrame` pushed by all transports (Daily, LiveKit, FastAPI WebSocket, WebSocket Server, SmallWebRTC, HeyGen, Tavus) when a client connects. Enables observers to track transport readiness timing.
|
||||
1
changelog/3881.added.3.md
Normal file
1
changelog/3881.added.3.md
Normal file
@@ -0,0 +1 @@
|
||||
Added `BotConnectedFrame` for SFU transports and `on_transport_timing_report` event to `StartupTimingObserver` with bot and client connection timing.
|
||||
1
changelog/3881.added.md
Normal file
1
changelog/3881.added.md
Normal file
@@ -0,0 +1 @@
|
||||
- Added `StartupTimingObserver` for measuring how long each processor's `start()` method takes during pipeline startup. Also measures transport readiness — the time from `StartFrame` to first client connection — via the `on_transport_readiness_measured` event. Useful for diagnosing cold start slowness and identifying initialization bottlenecks.
|
||||
Reference in New Issue
Block a user