summaryrefslogtreecommitdiff
path: root/toxav/toxav.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxav/toxav.c')
-rw-r--r--toxav/toxav.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c
index aaeb6f2d..3d4004cf 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -45,7 +45,7 @@ typedef struct ToxAVCall_s {
45 pthread_mutex_t mutex_video[1]; 45 pthread_mutex_t mutex_video[1];
46 PAIR(RTPSession *, VCSession *) video; 46 PAIR(RTPSession *, VCSession *) video;
47 47
48 BWControler *bwc; 48 BWController *bwc;
49 49
50 bool active; 50 bool active;
51 MSICall *msi_call; 51 MSICall *msi_call;
@@ -87,7 +87,7 @@ struct ToxAV {
87 uint32_t interval; /** Calculated interval */ 87 uint32_t interval; /** Calculated interval */
88}; 88};
89 89
90void callback_bwc (BWControler *bwc, uint32_t friend_number, float loss, void *user_data); 90void callback_bwc (BWController *bwc, uint32_t friend_number, float loss, void *user_data);
91 91
92int callback_invite(void *toxav_inst, MSICall *call); 92int callback_invite(void *toxav_inst, MSICall *call);
93int callback_start(void *toxav_inst, MSICall *call); 93int callback_start(void *toxav_inst, MSICall *call);
@@ -857,7 +857,7 @@ void toxav_callback_video_receive_frame(ToxAV *av, toxav_video_receive_frame_cb
857 * :: Internal 857 * :: Internal
858 * 858 *
859 ******************************************************************************/ 859 ******************************************************************************/
860void callback_bwc(BWControler *bwc, uint32_t friend_number, float loss, void *user_data) 860void callback_bwc(BWController *bwc, uint32_t friend_number, float loss, void *user_data)
861{ 861{
862 /* Callback which is called when the internal measure mechanism reported packet loss. 862 /* Callback which is called when the internal measure mechanism reported packet loss.
863 * We report suggested lowered bitrate to an app. If app is sending both audio and video, 863 * We report suggested lowered bitrate to an app. If app is sending both audio and video,