Ios Voip Kit Changes

development_aamir
Aamir Muhammad 2 years ago
parent f903700639
commit 41e4ec0eee

@ -108,7 +108,7 @@ class _StartCallPageState extends State<StartCallPage> {
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<StartCallPage> {
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<StartCallPage> {
),
)
: provider.isOutGoingCall
? SizedBox(
? Container(
width: double.infinity,
height: double.infinity,
color: Colors.black,
child: Stack(
alignment: FractionalOffset.center,
children: <Widget>[

Loading…
Cancel
Save