ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
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 722 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 724 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 726 of file packet.h.

◆ timestamp

uint32_t stream_header_t::timestamp

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

Definition at line 728 of file packet.h.


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