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

Stream header packet structure. More...

#include <include/ascii-chat/network/packet/packet.h>

Data Fields

uint32_t client_id
 Client ID that this stream originates from (1-9)
 
uint32_t stream_type
 Stream type bitmask (STREAM_TYPE_VIDEO | STREAM_TYPE_AUDIO)
 
uint32_t timestamp
 Timestamp when frame/audio was captured (milliseconds since epoch)
 

Detailed Description

Stream header packet structure.

Header prepended to media streams (video/audio) to identify source client and stream characteristics. Used when multiple clients are streaming.

Definition at line 672 of file packet.h.

Field Documentation

◆ client_id

uint32_t stream_header_t::client_id

Client ID that this stream originates from (1-9)

Definition at line 674 of file packet.h.

◆ stream_type

uint32_t stream_header_t::stream_type

Stream type bitmask (STREAM_TYPE_VIDEO | STREAM_TYPE_AUDIO)

Definition at line 676 of file packet.h.

◆ timestamp

uint32_t stream_header_t::timestamp

Timestamp when frame/audio was captured (milliseconds since epoch)

Definition at line 678 of file packet.h.


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