{"slug": "aavaaz-self-hosted-production-ready-transcription-with-whisper", "title": "Aavaaz: Self-hosted, production-ready transcription with Whisper", "summary": "Collabora has released Aavaaz, an open-source, self-hosted transcription server under the MPL 2.0 license that builds on its WhisperLive real-time Whisper server to add access control lists, redaction, notifications, speaker names and a plugin architecture for post-processing. Aavaaz accepts live audio over WebSocket with sub-second latency and recorded files through a REST API matching OpenAI's /v1/audio/transcriptions endpoint, and lets one API switch between three backends so client code built against Faster Whisper can move to a TensorRT server unchanged. It adds pyannote.audio-based speaker diarization with voice enrollment, per-word timestamps and confidence scores, hotwords, regex find-and-replace and noise reduction, installed via pip install \"aavaaz[whisper]\" and started with aavaaz serve.", "body_md": "Aaron Boxer \n\nNovember 23, 2026\n\nReading time:\n\nOpenAI's Whisper is an accurate and fast offline transcription model that can run efficiently on both GPU and CPU. To get real-time transcription, we built [WhisperLive](https://github.com/collabora/WhisperLive). But what if you need to scale efficiently to a large number of users? What if you need features that only large SaaS transcription providers seem to offer, such as access control access control (ACLs), redaction, notifications, speaker names, or a plugin architecture for post-processing?\n\nTo fill these gaps we have created [Aavaaz](https://github.com/collabora/Aavaaz). It builds on our real-time Whisper transcription server to provide features that a real deployment needs. It's Open Source under the MPL 2.0 license and you can easily host it yourself.\n\nThere are two ways in: live audio streams can be sent over a WebSocket with sub-second latency, from a microphone, a file, or an RTSP/HLS stream. Recorded files go through a REST API that matches OpenAI's `/v1/audio/transcriptions` endpoint, so code written for OpenAI just needs a new base URL. The REST API can also stream segments back as server-sent events.\n\nStereo and multi-channel files can be split per channel and merged back into one timeline, which is handy for call recordings with an agent on one side and a customer on the other.\n\nAavaaz does automatic language detection, and its responses include the language code and confidence level.\n\n```\ncurl http://localhost:8000/v1/audio/transcriptions -F file=@bonjour.wav\n{\"text\": \"Bonjour, je voudrais réserver une table pour deux.\",\n \"language\": \"fr\", \"language_probability\": 0.98}\n```\n\nBehind a single API you can choose one of three backends:\n\nSo you can build against Faster Whisper on your laptop and move to a TensorRT server later without changing a single line of client code.\n\nGetting started:\n\n```\npip install \"aavaaz[whisper]\"\naavaaz serve --port 9090 --backend faster_whisper --model small\n```\n\nThis starts the WebSocket server on port 9090 and the REST API on port 8000. Then connect from Python with  WhisperLive's streaming client, which the `whisper` extra installs:\n\n``` python\nfrom whisper_live.client import TranscriptionClient\n\nclient = TranscriptionClient(\"localhost\", 9090, model=\"small\",\n                             word_timestamps=True, enable_diarization=True)\nclient(\"audio.wav\")  # transcribe a file\nclient()             # transcribe from your microphone\n```\n\nAavaaz can enhance raw Whisper output by running each segment through a post-processing pipeline. Every step is a plugin; they run in a fixed priority order, and you can turn them on and off or write your own. If a plugin throws, the segment still goes out, so one broken step never interrupts the transcription pipeline.\n\n**Who said what.** Speaker diarization uses [pyannote.audio](https://pypi.org/project/pyannote-audio/) embeddings and clusters voices as the audio arrives, so you get `SPEAKER_00` and `SPEAKER_01` live. Enroll a few voice clips, over REST or in the WebSocket handshake, and you get \"Alice\" and \"Bob\" instead.\n\n**When they said it.** Every segment can carry per-word timestamps and confidence scores, which is what you need for subtitles or for jumping to a specific moment in a recording.\n\nWith both turned on and Alice enrolled, a segment looks like this:\n\n```\n{\"start\": \"12.480\", \"end\": \"13.620\", \"text\": \" Hello Bob.\", \"completed\": true,\n \"speaker\": \"Alice\",\n \"words\": [{\"word\": \" Hello\", \"start\": \"12.480\", \"end\": \"12.900\", \"probability\": 0.9871},\n           {\"word\": \" Bob.\", \"start\": \"12.960\", \"end\": \"13.620\", \"probability\": 0.9512}]}\n```\n\n**Getting the words right.** Hotwords boost recognition of terms Whisper rarely gets right, such as product names, acronyms, or drug names. Find and replace fixes the words Whisper still gets wrong, such as turning \"cube ernestes\" into \"Kubernetes\", with plain text or regex rules. For noisy audio there's noise reduction, with a near-field mode for steady background hum and a far-field mode for noise that changes, such as a noisy room.\n\n```\nin:  we deploy on cube ernestes\nout: we deploy on Kubernetes\n```\n\n**Making it readable.** Smart formatting capitalizes sentences, turns \"twenty one\" into 21, formats dates, times, currency, and percentages, and tidies up punctuation. Filler word removal drops the ums, uhs, and \"you know\"s. Its aggressive mode also takes out borderline words such as \"like\" and \"actually\". Utterance detection finds where one thought ends and the next begins, and auto-paragraphs group those sentences into paragraphs at pauses and speaker changes.\n\n```\nin:  i paid fifty dollars on may second. that's ten percent off\nout: I paid $50 on May 2nd. That's 10% off\n\nin:  um we should uh you know like actually ship it on Friday\nout: We should like actually ship it on Friday\nout: We should ship it on Friday                  (aggressive)\n```\n\n**Keeping it clean.** PII redaction strips Social Security numbers, credit card numbers, phone numbers, email addresses, and IP addresses before the transcript leaves the server. The profanity filter masks words partially (d\\*\\*n), fully (\\*\\*\\*\\*), or removes them, and you can add your own words to the list.\n\n```\nin:  call me at 555-123-4567, my social is 123-45-6789\nout: call me at [PHONE_REDACTED], my social is [SSN_REDACTED]\n\nin:  this damn printer is crap\nout: this d**n printer is c** p\n```\n\n**Understanding it.** Audio intelligence tags each segment with sentiment, keywords, and entities such as dates, times, amounts of money, percentages, and URLs, and adds a summary and highlights for the whole transcript at the end of a stream or file. Auto-highlights picks out key phrases by scoring n-grams across the transcript. Auto-chapters splits long recordings into sections at pauses, each with a keyword title and a short summary.\n\n```\n{\"text\": \"The refund of $50 on March 3 was a terrible experience for the customer\",\n \"sentiment\": {\"label\": \"negative\", \"score\": -0.477},\n  \"entities\": {\"date\": [\"March 3\"], \"money\": [\"$50\"]}}\n```\n\nMost of these features simply require setting a flag on `aavaaz serve`:\n\n```\naavaaz serve --model large-v3 --backend faster_whisper \\\n  --enable-diarization --word-timestamps --smart-format \\\n  --pii-redaction --profanity-filter --filler-removal \\\n  --noise-reduction far_field --intelligence --paragraphs --chapters \\\n  --hotwords \"Aavaaz,WhisperLive,TensorRT,OpenVINO\" \\\n  --replace \"cube ernestes\" Kubernetes \\\n  --api-key \"replace-me\" --metrics-port 9091\n```\n\nThis is the part that turns a demo into a service, and it's where most roll-your-own Whisper servers struggle.\n\n**Authentication.** API keys protect both the REST and WebSocket endpoints, and a connection without a valid key is rejected before any GPU memory is allocated for it. Aavaaz also comes with an account management API for running it as a multi-tenant service, which handles accounts, API keys, usage, and billing. For single sign-on, it accepts JWTs from Keycloak, Cognito, Auth0, or Okta through a JWKS URL (RS256), or HS256 with a shared secret, alongside its own API keys.\n\n**Sharing the GPU.** Batch inference collects audio from several sessions into one GPU call, with a configurable batch size and collection window. When the batch queue backs up, new clients wait instead of slowing down everyone already connected, and the number of new clients admitted per second is capped. REST requests get per-IP rate limiting that answers with HTTP 429, and you can cap concurrent WebSocket clients and how long each one stays connected.\n\n**Watching it.** Prometheus metrics cover active connections, transcription latency histograms, audio processed, segments emitted, and REST request counts, so you can put it on the same dashboards as everything else you run.\n\n**Keeping track.** Transcripts stored by the account management API are searchable by language, model, tags, and time range, and you can attach your own key-value tags to any of them. A usage API reports requests, audio minutes, characters, and cost per user, broken down by day, model, and language. For GDPR requests you can export everything stored for a user as JSON, delete a single transcript, or erase all of a user's transcripts and usage.\n\n**Getting results out.** Webhooks deliver finished transcripts and retry with exponential backoff.\n\nAavaaz has a Python SDK with REST and WebSocket clients, a JavaScript and TypeScript SDK with REST, SSE streaming and WebSocket support for Node.js and browsers, and a small Go client for transcription and health checks. From WhisperLive you also get Chrome and Firefox extensions that transcribe the audio of any browser tab, and a native Swift client for iOS.\n\nAavaaz runs on hardware ranging from a Raspberry Pi to a GPU cluster or the cloud:\n\nAnd if the stock models don't transcribe your domain well enough, there's a script and a guide for fine-tuning Whisper on your own medical, legal, or accented speech data and serving the result as a custom model.\n\nRecordings of calls and meetings are often the most sensitive data an organization has. Sending all of them to someone else's API isn't always an option. With Aavaaz the audio can stay on premises, and the code can be customized.\n\nThis makes it a good fit for call centers, meeting assistants, medical transcription, media indexing, and accessibility tools, or any product that needs speech recognition without handing over its recordings. It also means the Open Source community can share one platform for the work around Whisper, instead of every team writing its own authentication, scaling, and post-processing again.\n\nThe [Aavaaz demo](https://collabora.github.io/aavaaz/site/index.html#demo) has two parts: live transcription and file transcription.\n\nLive transcription runs Whisper large-v3 on a Modal T4 GPU. To try it, pick a language or leave it on auto-detect, hit the button, and start talking. The first request can take 10 to 20 seconds while the GPU starts up. Live audio is transcribed in memory and thrown away; nothing is stored.\n\nFile transcription runs Whisper small on AWS Lambda. You can drop in WAV, MP3, FLAC, OGG, M4A, or MOV files up to five minutes and 50 MB, or record straight from the page. Uploaded audio is deleted after transcription, and the transcript is deleted once you've seen it, or after one day.\n\nThrow a recording at it with a few speakers and some jargon from your field. Then run Aavaaz locally, add that jargon as hotwords, and turn on diarization and redaction to see the difference. If it handles part of your speech workflow, tell us what hardware you ran it on and how it went, open an issue for the first thing that breaks, or send a pull request with a new backend or plugin.\n\nAavaaz is on [GitHub](https://github.com/collabora/Aavaaz) now. If you need help with a private deployment, fine-tuning a model, or adding speech recognition to an existing product, [get in touch!](contact-us.html)\n\n23/11/2026\n\nAavaaz brings the features of commercial transcription services to your own servers: real-time Whisper transcription, speaker names, PII…\n\n05/11/2026\n\nNext week we'll be at electronica in Munich! In partnership with Renesas, Collabora will showcase real-time, low-latency ML video analytics…\n\n03/11/2026\n\nCollabora authored 111 patches for Linux 7.3, spanning DRM core, Rust, MediaTek, Rockchip, and more. Highlights include a new color format…", "url": "https://wpnews.pro/news/aavaaz-self-hosted-production-ready-transcription-with-whisper", "canonical_source": "https://www.collabora.com/news-and-blog/news-and-events/introducing-aavaaz-self-hosted-production-ready-transcription-with-whisper.html", "published_at": "2026-11-23 20:27:13+00:00", "updated_at": "2026-11-23 20:42:10.172268+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-tools", "developer-tools", "ai-infrastructure", "natural-language-processing"], "entities": ["Aavaaz", "Collabora", "WhisperLive", "OpenAI", "Whisper", "Faster Whisper", "TensorRT", "pyannote.audio"], "also_reported_by": [], "takeaway": "Aavaaz exposes OpenAI's /v1/audio/transcriptions endpoint, so existing OpenAI transcription clients only need a new base URL, and one API can switch between Faster Whisper and TensorRT backends without client code changes.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/aavaaz-self-hosted-production-ready-transcription-with-whisper", "markdown": "https://wpnews.pro/news/aavaaz-self-hosted-production-ready-transcription-with-whisper.md", "text": "https://wpnews.pro/news/aavaaz-self-hosted-production-ready-transcription-with-whisper.txt", "jsonld": "https://wpnews.pro/news/aavaaz-self-hosted-production-ready-transcription-with-whisper.jsonld"}}