bozbez / win-capture-audio

An OBS plugin that allows capture of independant application audio streams on Windows, in a similar fashion to OBS's game capture and Discord's application streaming.
GNU General Public License v2.0
3.82k stars 208 forks source link

doesn't capture new Teams and doesn't detect Spotify #262

Open gusio opened 11 months ago

gusio commented 11 months ago

I've seen the two recent issues about the plugin not working but they are not specifying much so i am not sure that what happens to me is the same thing.

in my case i have two following issues:

1) The new Teams app is not getting captured anymore. the version i am using is:

      Version
      You have Microsoft Teams version 23320.3021.2567.4799.
      You've got the latest version. It was last updated on 17/12/2023.
      The client version is 49/23113028711.

I am on Windows 10, 22H2 (19045.3803). I tested it with foobar and spotify and it captures the audio correctly. I have added both Teams executables to the list - ms-teams.exe and msedgewebview2.exe - with no luck.

2) Spotify doesn't get detected so i have to add it manually instead of using the drop-down menu. My Spotify version is:

      Spotify for Windows (64 bit) 1.2.26.1187.g36b715a1

I also noticed that the plugin seems to be case-sensitive - when i chose spotify.exe it wouldn't capture anything, it only started working when i typed in the correct process name - Spotify.exe

Would it be possible to implement the case agnostic behavior when detecting the executables (Windows itself doesn't care about it, unlike linux) ?

OGNetheri commented 11 months ago

YOu sure you didn't use OBS's native BETA capture instead of plugin? I know the native beta seems to be case sensitive with proces description while the plugin isn't.

gusio commented 10 months ago

YOu sure you didn't use OBS's native BETA capture instead of plugin? I know the native beta seems to be case sensitive with proces description while the plugin isn't.

100% sure

OGNetheri commented 10 months ago

YOu sure you didn't use OBS's native BETA capture instead of plugin? I know the native beta seems to be case sensitive with proces description while the plugin isn't.

100% sure

OK. Then only thing I can suggest is that check in OBS audio settings that you're on stereo, not on mustichannel mode. Plugin doesn't natively handle multichannels.

gusio commented 10 months ago

Thanks for the suggestion but it really seems like it is a problem with the new version of teams that has to do something differently which would require an update. I have used the same setting before - and yes I am on stereo

gusio commented 10 months ago

What's the situation with this module anyway - is it still maintained ? Would be a better idea to maybe post issues on BETA version under OBS repo ?

heipous commented 3 months ago

Thanks for the suggestion but it really seems like it is a problem with the new version of teams that has to do something differently which would require an update. I have used the same setting before - and yes I am on stereo

@gusio hi gusio, I have the same problem as you. I have a demo program (non-OBS) to collect the sound played by Teams. The problem is that I can't collect the sound played by Teams. I don't know if Teams has any special Settings. Can you tell me how you changed the Teams or computer system Settings to solve this problem? Thank you very much.

OGNetheri commented 3 months ago

As for the latest versions of OBS, there's application audio capture option now on the source's options itself and this was the deal which overran the need of the plugin.

heipous commented 3 months ago

ok, The essence of the problem is the manner in which ActivateAudioInterfaceAsync get teams play the sound, it should be have a special broadcast teams logic, and other software is different.

gusio commented 3 months ago

Thanks for looking into it. Is there something that can be done about it ? Are there any new releases planned ?

heipous commented 3 months ago

As for the latest versions of OBS, there's application audio capture option now on the source's options itself and this was the deal which overran the need of the plugin.

I just tested the latest version of OBS and it can't record sounds played by teams, but it can record sounds played by edge.

img_v3_02du_6d6d428d-ba00-4acf-9599-2d791a33cb3g

gusio commented 3 months ago

As for the latest versions of OBS, there's application audio capture option now on the source's options itself and this was the deal which overran the need of the plugin.

I think it was 'always' there - it was named BETA but iirc it had limited functionality compared to this one

Ronchi23 commented 4 weeks ago

@gusio @OGNetheri @heipous Did you guys figure it out? I'm having the same problem with Teams but i can't find a single workaround to record meetings audio without other application sounds. (I can't install virtual audio cards since the PC is locked by the domain administrator)

OGNetheri commented 4 weeks ago

@gusio @OGNetheri @heipous Did you guys figure it out? I'm having the same problem with Teams but i can't find a single workaround to record meetings audio without other application sounds. (I can't install virtual audio cards since the PC is locked by the domain administrator)

I've been using only the built-in on OBS and don't use Teams BUT..there was this instance with streaming friend of mine, where the built-in capture didn't like the Apple's new player client on desktop and instead of the .exe, it was required to capture it's .sys (service) for the capture to work right. Could it help, if you look for the teams service and try to capture that?