ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
src/session/h265/protocol.h
Go to the documentation of this file.
1#pragma once
2
7
8#include <stdint.h>
9#include <stddef.h>
10
17#define H265_PACKET_TYPE PACKET_TYPE_IMAGE_FRAME_H265
18
26typedef struct {
27 uint8_t type; // PACKET_TYPE_IMAGE_FRAME_H265
28 uint32_t client_id; // Client identifier
29 uint32_t frame_num; // Frame sequence number
30 uint8_t flags; // H265_FLAG_* flags
31 uint8_t reserved; // Reserved for future use
33
37#define H265_FLAG_KEYFRAME 0x01 // IDR frame (keyframe)
38#define H265_FLAG_SIZE_CHANGE 0x02 // Frame dimensions changed
unsigned int uint32_t
unsigned char uint8_t