From 6cc4323571cea773a1e0675b9942a9fa4abf83ab Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Thu, 19 May 2022 14:33:02 +0100 Subject: [PATCH] webrtc: call overlays for ios/android, support for flipping camera (#669) --- .../android/app/src/main/assets/www/call.html | 15 +- apps/android/app/src/main/assets/www/call.js | 223 +++++++++------ .../android/app/src/main/assets/www/style.css | 1 + .../chat/simplex/app/views/call/CallView.kt | 162 ++++++++++- .../chat/simplex/app/views/call/WebRTC.kt | 40 ++- .../app/src/main/res/values-ru/strings.xml | 12 + .../app/src/main/res/values/strings.xml | 12 + apps/ios/Shared/Model/Shared/CallTypes.swift | 6 + .../Shared/Views/Call/ActiveCallView.swift | 81 ++++-- apps/ios/Shared/Views/Call/WebRTC.swift | 28 +- packages/simplex-chat-webrtc/package.json | 2 +- packages/simplex-chat-webrtc/src/call.html | 15 +- packages/simplex-chat-webrtc/src/call.ts | 257 +++++++++++------- packages/simplex-chat-webrtc/src/style.css | 1 + 14 files changed, 636 insertions(+), 219 deletions(-) diff --git a/apps/android/app/src/main/assets/www/call.html b/apps/android/app/src/main/assets/www/call.html index a188d38394..9f27db015e 100644 --- a/apps/android/app/src/main/assets/www/call.html +++ b/apps/android/app/src/main/assets/www/call.html @@ -5,8 +5,19 @@ - - + +