summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
authorAnton <anton@picapica.im>2026-11-29 23:38:25 +0400
committerAnton <anton@picapica.im>2026-11-29 23:38:25 +0400
commit56863d74399c8d7354a00bc8ddc87b924ef870ab (patch)
treebd9e44c438f974f80aa6cfef59fe842d3e128ee7 /PICA_proto.h
parentd6ce3a2226bda81cce96c61f0a73fb1516adbd0b (diff)
downloadpica-pica-call_quality_presets.tar.gz
pica-pica-call_quality_presets.zip
pica-client: new presets tab, call quality presetscall_quality_presets
Diffstat (limited to 'PICA_proto.h')
-rw-r--r--PICA_proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index 40a67c5..90ab8e0 100644
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -115,6 +115,7 @@
// The only datagram of a call sent outside of DTLS, see "Establishing the
// media connection" in doc/protocol-specification.txt.
#define PICA_PROTO_MEDIAPROBE 0x78
+#define PICA_PROTO_CALL_RECEPTION_REPORT 0x79
//size
#define PICA_PROTO_INITREQ_SIZE 4
@@ -185,6 +186,9 @@
#define PICA_PROTO_CALLFIN_SIZE 4
#define PICA_PROTO_CALL_AUDIOPARAM_SIZE 24
#define PICA_PROTO_CALL_VIDEOPARAM_SIZE 26
+#define PICA_PROTO_CALL_RECEPTION_REPORT_SIZE 22
+// queuing delay of a 0x79 whose sender received no audio packet to measure it by
+#define PICA_PROTO_CALL_RECEPTION_REPORT_DELAY_UNKNOWN 0xFFFF
#define PICA_PROTO_N2NMSG_MAXDATASIZE 65476
#define PICA_PROTO_C2CMSG_MAXDATASIZE 65532