title: iOS - TwilioVideo - Unable to connect on call with remote participant
body: <p>I am developing app with video calling functionality and I am using Twilio Video for that.</p>
  <p>Currently using <strong>TwilioVideo SDK v4.6.2</strong> and <strong>iOS Version 14.x</strong> and Above</p>
  <p>I am not able to connect to the TwilioVideo room
  Below is my code:</p>
  <pre><code>    func connect() {
          guard let accessToken = self.accessToken, let roomName = self.roomName else {
              
              return
          }
          
          prepareAudio()
          prepareCamera()
          
          let connectOptions = ConnectOptions(token: accessToken) { (builder) in
              
          
              builder.isDominantSpeakerEnabled = true
              
          
              builder.isNetworkQualityEnabled = true
              
          
              if let localAudioTrack = self.localAudioTrack {
                  builder.audioTracks = [localAudioTrack]
              }
              
              if let localVideoTrack = self.localVideoTrack {
                  builder.videoTracks = [localVideoTrack]
              }
              
          
              if let preferredAudioCodec = TwiloVideoSettingsManager.shared.audioCodec {
                  builder.preferredAudioCodecs = [preferredAudioCodec]
              }
              
          
              if let preferredVideoCodec = TwiloVideoSettingsManager.shared.videoCodec {
                  builder.preferredVideoCodecs = [preferredVideoCodec]
              }
              
          
              if let encodingParameters = TwiloVideoSettingsManager.shared.getEncodingParameters()        {
                  builder.encodingParameters = encodingParameters
              }
              
          
              builder.region = &quot;gll&quot;
              builder.roomName = roomName
          }
         
          self.room = TwilioVideoSDK.connect(options: connectOptions, delegate: self)
         
          UIApplication.shared.isIdleTimerDisabled = true
      }
  </code></pre>
  <p>Response in not received from Twilio in either of the methods mentioned below</p>
  <pre><code>    func didConnect(to room: Room) {
              
              NSLog(&quot;Room: \(room.name) SID: \(room.sid)&quot;)
              if (room.remoteParticipants.count &gt; 0) {
                  self.remoteParticipant = room.remoteParticipants[0]
                  self.remoteParticipant.delegate = self
              }
              self.delegate.videoServiceManagerDidConnectToRoom(name:room.name)
          }
      
      func roomDidFailToConnect(room: Room, error: Error) {
              NSLog(&quot;Failed to connect to a Room: \(error).&quot;)
              self.delegate.videoServiceManagerFailToConnectRoom(error: error.localizedDescription)
              self.leaveRoom()
          }
  </code></pre>
  <p>I am not able connect to the room every time and sometimes I get the error mentioned below :</p>
  <pre><code>Failed to connect to a Room: Error Domain=com.twilio.video Code=53000 &quot;Signaling connection error&quot; UserInfo={NSLocalizedDescription=Signaling connection error, NSLocalizedFailureReason=SIP error 408}.
  </code></pre>
  <p>When I check the Twilio logs in debug mode I am not getting any error.
  Please guide me to rectify if there is any mistake in my code</p>