ascii-chat 0.11.33
Video chat in your terminal
Loading...
Searching...
No Matches
multi_source_frame_t Struct Reference

Multi-source frame structure for multi-user support. More...

#include <include/ascii-chat/ringbuffer.h>

Data Fields

uint64_t magic
 Magic number to detect corruption (FRAME_MAGIC when valid)
 
char source_client_id [64]
 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)
 

Detailed Description

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 400 of file ringbuffer.h.

Field Documentation

◆ data

char* multi_source_frame_t::data

Pointer to frame data (not owned by this struct)

Definition at line 412 of file ringbuffer.h.

◆ frame_sequence

uint32_t multi_source_frame_t::frame_sequence

Frame sequence number for ordering.

Definition at line 406 of file ringbuffer.h.

◆ magic

uint64_t multi_source_frame_t::magic

Magic number to detect corruption (FRAME_MAGIC when valid)

Definition at line 402 of file ringbuffer.h.

Referenced by framebuffer_write_multi_frame().

◆ size

size_t multi_source_frame_t::size

Actual size of frame data in bytes.

Definition at line 410 of file ringbuffer.h.

◆ source_client_id

char multi_source_frame_t::source_client_id[64]

Client ID that sent this frame.

Definition at line 404 of file ringbuffer.h.

Referenced by framebuffer_write_multi_frame().

◆ timestamp

uint32_t multi_source_frame_t::timestamp

Timestamp when frame was captured.

Definition at line 408 of file ringbuffer.h.


The documentation for this struct was generated from the following file: