feat: Enable audio recording on web

This commit is contained in:
Christian Kußowski 2026-02-16 15:51:54 +01:00
commit 299174c922
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 5 additions and 9 deletions

View file

@ -34,7 +34,7 @@ abstract class PlatformInfos {
!PlatformInfos.isWindows && !PlatformInfos.isLinux;
/// Web could also record in theory but currently only wav which is too large
static bool get platformCanRecord => (isMobile || isMacOS);
static bool get platformCanRecord => (isMobile || isMacOS || isWeb);
static String get clientName =>
'${AppSettings.applicationName.value} ${isWeb ? 'web' : Platform.operatingSystem}${kReleaseMode ? '' : 'Debug'}';