From 41e4ec0eeecc81348b7719d7e9be8785063896e8 Mon Sep 17 00:00:00 2001 From: Aamir Imac Date: Thu, 3 Aug 2023 11:52:01 +0300 Subject: [PATCH] Ios Voip Kit Changes --- lib/ui/chat/call/chat_incoming_call_screen.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/ui/chat/call/chat_incoming_call_screen.dart b/lib/ui/chat/call/chat_incoming_call_screen.dart index 0c0e1f2..81645c3 100644 --- a/lib/ui/chat/call/chat_incoming_call_screen.dart +++ b/lib/ui/chat/call/chat_incoming_call_screen.dart @@ -108,7 +108,7 @@ class _StartCallPageState extends State { if (userLoginResponse.response != null) { AppState().setchatUserDetails = userLoginResponse; Utils.saveStringFromPrefs("userLoginChatDetails", jsonEncode(userLoginResponse.response)); - + await cProv.startIncomingCallViaKit(inCallData: inCallData.toJson(), isVCall: callType == "video" ? true : false); try { AppState().setchatUserDetails = UserAutoLoginModel(response: userLoginResponse.response, errorResponses: null); @@ -154,8 +154,7 @@ class _StartCallPageState extends State { RTCVideoView( provider.remoteRenderer!, objectFit: RTCVideoViewObjectFit.RTCVideoViewObjectFitContain, - filterQuality: FilterQuality.high - , + filterQuality: FilterQuality.high, key: const Key('remote'), ), if (provider.isVideoCall) @@ -370,9 +369,10 @@ class _StartCallPageState extends State { ), ) : provider.isOutGoingCall - ? SizedBox( + ? Container( width: double.infinity, height: double.infinity, + color: Colors.black, child: Stack( alignment: FractionalOffset.center, children: [