ascii-chat 0.11.33
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
8#include <stdint.h>
9#include <stddef.h>
10
15#define H265_PACKET_TYPE PACKET_TYPE_IMAGE_FRAME_H265
16
24typedef struct {
25 uint8_t type; // PACKET_TYPE_IMAGE_FRAME_H265
26 uint32_t client_id; // Client identifier
27 uint32_t frame_num; // Frame sequence number
28 uint8_t flags; // H265_FLAG_* flags
29 uint8_t reserved; // Reserved for future use
31
35#define H265_FLAG_KEYFRAME 0x01 // IDR frame (keyframe)
36#define H265_FLAG_SIZE_CHANGE 0x02 // Frame dimensions changed
unsigned int uint32_t
Definition common.h:58
unsigned char uint8_t
Definition common.h:56