ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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 711 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 713 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 715 of file packet.h.

◆ timestamp

uint32_t stream_header_t::timestamp

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

Definition at line 717 of file packet.h.


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