by Pivec Labs
Troubleshooting Voice & Video

Troubleshooting

Most problems are one of a handful of setup issues. Error codes are listed in the API Reference.

01

"server_outdated" after Connect#

The zone extension answers no Live requests. Regenerate (Code → Server Code → Generate Server Code), Deploy, and restart SmartFoxServer. For a remote server copy the new JAR into its extension folder first. The SFS3 log shows [NetCrafterLive] ready: … when Live is loaded.

02

Works on my LAN, not over the internet#

A TURN server is needed for some networks — run the TURN Server Wizard. Then check the Console at call start: ICE servers: stun:… turn:… means the extension hands out TURN logins; none means NetCrafterLive.properties is missing or has no secret (restart SFS3 after writing it).

03

"turn_auth_failed" or calls only fail with Force Relay#

  • live.turn.secret must equal coturn's static-auth-secret exactly.
  • Server clocks must be right (NTP).
  • TURN port (UDP+TCP) and the relay port range must be open in every firewall, including your hosting provider's.
  • The wizard's Verify step tests a real login: TURN_AUTH=OK.
04

Connected, but no sound#

  • Push-to-talk: the other player must hold the key/button.
  • The Console lists microphones at call start; a virtual/silent default device (e.g. a VR headset's) sends silence — set microphoneDevice.
  • Check the other side isn't muted (IsMuted).
05

Connected, but black video#

  • The camera may be in use by another program (or the other copy of your game on the same PC).
  • Windows: closing and reopening a camera too fast fails ("Could not connect pins"); Live retries 4 times.
  • Some Android devices: enable stripVideoRtxWorkaround on both sides.
  • The sender may have the camera off (IsCameraOn).
06

"call_full"#

Calls hold at most 6 players (live.maxCallSize), broadcasts live.maxViewers (default 8). Use named calls (JoinCall("team-red")) to split bigger groups.

07

The call drops when I click the other window#

Live sets Application.runInBackground so an unfocused Editor/Player keeps sending. If your own code turns it off, the other side sees the call freeze.

08

Mac build fails: Camera Usage Description is empty#

Fill in Camera Usage Description and Microphone Usage Description in Player Settings → Mac (and iOS) → Other Settings. See Getting Started step 6.

09

Testing in batch mode#

Unity in -batchmode sends no video frames. Automated video tests need a windowed player.