From 9c5a67f89a6f90080e171fb6c7bb0964bd9e69f3 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 12 Aug 2026 22:52:20 +0400 Subject: pica-client: voice calls --- PICA_proto.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'PICA_proto.h') diff --git a/PICA_proto.h b/PICA_proto.h index b7a5e5d..78a5c7a 100644 --- a/PICA_proto.h +++ b/PICA_proto.h @@ -166,6 +166,13 @@ #define PICA_PROTO_CALL_CODECNAMESIZE 20 +// Sequence number (2 octets) + capture timestamp in milliseconds (4 +// octets), little-endian, prepended to the payload in the 0x76/0x77 packet +// tail, ahead of the codec data. +#define PICA_PROTO_CALL_PACKET_SEQNUM_SIZE 2 +#define PICA_PROTO_CALL_PACKET_TIMESTAMP_SIZE 4 +#define PICA_PROTO_CALL_PACKET_HDRSIZE (PICA_PROTO_CALL_PACKET_SEQNUM_SIZE + PICA_PROTO_CALL_PACKET_TIMESTAMP_SIZE) + struct PICA_proto_msg { unsigned char head[2]; -- cgit v1.2.1