only index cameraCommand until expiration time.