Bug Report Computer Sound Randomly Not Streamed on Broadcast Start

previr

New Member
Sometimes (randomly) when I start my broadcast, computer sound is not streamed. Re-opening OBS usually fixes it. When this issue occurs, OBS's volume meter is active and showing that it recognizes sound is indeed occurring, but it's just not streamed to the broadcast for some reason. I'm using a Schiit Modi 2 USB DAC.

I've attached a log that I think it happened during, but I'm not 100% certain, as I had started and ended other broadcasts that day. Now that I'm aware of the log function, I'll be sure to definitely capture a log the next time it occurs. Any help would be appreciated.
 

Attachments

usb audio device issues can be very taxing to deal with. but the trade off is you separate system noise from the capture, if any.
Can i ask what your window captures are capturing?
Start with making sure u set the device to same rate in both obs and windows. I prefer 48khz, it seems to be the best/stable for me anyway.
I also use 3x usb audio devices on the gaming pc. Also consider switching to a proper codec. I use the aac from itunes package. its great!
 
My window captures are capturing an arcade emulator.

It really seems to be a bug in OBS that I am experiencing, because when it occurs, audio is shown as playing via the Desktop Audio meter inside of OBS, even though none is recorded/streamed. A simple restart of OBS usually fixes the problem, which doesn't make much sense as no settings were changed.

As for the audio codec, it's already using AAC, and I don't see a way to change that, unless you mean changing .dll files or something.
 
Last edited:
download itunes package thingie, extract the exec, rip out the x64 app support package, install that one.
from your log:
21:58:48.904: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
So thats what i meant. I have noticed some audio drop in out on obs, but i believe that is due to current state of windows/obs, or just that i have too many usb devices for audio, but it works basically 99.999999% of the time. Monitor issues can also be audio issues, ie turning off monitor can cause dropout in audio, and it doesnt need to be completely turned off, it could be a mode change. So i think thats interesting here since you may be doing certain screen modes for res. So i would set a fixed screen mode, and actually deleting all other modes to rule that out.
 
OBS appears to use the FFmpeg AAC encoder "22:02:31.820: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3" which I prefer.

As for the other stuff you mentioned, it should have no effect on audio, and never did in the past. This bug I am experiencing is relatively recent; it never happened to me under the old OBS where I used the same settings.
 
You dont think that if this was a big issue, that it wouldnt have gained more traction? the chances of it being related to your specific current codec/audio device should be fairly high here.
old obs and studio obs cant be compared.
 
Obviously something with my setup is causing the issue to occur. That doesn't necessarily mean it's not a bug.
 
have you tried to use another audio device then? If this was a big issue it wouldnt matter what device u had, and it then probably would be a bug. but since its not a big issue, it's logic to assume its not a bug, and in fact its a problem with your device. ;) I did use a simple schiit audio card a bit here, i didnt have any issues with it.. I think it was a fulla device, cba to find it atm to confirm.
 
My device is not faulty or problematic, and your logic is flawed. Closing and Re-opening OBS would not solve the issue if that were the case.
 
I've had this bug before, ever since then I don't use the Device options in OBS, I instead use Audio Output Source and Audio Input Source.

Remove both your Desktop and Mic device sources in Audio/Options.
Add your Modi as an Audio Output Source in the scene iteself, click Use Device Timestamps

1530997720247.png


1530997923877.png



1530997688573.png


Doing it this way has allow me to set up specific sound devices depending on the scene I am on. My VR Scene only has my Rift Headphone and Rift Mic.

I have my Main Audio devices on their own scene

1530997984962.png


I add that Scene to my actual scenes as a Scene Source, which gives the scene the audio sources. This seems convoluted but it's really handy and ensures I always have the correct audio devices instead of using "Defaults"

1530998055710.png
 
Thanks for the suggestion DEDRICK, I've set it up like you suggested and will report back if this solves my issue the next time I record/stream several sessions.
 
Everyone uses the same setup as dedrick posted here. If u didnt already have that, jeees.
@vapeahoy
There's no need to be additionally combative. Not everyone uses that setup.

@previr
In your log, you reached max audio buffering, which can cause the behavior you're describing. Make sure your USB audio device is on a USB3+ port, and you can try disabling the device timestamps, as @DEDRICK pointed out above. You don't necessarily have to add the device individually to each scene to do that, you can access any audio device's properties from the mixer.
 
Back
Top