feat: Enable beta videocalls for linux
This commit is contained in:
parent
f36d5f8a89
commit
e229a0450f
2 changed files with 12 additions and 20 deletions
|
|
@ -78,12 +78,6 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|||
return widget.clients[_activeClient];
|
||||
}
|
||||
|
||||
bool get webrtcIsSupported =>
|
||||
kIsWeb ||
|
||||
PlatformInfos.isMobile ||
|
||||
PlatformInfos.isWindows ||
|
||||
PlatformInfos.isMacOS;
|
||||
|
||||
VoipPlugin? voipPlugin;
|
||||
|
||||
bool get isMultiAccount => widget.clients.length > 1;
|
||||
|
|
@ -406,7 +400,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|||
voipPlugin = null;
|
||||
return;
|
||||
}
|
||||
voipPlugin = webrtcIsSupported ? VoipPlugin(this) : null;
|
||||
voipPlugin = VoipPlugin(this);
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue