Here the solution to have a sound alert when stream down.
Anyone who streams knows the nightmare: the connection fluctuates, OBS goes into
"Reconnecting..." mode , and the program continues playing—but nobody on the other end can see you. Often, the streamer only realizes this minutes later. The idea here is simple: when the transmission drops,
the computer itself emits a loud alert sound , like an alarm, so you notice immediately and can take action.
The "Reconnecting..." message remains the
same as the native OBS screen —nothing changes there. The script simply
adds sound on top of it. Nothing is sent to the live stream (there is no transmission during the outage); the alert plays
on your PC, for you, the operator.
OBS internally notifies you when the transmission to the platform fails. Sometimes it attempts to
reconnect ; other times—depending on how the connection failed—it simply
terminates the transmission with an error. The script covers
both cases : it listens for both the reconnection signal ( reconnect) and the failure termination signal ( stopwith error code) from the transmission output, and triggers the sound in either case. As a reinforcement, it also checks the transmission status
every second , so as not to depend on a single notification. When OBS manages to reconnect ( reconnect_success), the alert is reset for the next failure.
Complete in:
In Portuguese to English by google.
Script grátis para OBS Studio que toca um som de alerta quando a transmissão cai e o OBS começa a reconectar. Como instalar, onde fica o Python do OBS, download do código e do som, configuração e teste.
laudelinorj-com-br.translate.goog