Fix browser microphone permission prompt and constraints in WebClient

This commit is contained in:
tyuXX 2026-10-31 18:02:32 +03:00
parent e7bc618b9a
commit bd73711456
2 changed files with 169 additions and 19 deletions

View file

@ -39,6 +39,8 @@ public class VoiceCallTests : IAsyncLifetime
public async Task InitializeAsync()
{
Environment.SetEnvironmentVariable("GSDCHAT_DISABLE_OS_AUDIO", "1");
using var listener = new TcpListener(IPAddress.Loopback, 0);
listener.Start();
_port = ((IPEndPoint)listener.LocalEndpoint).Port;