code: def cameraUrls(self, camera=None, home=None, cid=None):
          
          local_url = None
          vpn_url = None
          if cid:
              camera_data=self.cameraById(cid)
          else:
              camera_data=self.cameraByName(camera=camera, home=home)
          if camera_data:
              vpn_url = camera_data['vpn_url']
              resp = postRequest(vpn_url + '/command/ping')
              temp_local_url=resp['local_url']
              try:
                  resp = postRequest(temp_local_url + '/command/ping',timeout=1)
                  if resp and temp_local_url == resp['local_url']:
                      local_url = temp_local_url
              except:  # On this particular request, vithout errors from previous requests, error is timeout
                  local_url = None
          return vpn_url, local_url
docs: Return the vpn_url and the local_url (if available) of a given camera
          in order to access to its live feed
          Can't use the is_local property which is mostly false in case of operator
          dynamic IP change after presence start sequence