This commit is contained in:
e2002
2025-09-15 17:01:48 +03:00
parent fe6af54f94
commit 9a3bb03f82
15 changed files with 33 additions and 81 deletions

View File

@@ -3147,7 +3147,7 @@ void Audio::processWebStream() {
if(InBuff.bufferFilled() > maxFrameSize) {f_tmr_1s = false; cnt_slow = 0; loopCnt = 0;}
if(f_tmr_1s){
cnt_slow ++;
if(cnt_slow > 50){cnt_slow = 0; AUDIO_INFO("slow stream, dropouts are possible");}
if(cnt_slow > 50){cnt_slow = 0; f_tmr_1s = false; AUDIO_INFO("slow stream, dropouts are possible");}
}
// if the buffer can't filled for several seconds try a new connection - - - - - - - - - - - - - - - - - - - - - - -
if(f_stream && !availableBytes){