Skip to content

Commit

Permalink
tweak iteration intervals for toxav calls again
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Dec 10, 2023
1 parent e10be12 commit 5251207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jni-c-toxcore/jni-c-toxcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -2656,7 +2656,7 @@ void *thread_video_av(void *data)
//usleep((av_iterate_interval / 2) * 1000);
if(global_av_call_active == 1)
{
usleep(20 * 1000);
usleep(10 * 1000);
}
else
{
Expand Down Expand Up @@ -2690,7 +2690,7 @@ void *thread_audio_av(void *data)
#endif

int delta = 0;
int want_iterate_ms = 10;
int want_iterate_ms = 5;
int will_sleep_ms = want_iterate_ms;
int64_t start_time = current_time_monotonic_default();
while(toxav_audio_thread_stop != 1)
Expand Down

0 comments on commit 5251207

Please sign in to comment.