FrameProcessor: add before/after events for processed/pushed frames

This commit is contained in:
Aleix Conchillo Flaqué
2025-09-19 13:44:49 -07:00
parent 2289409b4c
commit 3d88b42e0b
3 changed files with 71 additions and 0 deletions

View File

@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added `on_before_process_frame`, `on_after_process_frame`,
`on_before_push_frame` and `on_after_push_frame`. These are synchronous events
that get called before and after a frame is processed or pushed. Note that
these events are synchrnous so they should ideally perform lightweight tasks
in order to not block the pipeline.
- Added `on_before_leave` synchronous event to `DailyTransport`.
- Added `on_before_disconnect` synchronous event to `LiveKitTransport`.