summaryrefslogtreecommitdiff
path: root/toxav/codec.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/codec.h')
-rw-r--r--toxav/codec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/toxav/codec.h b/toxav/codec.h
index 951d6d2f..de5a6cd1 100644
--- a/toxav/codec.h
+++ b/toxav/codec.h
@@ -117,7 +117,7 @@ typedef struct _CSSession {
117 int32_t last_pack_channels; 117 int32_t last_pack_channels;
118 int32_t last_packet_sampling_rate; 118 int32_t last_packet_sampling_rate;
119 int32_t last_packet_frame_duration; 119 int32_t last_packet_frame_duration;
120 struct _JitterBuffer *j_buf; 120 struct JitterBuffer *j_buf;
121 121
122 122
123 /* Voice activity detection */ 123 /* Voice activity detection */
@@ -132,6 +132,10 @@ typedef struct _CSSession {
132 */ 132 */
133 void *agent; /* Pointer to ToxAV TODO make this pointer to ToxAV*/ 133 void *agent; /* Pointer to ToxAV TODO make this pointer to ToxAV*/
134 int32_t call_idx; 134 int32_t call_idx;
135 int32_t friend_number;
136
137 PAIR(toxav_receive_audio_frame_cb *, void *) acb; /* Audio frame receive callback */
138 PAIR(toxav_receive_video_frame_cb *, void *) vcb; /* Video frame receive callback */
135 139
136 pthread_mutex_t queue_mutex[1]; 140 pthread_mutex_t queue_mutex[1];
137} CSSession; 141} CSSession;