Skip to content

Commit 10cbb89

Browse files
committed
audio: Change checkAudioBuffering to LEVEL_INFO
Change this critical message to an info message.
1 parent 077c1a4 commit 10cbb89

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

checks/audio.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ def checkAudioBuffering(lines):
4040
if m and m.group("source"):
4141
append += "<br><br>Source affected (potential cause):<strong>" + m.group("source") + "</strong>"
4242
break
43-
return [LEVEL_CRITICAL, "Max Audio Buffering",
44-
"Audio buffering hit the maximum value. This is an indicator of very high system load, will affect stream latency, and may even cause individual audio sources to stop working. Keep an eye on CPU usage especially, and close background programs if needed. <br><br>Occasionally, this can be caused by incorrect device timestamps. Restart OBS to reset buffering." + append]
43+
return [LEVEL_INFO, "Max Audio Buffering",
44+
"Audio buffering hit the maximum value. This can be an indicator of very high system load and may affect stream latency or cause individual audio sources to stop working. Keep an eye on CPU usage especially, and close background programs if needed. <br><br>Occasionally, this can be caused by incorrect device timestamps. Restart OBS to reset buffering." + append]
4545

4646
buffering = search('total audio buffering is now', lines)
4747
vals = [0, ]
@@ -55,7 +55,7 @@ def checkAudioBuffering(lines):
5555
pass
5656

5757
if (max(vals) > 500):
58-
return [LEVEL_WARNING, "High Audio Buffering",
59-
"Audio buffering reached values above 500ms. This is an indicator of very high system load and will affect stream latency. Keep an eye on CPU usage especially, and close background programs if needed. Restart OBS to reset buffering."]
58+
return [LEVEL_INFO, "High Audio Buffering",
59+
"Audio buffering reached values above 500ms. This is an indicator of very high system load and may affect stream latency. Keep an eye on CPU usage especially, and close background programs if needed. Restart OBS to reset buffering."]
6060

6161
return None

0 commit comments

Comments
 (0)