Closed Noarkhh closed 1 month ago
Another thing that would be quick and easy is adding metadata to buffers informing whether a given frame is a keyframe or not
We can use https://hexdocs.pm/membrane_core/Membrane.KeyframeRequestEvent.html for that purpose
We can utilize a functionality provided by libvpx to force an encoder to create a keyframe. We'll do this with upstream events, allowing events down the pipeline to demand keyframes.