-
Notifications
You must be signed in to change notification settings - Fork 0
VideoFilterManager
The video filter manager handles all frame encoding and decoding, and manages the lifecycle of video filters. It ensures that video filter implementations only need to provide the image transformation logic and emit filtered frames.
getCurrentFramerate(): number
getVideoFilter(): VideoFilter
configureFramerate(filterFps: number): void
Returns the effective framerate at which the currently active video filter produces frames.
none
N/A
Returns the inner video filter performing the filtering logic.
none
-
VideoFilter
- The currently contained video filter.
Configures what framerate the video filter should request filtered frames with. Doesn't affect
the source framerate. The effective framerate is min(sourceFramerate, filterFramerate)
.
If the filter is configured to operate on a lower framerate than the source generates, frameskipping
will occur. For example, if the source feed is 30 fps, while the video filter is configured to operate
at 15 fps, every second frame will be skipped to avoid hiccups while still meeting the requirements.
-
filterFps
:number
- The requested framerate.
N/A