|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Multi-source frame structure for multi-user support. More...
#include <lib/ringbuffer.h>
Data Fields | |
| uint32_t | magic |
| Magic number to detect corruption (FRAME_MAGIC when valid) | |
| uint32_t | source_client_id |
| Client ID that sent this frame. | |
| uint32_t | frame_sequence |
| Frame sequence number for ordering. | |
| uint32_t | timestamp |
| Timestamp when frame was captured. | |
| size_t | size |
| Actual size of frame data in bytes. | |
| char * | data |
| Pointer to frame data (not owned by this struct) | |
Multi-source frame structure for multi-user support.
Tracks which client sent the frame along with metadata including sequence numbers and timestamps for proper frame ordering and display.
Definition at line 399 of file ringbuffer.h.
| char* multi_source_frame_t::data |
Pointer to frame data (not owned by this struct)
Definition at line 411 of file ringbuffer.h.
Referenced by framebuffer_clear(), framebuffer_peek_latest_multi_frame(), and framebuffer_read_multi_frame().
| uint32_t multi_source_frame_t::frame_sequence |
Frame sequence number for ordering.
Definition at line 405 of file ringbuffer.h.
| uint32_t multi_source_frame_t::magic |
Magic number to detect corruption (FRAME_MAGIC when valid)
Definition at line 401 of file ringbuffer.h.
Referenced by framebuffer_clear(), framebuffer_peek_latest_multi_frame(), framebuffer_read_multi_frame(), and framebuffer_write_multi_frame().
| size_t multi_source_frame_t::size |
Actual size of frame data in bytes.
Definition at line 409 of file ringbuffer.h.
Referenced by framebuffer_clear(), framebuffer_peek_latest_multi_frame(), and framebuffer_read_multi_frame().
| uint32_t multi_source_frame_t::source_client_id |
Client ID that sent this frame.
Definition at line 403 of file ringbuffer.h.
Referenced by framebuffer_peek_latest_multi_frame(), and framebuffer_read_multi_frame().
| uint32_t multi_source_frame_t::timestamp |
Timestamp when frame was captured.
Definition at line 407 of file ringbuffer.h.