# Security & privacy
Where the data goes
Your encoder ──▶ our server ──▶ speech + translation + voice providers ──▶ our server ──▶ viewers
(India region Sarvam AI (India) or Google Gemini,
recommended) depending on the engine you choose
- Audio of the speaker is sent to the chosen engine provider to be recognised, translated and spoken. The picture is not sent to any AI provider.
- Stored by us: the output (picture, dubbed audio, subtitles) and the transcript, for
FDS_RETENTION_DAYS(default 7 days), then deleted automatically.DELETE /v1/streams/{id}deletes them at once. Set"record": falseto keep only a short rolling window during the stream. - Cloned voices (Sarvam) are created only with
voice_clone_consent: trueand deleted from the provider when the stream ends.
How the service is protected
| Area | Measure |
|---|---|
| API keys | Random keys (about 250 bits); only a SHA-256 hash is stored; shown once; scopes; revocable; compared in constant time |
| Stream keys | 160-bit random; checked by the API for every publish (MediaMTX permission hook); rotatable; hidden in logs |
| Secrets at rest | LiveKit secrets, re-stream URLs and webhook secrets are encrypted (Fernet, AES-128-CBC + HMAC-SHA256) with FDS_MASTER_KEY |
| Tenant isolation | Every query is filtered by account; other accounts' objects answer 404 |
| Playback | Public, or signed tokens (HMAC-SHA256, expiry, bound to one stream); optional CORS allow-list per account |
| Media server | Only ingest ports are public; reading streams and its control API are limited to the server itself with an internal credential |
| Outgoing calls | Webhook, re-stream and LiveKit addresses are checked: allowed schemes only, private/loopback/link-local addresses refused (SSRF protection), re-checked before every webhook delivery, no redirects |
| Abuse | Rate limits per key and per address (also for failed logins and publish attempts), 64 KB request limit, usage caps, daily cost ceiling |
| Web pages | Content-Security-Policy, X-Frame-Options (except the embed page), nosniff, no-referrer |
| Errors and logs | No stack traces to clients; request IDs; stream keys, API keys and passwords removed from logs |
| Audit | Key creation/revocation, stream create/update/stop/delete/rotate, publishes: stored with time and address |
| Operator tools | No admin API on the network: manage.py works on the server only |
| Transport | HTTPS via the reverse proxy (Caddy, automatic certificates); RTMPS and SRT encryption possible |
| Dependencies | Versions pinned; pip-audit and bandit are run before each release |
Your side
- Keep the API key on your server. Never put it into a web page or a mobile app.
- Treat stream keys like passwords; rotate them if they leak.
- Check webhook signatures (Webhooks).
- For private streams use signed playback.
Report a security problem to your Feltiv contact. Please do not test against production without asking us first.