saveFrame

suspend fun saveFrame(frame: Frame, metaData: MetaData)

Determine how frames should be classified using getSaveFrameIdentifier, and then store them in a map of frames based on that identifier.

This method keeps track of the total number of saved frames. If the total number or total size exceeds the maximum allowed, the oldest frames will be dropped.