VideoMixer.FrameQueue (video_mixer v2.1.5)

View Source

Summary

Functions

Drops all but the most recent entry from the ready queue.

Returns the size of the ready queue

Functions

any?(frame_queue)

closed?(frame_queue)

flush_to_latest(state)

Drops all but the most recent entry from the ready queue.

Returns the queue unchanged when empty or containing a single frame. Preserves current_spec, received_first_frame?, stream_finished?, and all other invariants — only the ready queue is trimmed.

new()

pop!(state)

push(state, spec)

ready?(frame_queue)

size(frame_queue)

Returns the size of the ready queue