Skip to content

Pass frames through a FrameConsumer interface - #11

Merged
imayankkumar merged 1 commit into
mainfrom
maint/FP-026-frame-consumer-interface
Nov 16, 2026
Merged

imayankkumar merged 1 commit into
mainfrom
maint/FP-026-frame-consumer-interface

Conversation

@imayankkumar

Copy link
Copy Markdown
Owner
  • Update: frames reach the session through a FrameConsumer interface instead of a Kotlin lambda
  • Fix: the frame path no longer boxes the timestamp into a Long object on every frame

A Kotlin (Long) -> Unit boxes the timestamp on every call, so each frame allocated on its way from the source to the session. An interface with a primitive parameter does not. It also gives frame sources a place to deliver more than a timestamp.
@imayankkumar
imayankkumar merged commit e220592 into main Nov 16, 2026
2 checks passed
@imayankkumar
imayankkumar deleted the maint/FP-026-frame-consumer-interface branch November 16, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant