diff options
Diffstat (limited to 'toxav/msi.h')
-rw-r--r-- | toxav/msi.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/toxav/msi.h b/toxav/msi.h index 4f27b9f8..a55d8567 100644 --- a/toxav/msi.h +++ b/toxav/msi.h | |||
@@ -28,9 +28,8 @@ | |||
28 | #include "codec.h" | 28 | #include "codec.h" |
29 | #include "../toxcore/Messenger.h" | 29 | #include "../toxcore/Messenger.h" |
30 | 30 | ||
31 | /** Preconfigured values for video splitting */ | 31 | /** Preconfigured value for video splitting */ |
32 | #define D_MVFSZ 40000 /* 256KiB */ | 32 | #define VIDEOFRAME_PIECE_SIZE 500 /* 1.25 KiB*/ |
33 | #define D_MVFPSZ 500 /* 1.25 KiB*/ | ||
34 | 33 | ||
35 | /** | 34 | /** |
36 | * Error codes. | 35 | * Error codes. |
@@ -87,15 +86,10 @@ typedef struct MSICall_s { | |||
87 | struct MSISession_s *session; /* Session pointer */ | 86 | struct MSISession_s *session; /* Session pointer */ |
88 | 87 | ||
89 | MSICallState state; | 88 | MSICallState state; |
90 | |||
91 | uint8_t peer_capabilities; /* Peer capabilities */ | 89 | uint8_t peer_capabilities; /* Peer capabilities */ |
92 | uint8_t self_capabilities; /* Self capabilities */ | 90 | uint8_t self_capabilities; /* Self capabilities */ |
93 | 91 | uint16_t peer_vfpsz; /* Video frame piece size */ | |
94 | uint16_t peer_mvfsz; /* Max video frame size */ | ||
95 | uint16_t peer_mvfpsz; /* Max video frame part size */ | ||
96 | |||
97 | uint32_t friend_id; /* Index of this call in MSISession */ | 92 | uint32_t friend_id; /* Index of this call in MSISession */ |
98 | |||
99 | MSIError error; /* Last error */ | 93 | MSIError error; /* Last error */ |
100 | 94 | ||
101 | void* av_call; /* Pointer to av call handler */ | 95 | void* av_call; /* Pointer to av call handler */ |