     private let checkImage = UIImage.fontAwesomeIcon(name: .checkSquareO, textColor: UIColor.titleGreyColor(), size: CGSize.init(width: 33 * Utils.HEIGHT_SCALE, height: 33 * Utils.HEIGHT_SCALE))
     private var longPressRec1 : UILongPressGestureRecognizer?
     private var longPressRec2 : UILongPressGestureRecognizer?
+    private var first: Bool = true
     override var navigationTitle: String? {
         get {
             return "Call status:\(self.title ?? "Unkonw")"

            return
        }
        
        /* 
         audioVideo as making a Video call,audioOnly as making Voice only call.The default is audio call.
         */
        var mediaOption = MediaOption.audioOnly()

                    strongSelf.updateAvatarViewVisibility()
                    switch mediaChangeType {
                        
                        /* Local/Remote video rendering view size has changed */
                    case .localVideoViewSize,.remoteVideoViewSize:
                        break
                        /* This might be triggered when the remote party muted or unmuted the audio. */
                    case .remoteSendingAudio(let isSending):
                        strongSelf.receivingAudioSwitch.isOn = isSending
                        
                        /* This might be triggered when the remote party muted or unmuted the video. */
                    case .remoteSendingVideo(let isSending):
                        strongSelf.receivingVideoSwitch.isOn = isSending
                        
                        /* This might be triggered when the local party muted or unmuted the video. */
                    case .sendingAudio(let isSending):
                        strongSelf.sendingAudioSwitch.isOn = isSending
                        
                        /* This might be triggered when the local party muted or unmuted the aideo. */
                    case .sendingVideo(let isSending):
                        strongSelf.sendingVideoSwitch.isOn = isSending
                        
                        /* Camera FacingMode on local device has switched. */
                    case .cameraSwitched:
                        strongSelf.updateCheckBoxStatus()
                        
                        /* Whether loud speaker on local device is on or not has switched. */
                    case .spearkerSwitched:
                        strongSelf.loudSpeakerSwitch.isOn = call.isSpeaker
                        
                        /* Whether Screen share is blocked by local*/
                    case .receivingScreenShare(let isReceiving):
                        self?.showScreenShareView(isReceiving)
                        break
                        
                        /* Whether Remote began to send Screen share */
                    case .remoteSendingScreenShare(let startedSending):
                        if startedSending {
                            self?.currentCall?.screenShareRenderView = self?.screenShareView
                        }
                        else {
                            self?.currentCall?.screenShareRenderView = nil
