lb-phone
Requires lb-phone ≥ 1.5.0. Token type: Media (one token covers video, image and audio).
- Open
lb-phone/config/config.luaand set all three upload methods:
Config.UploadMethod.Video = "Fivemanage"Config.UploadMethod.Image = "Fivemanage"Config.UploadMethod.Audio = "Fivemanage"- Open
lb-phone/server/apiKeys.luaand paste your Spawnbase media token in all three slots:
API_KEYS = { Video = "YOUR_MEDIA_TOKEN", Image = "YOUR_MEDIA_TOKEN", Audio = "YOUR_MEDIA_TOKEN",}- Restart lb-phone (
ensure lb-phone).
Verify: take a photo and record a short video in the phone — both appear in the Spawnbase dashboard under Files. If uploads fail with a 401 in the phone’s console output, the token is a Logs token or has a typo; it must be a Media token.
Drop-in copies of both files ship in sdk/integrations/lb-phone/.