         alert.addAction(UIAlertAction(title: "End call", style: .default, handler: endCallHandler))
         present(alert, animated: true, completion: nil)
     }
-
+    
     override func goBack() {
         if self.isCallDisconnected() {
             _ = navigationController?.popViewController(animated: true)

        }
    }
    private func slideInStateView(slideInMsg: String){
        DispatchQueue.main.sync {
            self.slideInView?.isHidden = false
            self.slideInMsgLabel?.text = slideInMsg
            UIView.animate(withDuration: 0.25, animations: {
                self.slideInView?.transform = CGAffineTransform.init(translationX: 0, y: 64)
            }) { (_) in
                UIView.animate(withDuration: 0.25, delay: 1.5, options: .curveEaseInOut, animations: {
                    self.slideInView?.transform = CGAffineTransform.init(translationX: 0, y: 0)
                }, completion: { (_) in
                    self.slideInView?.isHidden = true
                })
            }
        }
    }
    

                    if globalVideoSetting.isVideoEnabled() && !globalVideoSetting.isSelfViewShow {
                        strongSelf.toggleSendingVideo(strongSelf.sendingVideoSwitch)
                    }
                    if self?.currentCall?.remoteSendingScreenShare ?? false {
                        strongSelf.currentCall?.screenShareRenderView = self?.screenShareView
                        strongSelf.showScreenShareView(true)
                    }
                }
                
            }
            
            
            /* Callback when this *call* is disconnected (hangup, cancelled, get declined or other self device pickup the call). */
            call.onDisconnected = {[weak self] disconnectionType in
                if let strongSelf = self {
