From f65b309fc00805c68a647ca96730711c91803c93 Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Fri, 28 Jun 2024 20:05:59 +0700 Subject: [PATCH] Increase mod_twilio_stream audio buffer to 60s --- .../src/mod/mod_twilio_stream/include/audio_pipe.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp b/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp index f609bf8ca..dcc3622d8 100644 --- a/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp +++ b/components/freeswitch/src/mod/mod_twilio_stream/include/audio_pipe.hpp @@ -12,8 +12,8 @@ #include "lockfree/lockfree.hpp" -// 5s of L16 8Khz audio -#define MAX_AUDIO_BUFFER 5 * 2 * 8000 +// 60s of L16 8Khz audio +#define MAX_AUDIO_BUFFER 60 * 2 * 8000 class AudioPipe {