Chameleon + Falcon: a small Android app for live streaming with XbotGo cameras:
the Chameleon gimbal tracks while your phone streams, or the Falcon films
and your phone forwards its picture: to YouTube, Facebook, Twitch or your own server
(SRT, RTMP, RTSP), with optional recording to your own cloud storage.
Formerly "Chameleon Stream". Renamed in 0.17.0 because the app now serves both the XbotGo Chameleon and the XbotGo Falcon.
Unofficial. Not affiliated with or endorsed by XbotGo. The protocols were worked out from captures of the official app and the devices' own traffic. Use it at your own risk.
Network names and addresses in the screenshots are placeholders.
The Chameleon does its player tracking on the device itself. The phone only has to tell it to start and then point the camera. The official app records or streams to a fixed set of platforms. Chamelcon does one thing: gimbal tracks, phone streams where you choose: YouTube, Facebook or Twitch with just a stream key, your own MediaMTX/OBS/vMix server, or a production switcher over SRT.
The Falcon films on its own (two cameras, on-device tracking). Chamelcon connects to it over Wi-Fi, takes its live picture and forwards it unchanged to your own server, YouTube, Facebook or Twitch, so the Falcon can be one camera in a multi-camera production or stream on its own.
The app starts with a choice:
| Choice | What films | What the phone does |
|---|---|---|
| Chameleon gimbal | the phone, on the Chameleon | streams; the gimbal tracks |
| XbotGo Falcon | the Falcon | controls it and forwards its stream |
| Phone camera | the phone, on a tripod or handheld | streams |
Pick YouTube, Facebook or Twitch and paste the stream key from the platform's dashboard. The app adds the platform's server and always uses the encrypted connection (RTMPS).
| Platform | Where the key is | Note |
|---|---|---|
| YouTube | YouTube Studio → Create → Go live → Stream | no limit set by the app |
| Live video → Streaming software | up to 1080p and 6 Mbit/s | |
| Twitch | Creator Dashboard → Settings → Stream | up to 1080p and 6 Mbit/s |
| Other | any rtmp://, rtmps:// or srt:// address |
the phone-camera screens also take rtsp:// |
| Record only | no key | nothing is sent live, see Cloud recording |
- The app keeps the stream within the platform's limits: for Facebook and Twitch the Falcon is asked for at most 6 Mbit/s whatever quality is chosen, and the phone camera refuses more than 1080p.
- Keys are stored encrypted on the phone (Android Keystore) and shared by all screens: enter each once.
- The key never appears in the status line or the notification.
- One live destination at a time. To reach several platforms at once, send to Matchday Control Center and restream from there.
- These platforms take H.264; H.265 stays an SRT option.
Signing in to a platform instead of pasting a key is planned, not built yet.
While a live stream runs, the app can also record it and upload it to your own bucket.
- Storage: anything S3-compatible: Amazon S3, Google Cloud Storage (HMAC key), Cloudflare R2, Backblaze B2, Wasabi, or your own MinIO/Garage server. Save + test checks the bucket.
- Recording: the stream itself is saved as MP4 pieces of 2 to 15 minutes, in the same quality, without a second encoder. Every piece plays on its own. Recording runs even when the live destination is unreachable.
- Record only: choose "Record only (no live stream)" as the destination to record without going live.
- Upload: during the stream, only on Wi-Fi, or after the stream. Uploads run in the background, survive an app restart and resume a piece where they stopped. An optional speed limit (1, 2 or 4 Mbit/s) applies while a stream runs, so the upload leaves room for the live picture.
- Status where you film: the streaming screens and the start screen show the running upload, what is waiting, and a warning when an upload fails.
- Phone storage: copies are deleted after upload unless you choose to keep them; kept copies can be removed with one button. Recording stops by itself when storage runs low.
- Layout in the bucket:
<folder>/<date>/<date_time_mode>/part-001.mp4,part-002.mp4, … - Access keys are stored encrypted on the phone. Use a key that may only write to that bucket.
Uploading during the stream shares the phone's upload with the live stream. On a weak connection choose "after the stream" or "only on Wi-Fi".
-
On-device tracking control: connect over Bluetooth, choose a sport mode, start or stop tracking. Football 11v11 is the default and verified. The other modes come from the official app's table, and the app shows whether the firmware accepts each one.
-
Auto zoom: the gimbal sends zoom targets, and the app glides the phone camera to them, as the official app does.
-
Manual aim: hold-to-move pan/tilt buttons. A tilt you set during tracking is remembered and restored each time tracking starts.
-
Streaming via RootEncoder:
- SRT (with AES passphrase), RTMP/RTMPS, RTSP; YouTube, Facebook and Twitch by stream key
- H.264, or H.265 over SRT (about 40 % less bitrate)
- 480p to 2160p at 30 fps, keyframe every second
-
Built for matchdays:
- runs as a foreground service, so streaming continues with the screen off
- reconnects endlessly when the network or server drops
- battery and thermal status shown in the app
-
Three camera modes, each with its own resolution and camera slot:
Mode Use Gimbal Chameleon tracks, auto zoom Fixed tripod, ultra-wide on the whole pitch, framing remembered Reporter handheld, free zoom, front/back camera switchable while live -
Optional dashboard link (SRT mode): long-polls a control server for tally (ON AIR frame, badge, vibration), remote zoom, remote start/stop and stream settings. See Remote control.
Tested with Falcon firmware 6.2.1. No XbotGo app or account needed.
- Connection status at a glance: connected or not, and how: via the Falcon's own hotspot, a shared Wi-Fi (router at the pitch) or the phone's hotspot. One Connect button finds the Falcon: Bluetooth tells the app which Falcon is nearby, and a search of the network finds its address. Shows firmware, battery, sport mode, SD card and recording state.
- Falcon hotspot without the XbotGo app: Setup shows the hotspot's name and password, and Join Falcon hotspot connects the app to it directly (Android 10+, Android asks once). Only Chamelcon uses that connection; mobile data stays available for sending to the internet. After leaving the hotspot the app looks for the Falcon on the phone's normal Wi-Fi by itself.
- Live: in-app preview; sport mode (the list comes from the Falcon); SD-card recording
(record, pause, resume, stop); send the picture live without re-encoding:
- to Matchday Control Center (broadcast-control) or any MediaMTX over SRT (own camera slot), to YouTube, Facebook or Twitch by stream key, or any RTMP/SRT URL
- resolution and bitrate chosen in the app (1080p 8 Mbit/s down to 360p); the Falcon encodes, the phone only forwards, so there is no extra delay or quality loss
- keeps sending with the screen off
- Recordings: the SD card over Wi-Fi: play, download to the phone, delete.
- Pitch: set the boundary the Falcon tracks in. The Falcon takes three photos; you tap the corners and the halfway line, and the app saves them as camera angles.
- Falcon on Wi-Fi: list of the networks the Falcon sees, password dialog, saved networks with "Forget". The Falcon keeps its own hotspot as a fallback.
Not supported: the Falcon's AI boxes. Firmware 6.2.1 sends only video and audio to the phone.
- Download
chamelcon-<version>.apkfrom the latest release. - Open it on the phone and allow installs from that source.
- Grant camera, microphone, Bluetooth and notification permissions on first start.
Coming from Chameleon Stream (0.16 or older)? Chamelcon installs as a separate app with a new app id. Enter your stream target again, then uninstall the old app.
Requires Android 8.0 (API 26) or newer. Tested on a Pixel 8, a Xiaomi 14T and (Falcon) a Galaxy S25 Ultra with Android 16.
- Close the XbotGo app. The gimbal accepts only one Bluetooth connection.
- Mount the phone, switch the Chameleon on, open Chamelcon.
- Tap Connect gimbal, choose the sport mode, then tap Start tracking.
- Enter a stream target:
- SRT: server address and camera slot (
cam1tocam6), or paste a fullsrt://…link - YouTube · Twitch · URL: pick the platform and paste its stream key, or enter a full URL
- SRT: server address and camera slot (
- Optional: tick Also record to the cloud (bucket settings under Cloud …).
- Tap Start stream.
Keep the phone plugged in for full matches. 1080p streaming plus tracking drains a battery quickly.
- Switch the Falcon on. Close the XbotGo app (the Falcon serves one controller at a time).
- First time: open Chamelcon, choose XbotGo Falcon, tap Connect. If the Falcon is not
on a network the phone is on, the app offers to join the Falcon's hotspot (
Xbt-F-…); the button is also under Setup → Falcon hotspot. On Android 8 or 9 join the hotspot in the Wi-Fi settings with the password shown there. - Optional, recommended at the pitch: Setup → Add Wi-Fi network … puts the Falcon on your router or the phone's hotspot. Then connect the phone to the same network and tap Connect. From then on the phone does not need the Falcon's hotspot: with Bluetooth on, Connect recognises the Falcon and finds it on the shared network.
- Live: pick the quality, set the destination under Setup, tap Start sending.
The control server is Matchday Control Center, a Linux dashboard for multi-camera matchday streaming: camera switching, scoreboard, replays, and streaming to YouTube and others. Chamelcon is its phone app for XbotGo cameras; it also works without it.
For the scoreboard there is Score67 (score67.de): a live scoreboard for football, basketball and tennis, controlled from a phone. Matchday Control Center can put its overlay on the video, and its OBS overlay link works in OBS Studio and other mixers too. Chamelcon itself only sends the camera picture.
In SRT mode the app talks to a control server at http://<server>:5000/api/camera-report/<cam>.
It reports battery, temperature and zoom, and gets back tally, zoom requests, actions (start or
stop the stream, connect the gimbal, start tracking) and stream settings. Turn on
Follow dashboard settings to let the server set mode, resolution, bitrate and latency.
Changes that need a stream restart wait until the camera is no longer on air.
The SRT stream itself is plain MediaMTX style (streamid=publish:camN, port 8890), so any SRT
receiver works without the dashboard.
git clone https://github.com/bullemer/chamelcon.git
cd chamelcon
./gradlew assembleRelease # JDK 17, Android SDK path in local.properties
adb install -r app/build/outputs/apk/release/app-release.apk
./gradlew testDebugUnitTest # unit testsUseful log tags: adb logcat -s ChameleonZoom ChameleonCams.
Bluetooth LE service AE30. Commands are written to characteristic AE01 (write without
response), and replies arrive as notifications on AE02.
AA 55 | len (u16 LE, payload+1) | cmd | payload | CRC-16/XMODEM (LE, over all bytes before)
| Cmd | Meaning |
|---|---|
p <mode> |
select tracking mode, gimbal replies F <mode> … |
r … |
capture parameters (max span, max yaw) |
o 01 / o 00 |
start / stop on-device tracking |
A … |
motor speed (manual aim) |
q (rx) |
zoom target, int32 LE ÷ 1000 |
x (rx) |
debug text (includes current tilt) |
Full details are in Protocol.kt and
GimbalBle.kt.
Control runs over the Falcon's own MQTT broker (port 1883, no login). Short topic codes such
as AZR→AZA (firmware version), BPR→BPA (sport modes), AVR (set mode), ALR (record),
ULWSR/ULWCR (scan/join Wi-Fi; the password is sent Base64-encoded) and JSON topics for the
pitch boundary (ElecFence…).
The live picture: the phone sends _connect and _startPushStream (a protobuf with its own
address, an SRT port and a bitrate ladder) under capture/<falcon-id>/<controller-id>/. The
Falcon then connects to the phone as an SRT caller and sends one RTP packet per SRT message:
H.264 with a small non-standard prefix, and AAC audio with several frames per packet, each
behind its own small header (length, timestamp). The SD card is served over HTTP (port 80).
Hotspot: every Falcon has its own network name (Xbt-F- plus six hex digits derived from the
unit) and a fixed WPA2 password derived from that name (first 11 hex digits of
SHA-256(name + a fixed salt)). The firmware sets it on every start and the official app
computes it the same way, so it cannot be changed.
Discovery: the Falcon advertises over Bluetooth LE with its id (Xbt-F-…, also its hotspot
name) as local name and in the manufacturer data. The advertisement does not carry its address
on a router, so the app searches the local network for the MQTT port.
Details are in the falcon package, starting
with FalconProtocol.kt.
Personal project, used at real matches. Football 11v11 is the only mode tested on a real Chameleon. Falcon support is new: live preview, sending, sport modes, pitch scan and the Wi-Fi list are tested on a Falcon with firmware 6.2.1, and so is joining its hotspot from the app (Galaxy S25 Ultra: the phone leaves its normal Wi-Fi while joined; sending to the internet over mobile data in that state is not tested). SD-card recording and the Recordings tab are not tested yet.
New in 0.19: stream keys and cloud recording. Recording and upload are tested with the phone camera and the Falcon against a self-hosted S3 server; the platform servers are checked for reachability, but a full broadcast with a real YouTube, Facebook or Twitch key and uploads to Amazon S3, Google Cloud Storage and Cloudflare R2 still wait for their first real use. Falcon audio was broken in earlier versions (every frame undecodable) and is fixed in 0.19.
New in 0.20: record only, platform limits, upload speed limit, upload status on the streaming screens, clean-up of kept copies; all tested with the phone camera and the Falcon.
Reports for other modes, firmware versions, platforms and storage providers are welcome as issues.
MIT. XbotGo, Chameleon and Falcon are trademarks of their respective owner.



