Fix video calls

This commit is contained in:
Christian Pauly 2020-04-09 10:16:38 +02:00
parent ca8edac132
commit 38a17c49b9
7 changed files with 52 additions and 33 deletions

View file

@ -1,6 +1,7 @@
# Version 0.12.0 - 2020-04-?? # Version 0.12.0 - 2020-04-??
### Features: ### Features:
- Implement custom wallpapers - Implement custom wallpapers
- Lightweight Jitsi integration for video calls
- Use SKIA for web - Use SKIA for web
### Fixes: ### Fixes:
- Fix image scaling - Fix image scaling

View file

@ -373,7 +373,11 @@ class MatrixState extends State<Matrix> {
showDialog( showDialog(
context: context, context: context,
builder: (context) => AlertDialog( builder: (context) => AlertDialog(
title: ListTile( title: Text(I18n.of(context).videoCall),
content: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
ListTile(
contentPadding: EdgeInsets.all(0), contentPadding: EdgeInsets.all(0),
leading: Avatar(senderAvatar, senderName), leading: Avatar(senderAvatar, senderName),
title: Text( title: Text(
@ -383,9 +387,6 @@ class MatrixState extends State<Matrix> {
subtitle: subtitle:
event.room.isDirectChat ? null : Text(event.room.displayname), event.room.isDirectChat ? null : Text(event.room.displayname),
), ),
content: Column(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Divider(), Divider(),
Row( Row(
children: <Widget>[ children: <Widget>[

View file

@ -573,6 +573,11 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"Edit Jitsi instance": "Jitsi Instanz ändern",
"@Edit Jitsi instance": {
"type": "text",
"placeholders": {}
},
"joinedTheChat": "{username} ist dem Chat beigetreten", "joinedTheChat": "{username} ist dem Chat beigetreten",
"@joinedTheChat": { "@joinedTheChat": {
"type": "text", "type": "text",
@ -1167,6 +1172,11 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"Video call": "Videoanruf",
"@Video call": {
"type": "text",
"placeholders": {}
},
"Visible for all participants": "Sichtbar für alle Teilnehmer", "Visible for all participants": "Sichtbar für alle Teilnehmer",
"@Visible for all participants": { "@Visible for all participants": {
"type": "text", "type": "text",

View file

@ -1,5 +1,5 @@
{ {
"@@last_modified": "2020-04-03T20:17:02.102828", "@@last_modified": "2020-04-09T10:05:25.548084",
"About": "About", "About": "About",
"@About": { "@About": {
"type": "text", "type": "text",
@ -573,6 +573,11 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"Edit Jitsi instance": "Edit Jitsi instance",
"@Edit Jitsi instance": {
"type": "text",
"placeholders": {}
},
"joinedTheChat": "{username} joined the chat", "joinedTheChat": "{username} joined the chat",
"@joinedTheChat": { "@joinedTheChat": {
"type": "text", "type": "text",
@ -1167,6 +1172,11 @@
"type": "text", "type": "text",
"placeholders": {} "placeholders": {}
}, },
"Video call": "Video call",
"@Video call": {
"type": "text",
"placeholders": {}
},
"Visible for all participants": "Visible for all participants", "Visible for all participants": "Visible for all participants",
"@Visible for all participants": { "@Visible for all participants": {
"type": "text", "type": "text",

View file

@ -178,6 +178,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Displayname has been changed" : MessageLookupByLibrary.simpleMessage("Anzeigename wurde geändert"), "Displayname has been changed" : MessageLookupByLibrary.simpleMessage("Anzeigename wurde geändert"),
"Donate" : MessageLookupByLibrary.simpleMessage("Spenden"), "Donate" : MessageLookupByLibrary.simpleMessage("Spenden"),
"Download file" : MessageLookupByLibrary.simpleMessage("Datei herunterladen"), "Download file" : MessageLookupByLibrary.simpleMessage("Datei herunterladen"),
"Edit Jitsi instance" : MessageLookupByLibrary.simpleMessage("Jitsi Instanz ändern"),
"Edit displayname" : MessageLookupByLibrary.simpleMessage("Anzeigename ändern"), "Edit displayname" : MessageLookupByLibrary.simpleMessage("Anzeigename ändern"),
"Empty chat" : MessageLookupByLibrary.simpleMessage("Leerer Chat"), "Empty chat" : MessageLookupByLibrary.simpleMessage("Leerer Chat"),
"Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Verschlüsselungsalgorithmus"), "Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Verschlüsselungsalgorithmus"),
@ -279,6 +280,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Use Amoled compatible colors?" : MessageLookupByLibrary.simpleMessage("Amoled optimierte Farben verwenden?"), "Use Amoled compatible colors?" : MessageLookupByLibrary.simpleMessage("Amoled optimierte Farben verwenden?"),
"Username" : MessageLookupByLibrary.simpleMessage("Benutzername"), "Username" : MessageLookupByLibrary.simpleMessage("Benutzername"),
"Verify" : MessageLookupByLibrary.simpleMessage("Bestätigen"), "Verify" : MessageLookupByLibrary.simpleMessage("Bestätigen"),
"Video call" : MessageLookupByLibrary.simpleMessage("Videoanruf"),
"Visibility of the chat history" : MessageLookupByLibrary.simpleMessage("Sichtbarkeit des Chat-Verlaufs"), "Visibility of the chat history" : MessageLookupByLibrary.simpleMessage("Sichtbarkeit des Chat-Verlaufs"),
"Visible for all participants" : MessageLookupByLibrary.simpleMessage("Sichtbar für alle Teilnehmer"), "Visible for all participants" : MessageLookupByLibrary.simpleMessage("Sichtbar für alle Teilnehmer"),
"Visible for everyone" : MessageLookupByLibrary.simpleMessage("Für jeden sichtbar"), "Visible for everyone" : MessageLookupByLibrary.simpleMessage("Für jeden sichtbar"),

View file

@ -178,6 +178,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Displayname has been changed" : MessageLookupByLibrary.simpleMessage("Displayname has been changed"), "Displayname has been changed" : MessageLookupByLibrary.simpleMessage("Displayname has been changed"),
"Donate" : MessageLookupByLibrary.simpleMessage("Donate"), "Donate" : MessageLookupByLibrary.simpleMessage("Donate"),
"Download file" : MessageLookupByLibrary.simpleMessage("Download file"), "Download file" : MessageLookupByLibrary.simpleMessage("Download file"),
"Edit Jitsi instance" : MessageLookupByLibrary.simpleMessage("Edit Jitsi instance"),
"Edit displayname" : MessageLookupByLibrary.simpleMessage("Edit displayname"), "Edit displayname" : MessageLookupByLibrary.simpleMessage("Edit displayname"),
"Empty chat" : MessageLookupByLibrary.simpleMessage("Empty chat"), "Empty chat" : MessageLookupByLibrary.simpleMessage("Empty chat"),
"Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Encryption algorithm"), "Encryption algorithm" : MessageLookupByLibrary.simpleMessage("Encryption algorithm"),
@ -279,6 +280,7 @@ class MessageLookup extends MessageLookupByLibrary {
"Use Amoled compatible colors?" : MessageLookupByLibrary.simpleMessage("Use Amoled compatible colors?"), "Use Amoled compatible colors?" : MessageLookupByLibrary.simpleMessage("Use Amoled compatible colors?"),
"Username" : MessageLookupByLibrary.simpleMessage("Username"), "Username" : MessageLookupByLibrary.simpleMessage("Username"),
"Verify" : MessageLookupByLibrary.simpleMessage("Verify"), "Verify" : MessageLookupByLibrary.simpleMessage("Verify"),
"Video call" : MessageLookupByLibrary.simpleMessage("Video call"),
"Visibility of the chat history" : MessageLookupByLibrary.simpleMessage("Visibility of the chat history"), "Visibility of the chat history" : MessageLookupByLibrary.simpleMessage("Visibility of the chat history"),
"Visible for all participants" : MessageLookupByLibrary.simpleMessage("Visible for all participants"), "Visible for all participants" : MessageLookupByLibrary.simpleMessage("Visible for all participants"),
"Visible for everyone" : MessageLookupByLibrary.simpleMessage("Visible for everyone"), "Visible for everyone" : MessageLookupByLibrary.simpleMessage("Visible for everyone"),

View file

@ -21,28 +21,28 @@ packages:
name: archive name: archive
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.13" version: "2.0.11"
args: args:
dependency: transitive dependency: transitive
description: description:
name: args name: args
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.6.0" version: "1.5.2"
async: async:
dependency: transitive dependency: transitive
description: description:
name: async name: async
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.4.1" version: "2.4.0"
boolean_selector: boolean_selector:
dependency: transitive dependency: transitive
description: description:
name: boolean_selector name: boolean_selector
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.0" version: "1.0.5"
bubble: bubble:
dependency: "direct main" dependency: "direct main"
description: description:
@ -63,14 +63,14 @@ packages:
name: charcode name: charcode
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.3" version: "1.1.2"
collection: collection:
dependency: transitive dependency: transitive
description: description:
name: collection name: collection
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.14.12" version: "1.14.11"
convert: convert:
dependency: transitive dependency: transitive
description: description:
@ -91,7 +91,7 @@ packages:
name: crypto name: crypto
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.4" version: "2.1.3"
csslib: csslib:
dependency: transitive dependency: transitive
description: description:
@ -260,7 +260,7 @@ packages:
name: image name: image
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.12" version: "2.1.4"
image_picker: image_picker:
dependency: "direct main" dependency: "direct main"
description: description:
@ -274,7 +274,7 @@ packages:
name: intl name: intl
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.16.1" version: "0.16.0"
intl_translation: intl_translation:
dependency: "direct main" dependency: "direct main"
description: description:
@ -502,7 +502,7 @@ packages:
name: quiver name: quiver
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.1.3" version: "2.0.5"
receive_sharing_intent: receive_sharing_intent:
dependency: "direct main" dependency: "direct main"
description: description:
@ -570,7 +570,7 @@ packages:
name: source_span name: source_span
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.7.0" version: "1.5.5"
sqflite: sqflite:
dependency: "direct main" dependency: "direct main"
description: description:
@ -619,21 +619,21 @@ packages:
name: test name: test
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.13.0" version: "1.9.4"
test_api: test_api:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.2.15" version: "0.2.11"
test_core: test_core:
dependency: transitive dependency: transitive
description: description:
name: test_core name: test_core
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.3.1" version: "0.2.15"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@ -718,13 +718,6 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "1.1.0" version: "1.1.0"
webkit_inspection_protocol:
dependency: transitive
description:
name: webkit_inspection_protocol
url: "https://pub.dartlang.org"
source: hosted
version: "0.5.0+1"
webview_flutter: webview_flutter:
dependency: "direct main" dependency: "direct main"
description: description:
@ -738,7 +731,7 @@ packages:
name: xml name: xml
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "3.6.1" version: "3.5.0"
yaml: yaml:
dependency: transitive dependency: transitive
description: description: