ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
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
Definition common.h:62
unsigned char uint8_t
Definition common.h:60