macharborguy
Member
Ive been noticing an odd glitch in a Browse Sources output when using the "Control Audio via OBS" option. Its almost like the very start of the sound, maybe the first 10 - 50ms worth) is repeating itself for a short period of time before playing the audio. I first encountered this when the option was made available in OBS. When I disabled the option the glitches went away. I figured it was possibly something with my install, but since then I noticed it on one of my Twitch team members channels.
I am currently building a soundboard app (run on my tablet) and a "speaker" browser source, which communicates with eachother via socket.io. Enabling "Control Audio via OBS", once again, has the glitches at the start of the audio (and disabling it makes the glitch go away as well).
What is weird is that the glitch only seems to happen after a period of time after a sound has already played, and seems to get longer (the glitchy part specifically) the longer the browser source has been running with Control via OBS enabled, once i heard it get to almost 3 whole seconds before it continued to play the audio.
- I click a button on my soundboard webapp, the audio plays via the browser source "soundboard speaker" script. This first play has the glitchy start to the sound.
- Clicking the button a second time within a few seconds, or even in rapid succession, and the sound plays with no glitches at all.
- If i wait, say, 30 seconds, and press the button, the sound plays WITH the glitch again.
The soundboard app and the widget are nothing special, just standard HTML pages and Javascript using VueJS/VueCLI as the build process. All audio clips are pre-loaded as standard WebAudio API Audio() constructors in the Speaker app and are played via the normal audiosource.play() method. although I HAVE tested and found the glitch also happens if the audio clips are loaded at the time of the button press on the tablet webapp then discarded after it plays.
As I mentioned above, i am not the only one who has run into this odd glitch, as a member of my team also has thing glitch crop up, and they too are using Control Audio via OBS option.
Has anyone else run into this issue or noticed it but were not sure what it was? Including the log file, though I am not too sure how much it will help.
I am currently building a soundboard app (run on my tablet) and a "speaker" browser source, which communicates with eachother via socket.io. Enabling "Control Audio via OBS", once again, has the glitches at the start of the audio (and disabling it makes the glitch go away as well).
What is weird is that the glitch only seems to happen after a period of time after a sound has already played, and seems to get longer (the glitchy part specifically) the longer the browser source has been running with Control via OBS enabled, once i heard it get to almost 3 whole seconds before it continued to play the audio.
- I click a button on my soundboard webapp, the audio plays via the browser source "soundboard speaker" script. This first play has the glitchy start to the sound.
- Clicking the button a second time within a few seconds, or even in rapid succession, and the sound plays with no glitches at all.
- If i wait, say, 30 seconds, and press the button, the sound plays WITH the glitch again.
The soundboard app and the widget are nothing special, just standard HTML pages and Javascript using VueJS/VueCLI as the build process. All audio clips are pre-loaded as standard WebAudio API Audio() constructors in the Speaker app and are played via the normal audiosource.play() method. although I HAVE tested and found the glitch also happens if the audio clips are loaded at the time of the button press on the tablet webapp then discarded after it plays.
As I mentioned above, i am not the only one who has run into this odd glitch, as a member of my team also has thing glitch crop up, and they too are using Control Audio via OBS option.
Has anyone else run into this issue or noticed it but were not sure what it was? Including the log file, though I am not too sure how much it will help.