MicrosoftEdge / WebView2Feedback

Feedback and discussions about Microsoft Edge WebView2
https://aka.ms/webview2
450 stars 54 forks source link

Audio Between Processes #939

Open BobbyShoe opened 3 years ago

BobbyShoe commented 3 years ago

I am attempting to have two separate processes each containing a WebView2 control, redirect their audio output to different destinations (different sets of speakers). Creating separate userDataFolders for each process and passing the userDataFolder value into CoreWebView2Environment, appears to create two separate WebView processes, as I can see both processes separately in Sound Mixer Options in windows (when each window is playing a video).

However updating the Sound Mixer Options for either process actually updates the audio output for both processes.

Any suggestions?

AB#31785601

champnic commented 3 years ago

Hey @BobbyShoe - are both of those WebView2 controls within the same app?

BobbyShoe commented 3 years ago

I am running two instances of the same application, so there are separate processes. Each instance is only running a single WebView2 control.

champnic commented 3 years ago

This sounds like a bug on our end. Also seems related to this comment: https://github.com/MicrosoftEdge/WebView2Feedback/issues/41#issuecomment-618078194

I've opened this as a separate issue on our backlog. Thanks!