|
|
|
|
@ -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>[
|
|
|
|
|
|