diff options
| author | Anton <anton@picapica> | 2019-12-28 19:35:51 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2019-12-28 19:35:51 +0400 |
| commit | 990fcb3c44545a4aede4c71afb61824026c17219 (patch) | |
| tree | 4a37d26614f13c6bf293f2616acdcd7742db621f | |
| parent | eac8372eeb9a2ba4b2b71432051478762560b6a4 (diff) | |
| download | pica-pica-990fcb3c44545a4aede4c71afb61824026c17219.tar.gz pica-pica-990fcb3c44545a4aede4c71afb61824026c17219.zip | |
protocol messages definitions for calls
| -rw-r--r-- | PICA_proto.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/PICA_proto.h b/PICA_proto.h index a1bb3cb..3691c0e 100644 --- a/PICA_proto.h +++ b/PICA_proto.h @@ -24,7 +24,7 @@ #define PICA_PROTO_VER_LOW 5 #define PICA_C2CPROTO_VER_HIGH 0 -#define PICA_C2CPROTO_VER_LOW 1 +#define PICA_C2CPROTO_VER_LOW 2 #define PICA_PROTO_CLIENT_VER_STRING PICA_STRINGIFY2(PICA_C2CPROTO_VER_HIGH, PICA_C2CPROTO_VER_LOW) #define PICA_PROTO_VER_STRING PICA_STRINGIFY2(PICA_PROTO_VER_HIGH, PICA_PROTO_VER_LOW) @@ -91,6 +91,14 @@ #define PICA_PROTO_N2NNOTFOUND 0xB8 #define PICA_PROTO_N2NMSG 0xD0 +#define PICA_PROTO_CALLREQ 0x70 +#define PICA_PROTO_CALLANS 0x71 +#define PICA_PROTO_CALLREJ 0x72 +#define PICA_PROTO_CALLFIN 0x73 +#define PICA_PROTO_CALL_AUDIOPARAM 0x74 +#define PICA_PROTO_CALL_VIDEOPARAM 0x75 +#define PICA_PROTO_CALL_AUDIO_PACKET 0x76 +#define PICA_PROTO_CALL_VIDEO_PACKET 0x77 //size #define PICA_PROTO_INITREQ_SIZE 4 |
