Skip to content

Improve maximum framerate handling for encoding

Arjen Hiemstra requested to merge work/ahiemstra/maxframerate into master

Apparently, we never forwarded the maximum framerate to PipeWireProduce from BaseEncodedStream, which this fixes.

In addition, even if we forward the framerate we may still end up with a stream that's providing frames too fast, potentially flooding an application that requested a lower framerate. So discard frames that are arriving too fast.

Edited by Arjen Hiemstra

Merge request reports