# Troubleshooting

Source: https://docs.lightair.app/desktop/reference/troubleshooting

> Fixes for the problems Lightair Desktop reports most: blocked go-live checks, dropped frames, silent microphones, black captures, busy ports and shortcuts.

In short:
- Lightair names most problems itself: in the Go Live review, in the status bar, or beside the setting. The fix is usually in the message.
- A black capture or silent microphone on a Mac is almost always a permission: check **Settings › Permissions**.
- Frames skipped or dropped: lower the canvas size, frame rate or bitrate, or close heavy apps.
- A port in use: another app (often OBS) has it. Change **Port** in **Settings › Remote API**.

In the app: Settings › Permissions; Settings › Remote API; Settings › Streaming

Each section starts with what Lightair says, in bold, then what to do.

## Going live

### The Go Live review won't let you start

The review lists checks, the blocking ones first. Fix these before **Go live** works:

- **No destination on**: switch on at least one destination in the list.
- ***Name* has no stream key**: add its key in **Outputs** (click the destination). See
  [Destinations](/desktop/go-live/destinations).
- **No video encoder**: none of the encoders Lightair supports is available on this computer. See
  [System requirements](/desktop/reference/system-requirements).

**Add a destination in Outputs to go live.** appears when there's no destination at all.

### The stream won't connect

- **Couldn't connect to the server. Check the server address and your connection.**: check the
  server address in the destination, and that you're online.
- **That doesn't look like a server URL (rtmp://, rtmps://, srt:// or https://).**: paste the
  server address from the platform's own settings, starting with one of those.
- ***Name* stopped**, with the platform's reason: open the destination to read it; a wrong or
  expired stream key is the usual cause. Copy a fresh key from the platform.

### The stream keeps reconnecting or dropping frames

- ***Name* is reconnecting**: the connection dropped and Lightair is trying again, as set in
  **Settings › Streaming › When the connection drops**. See
  [When a stream drops](/desktop/go-live/when-a-stream-drops).
- ***Name* is dropping frames**: the upload can't keep up. Lower the bitrate in **Settings ›
  Streaming** or in the destination. For an RTMP or RTMPS destination, turn on **Adaptive
  bitrate** in its settings: it lowers the bitrate when the connection can't keep up and raises it
  again.

Run **Settings › General › Run setup** to measure your upload and get a bitrate that suits it.

## Performance

**Rendering is falling behind** (in the Go Live review) or **Frames are being skipped**: the
computer can't draw every frame in time.

- Close heavy apps.
- Lower the canvas size or frame rate (**Settings › Canvases › Edit**).
- Use fewer sources, or turn off effects you don't need.
- Lower **Preview frame rate** in **Settings › General**. It saves graphics work in the window
  without changing what's recorded or streamed.

## Sound

- ***Microphone* is silent**: no sound came in for a few seconds. Check it isn't muted in the
  mixer or unplugged, and that it's the right device.
- ***Microphone* is clipping**: peaks hit 0 dB. Turn its input gain down a little.
- **No sound from a microphone on a Mac**: allow **Microphone** in **Settings › Permissions**.
- **No sound from a microphone on Windows**: in Windows' **Settings › Privacy & security ›
  Microphone**, turn on access for desktop apps. With it off, a microphone stays silent.
- **No desktop or app audio on a Mac**: allow **System audio recording** when macOS asks, or in
  **Settings › Permissions**.
- **Change the buffer after the recording ends.**: the audio buffer can't change while recording.
- A new **Sample rate** **Takes effect the next time Lightair opens.**

## Pictures and captures

- **A display, window or app capture is black on a Mac**: allow **Screen recording** in
  **Settings › Permissions** (**Open Settings**). macOS may ask you to quit and reopen Lightair
  before it takes effect.
- **A camera shows black on Windows**: in Windows' **Settings › Privacy & security › Camera**, turn
  on access for desktop apps.
- **Zooms don't follow clicks, or keys aren't drawn, on a Mac**: allow **Input monitoring** in
  **Settings › Permissions**. Without it, add zooms by hand.

**Settings › Permissions** shows each permission's state and what uses it. See
[Permissions](/desktop/get-started/permissions).

## Recording and clips

- **The disk is nearly full**: less than 5 GB is left where recordings are saved. Free space, or
  choose another **Folder** in **Settings › Recording**. Below 1 GB it's shown as an error.
- **ProRes is recorded in MOV or MKV, not MP4.**: choose **MOV** or **MKV** in **Settings ›
  Recording › File type**.
- **Turn on Clips in Outputs to save clips.**: clips need the replay buffer. Turn on **Keep the last
  moments** in **Settings › Clips**.
- **Save a clip first, then replay it.**: there's no clip to replay yet.
- **Its files couldn't be read (moved? Locate them in the Library).**: a recording's files were
  moved or renamed. Find them from the Library.
- If Lightair quits during a recording, an MKV keeps what was written; an MP4 is written to be
  crash-safe while recording too.

## Remote control, phones and Stream Deck

- **Port 4455 is in use (OBS or another app?). Choose another port.**: another app has the remote
  API's port. Quit it, or change **Port** in **Settings › Remote API** and use the new port in
  your tools.
- **Port 4456, which phones use, is taken by another app.**: quit the other app. Phones can't pair
  until the port is free.
- **Turn on the remote API first**, under **Phones**: switch on **Let other apps control
  Lightair**.
- A phone can't find your computer: see
  [Troubleshooting Lightair Live and Lightair Editor](/mobile/help/troubleshooting).
- **Install plugin** is greyed out for Stream Deck: install Elgato's Stream Deck app first.
- Stream Deck keys don't respond: check **Port** and **Password** in a key's **Connection**
  settings against **Settings › Remote API**.

## Shortcuts and controllers

- ***Keys* is taken by macOS or another app.** (or **by Windows**): another app has those keys.
  Choose others. See [Global shortcuts](/desktop/control-and-automate/shortcuts).
- **Use ⌘, ⌃ or ⌥ with a letter or number, or an F key.**: global shortcuts need a modifier.
- A MIDI control does nothing: check it's in **Settings › MIDI** with an action chosen, not
  **Choose what it does…** or **(gone)**.

## Automations and connected devices

- **VTube Studio isn't running (or its API is off: Settings › Start API)**: open VTube Studio and
  turn on its API.
- **VTube Studio didn't accept Lightair: run it again and choose Allow**: run the step again and
  choose **Allow** in VTube Studio.
- **Couldn't look for the bridge**: copy the Hue bridge's address from the Hue app, then click
  **Paste address** in **Settings › Connections**.
- **Couldn't import**, from Streamer.bot: in Streamer.bot, select the actions, right-click, choose
  **Export**, and copy the string before importing.

See [Automations](/desktop/control-and-automate/automations).

## AI co-host

- **PiAir isn't installed**: click **Install PiAir…** in the co-host's card.
- **Add your *service* key in Settings › Connections**: paste a key or sign in to a subscription
  there.
- **Lightair can't watch the mouse and keyboard (Input Monitoring), so it won't let the AI
  drive.**: allow **Input monitoring** in **Settings › Permissions**. **Accessibility** is needed
  too, to move the pointer.
- **Paused: you're using the mouse or keyboard**: it waits while you use them, and carries on when
  you stop.
- **Another co-host is active**: click **Make active** on the one you want.

See [AI co-host](/desktop/control-and-automate/ai-cohost).

## Settings and updates

- **Recording or live: changes apply the next time it starts.**: the change is saved, and used
  from the next recording or stream.
- **Lightair can't replace itself in …: the disk image is open, drag Lightair to Applications**:
  Lightair is running from somewhere it can't update itself, such as the disk image. Drag Lightair
  to **Applications** and open it from there.
- **This build doesn't update itself**: development builds don't; releases do.

## Related

- [Permissions](/desktop/get-started/permissions)
- [Go Live review](/desktop/go-live/go-live-review)
- [Settings](/desktop/reference/settings)
