Pion doesn't have a way to exactly implement your business logic. You have two choices (and they both can be implemented with Pion)
* Store everything since the last keyframe and RTX to the user. You have access to PLIs and NACKs so you can do that.
* Request a new keyframe from the encoder.
I would love to ship something that exactly meets your need, but I don't think I can.