This guide was prepared with AI assistance using the linked documentation. Code examples are illustrative; verify them against your environment and current API documentation before use.
Live captions are a stream of revisions. A speaker says a few words, text appears, the sentence continues, and a final version arrives later. The next speaker may have started before the first result is finalized. If the interface assumes each result arrives complete and in order, a conversation can quickly become difficult to follow.
This guide shows how to design a transcription pipeline around those facts. It covers audio capture and turn commits, state keyed by transcription item, explicit ordering, readable partial text, failure handling, accessibility, and evaluation. The examples use the current OpenAI Realtime transcription documentation as a concrete reference; the state design applies to other streaming services once their event semantics are checked.
Who this is for: developers building live captions, meeting aids, support tools, or other interfaces that display speech as text. Familiarity with JavaScript, JSON, and basic client-server applications is helpful. This is a captioning tutorial, not a spoken voice-agent tutorial: the model is not being asked to answer the speaker or take actions.
What you will leave with: a model for representing caption turns, a small TypeScript state helper, test cases that exercise out-of-order completion, and a practical launch checklist. The snippets are illustrative and have not been tested against a live provider account. Confirm current model availability and API fields for your environment, and run the tests for your own implementation before shipping.
What a reliable caption interface has to do
Suppose a meeting participant says, “Ship the new version on Thursday.” Your interface might first show “Ship the new,” then extend the line, then receive a final transcript. Meanwhile, another participant has already said “I’ll prepare the release notes.” If the second final arrives first and you append final results to one string, the transcript can display the answers in the wrong order.
Instead, keep a separate record for each speech turn. Record its position in the conversation independently of when the final text arrives. Show provisional text while the turn is being transcribed, replace it with the completed text when available, and label incomplete or failed turns honestly. A correction to one turn should not overwrite a different turn.
There are several independent choices:
- Capture: which microphone or audio stream is being transcribed, and when it starts and stops.
- Segmentation: how the system identifies an audio turn and tells the service the turn is ready to finalize.
- Transport: how audio and events reach the service; browser and server integrations can use different connection paths.
- Reconciliation: how incremental and completed events update the correct item.
- Presentation: what a reader sees when a caption is provisional, final, unavailable, or corrected.
- Retention: whether audio or text is stored, for how long, and who can access it.
Keep those responsibilities separate. A problem with one layer should be visible as that problem. For example, a dropped network connection should not quietly turn the last partial phrase into a final record.
Choose live transcription or a file workflow
Use realtime transcription when audio is arriving while the application runs and the reader needs text as it becomes available. Examples include a live classroom caption panel or an operator following a call. Use a file transcription workflow when the audio is already recorded and immediate display is not required. A file workflow can be simpler to retry and may support different features, such as certain timestamps or speaker labels, depending on the selected model.
The OpenAI realtime transcription guide currently recommends gpt-live-transcribe for live text. The same guide describes gpt-transcribe for a specific committed-turn workflow and detected-language output. Check the current documentation and account access rather than assuming two transcription models expose the same fields or event timing.
This distinction affects product promises. If a customer expects an edited meeting record with speaker attribution and word-level timing, a low-latency live caption stream alone may not meet that need. You might display live text during a session and produce a separate reviewed artifact afterward, with a clear explanation that the two outputs have different purposes. Do not label inferred speaker identities as verified facts.
| Need | Starting point | Question to resolve |
|---|---|---|
| Read text while speech is happening | Live transcription | How quickly must provisional text appear, and how will corrections be shown? |
| Search a completed recording | File transcription | Which formats, timing data, and retention rules are required? |
| Identify who spoke each word | A compatible speaker-aware workflow | Are labels sufficiently accurate, and can a user correct them? |
| Translate speech into another language | A translation workflow | How will the product distinguish translation from the source-language transcript? |
| Have an assistant respond aloud | A voice-agent workflow | What additional conversation and action controls are needed? |
Do not add a voice assistant simply because captions come from audio. Captions may be part of an assistive experience where introducing unsolicited model responses would be confusing or inappropriate.
Follow one audio turn through the system
Think of a turn as an identified piece of input audio, not as a paragraph that happens to appear on screen. A turn can contain a sentence, a longer utterance, or a segment selected by your application. The size depends on the segmentation strategy and the capabilities of the selected model.
Loading diagram…
The application knows when it requested a commit. The service associates transcription events with an item_id and, in the documented examples, a content_index. Store those identifiers along with a session identifier. A reconnect may create a new session with a new identifier space; never merge two sessions solely because their items happen to have the same string identifier.
Maintain ordering from an authoritative source: for example, the committed input items or a verified mapping from your own serialized commit sequence. The Realtime documentation warns that completion events for different turns can arrive out of order. Arrival time of a final transcript is therefore a poor ordering key.
The exact event sequence and guarantees depend on the API and transport. If your integration cannot establish the order of two turns confidently, preserve that uncertainty and investigate instead of inventing an ordering. A local sequence is useful only if your application can reliably associate each local commit with the corresponding service item.
Configure a dedicated transcription session
The official server-side WebSocket example connects to the transcription intent and then sends a session update. It chooses a transcription model inside the session configuration, rather than putting a conversation model in the URL. The following shows the documented configuration shape with a 24 kHz PCM input. It is a protocol excerpt, not a complete connection, capture, or authentication implementation.
{
"type": "session.update",
"session": {
"type": "transcription",
"audio": {
"input": {
"format": { "type": "audio/pcm", "rate": 24000 },
"transcription": {
"model": "gpt-live-transcribe",
"delay": "low"
},
"turn_detection": null
}
}
}
}For this model, the current documentation says to omit turn_detection or set it to null: the model does not support the server-side server_vad or semantic_vad modes. Your application detects the end of speech and commits buffered audio. Other models and conversation sessions may have different capabilities. Copying a VAD configuration from a voice-agent tutorial without checking compatibility can cause a rejected session update.
The server WebSocket example uses a standard API key on the server. Do not place that key in browser code. Browser capture has a different connection path; follow the current provider guidance for WebRTC and short-lived client credentials where appropriate. Do not assume raw PCM sent on a server WebSocket is interchangeable with a browser media track.
For a production system, authenticate users who request transcription, set limits, protect session creation, and apply a usage budget. A caption stream can incur costs even if your application never stores a transcript. Restrict logs so they do not expose standard keys, temporary credentials, or audio content. Check the provider’s current pricing and data controls for the deployment you actually use.
Convert and segment audio deliberately
The provider example expects mono PCM16 audio at the configured sample rate. A file container or compressed browser recording is not automatically the same thing as raw PCM bytes. Ensure your capture or media pipeline produces the specified format and sample rate; if conversion or resampling is required, use a tested audio library and validate the result. Mislabeling a stream can lead to failed requests or poor captions.
Break the audio into manageable chunks, encode the bytes as required by the provider, and send append events in order over an open connection. The provider’s example uses input_audio_buffer.append with base64-encoded audio. At the end of a turn, send input_audio_buffer.commit. The application should handle backpressure and network errors rather than queuing unlimited audio in memory.
Segmentation changes both usability and accuracy. Very short turns may split an utterance before enough context exists. Long turns can delay completion and leave a large amount of provisional text on screen. Test pauses, natural breathing, overlapping speakers, silence, and changes in audio level. If you use client-side voice activity detection, make its thresholds observable and review its behavior with the languages and devices your users actually have.
Push-to-talk is another way to define a boundary. It can give users a clear start and stop, but it is not suitable for every use case and must be accessible by keyboard and assistive technology. For an automatic captioning interface, provide a clear indicator that capture is active and an easy way to stop it. Permission to use a microphone is not the same decision as consent to store a transcript.
Avoid silently throwing away a long buffer when limits are reached. Decide whether to pause capture, signal a gap, end the session, or fall back to a supported workflow. If audio is missing, make the resulting transcript visibly incomplete. A polished interface that hides gaps is more dangerous than one that admits a temporary failure.
Read deltas and completion events
The current transcription guide shows a delta event that includes an item_id, content_index, and a delta string. A completion event identifies the same item and content position and supplies the completed transcript. The completion text is the authoritative final value for that item; do not append it after the accumulated provisional text or you may duplicate the sentence.
Consider this simplified sequence:
Turn A ordered first: delta “Ship the”
Turn B ordered second: delta “I’ll prepare”
Turn B completes: “I’ll prepare the release notes.”
Turn A completes: “Ship the new version on Thursday.”The correct display still places turn A before turn B. A completion event is an update to an existing record, not an instruction to append a new record at the bottom. That separation also allows a final transcript to correct wording that appeared earlier as a partial.
Do not assume a delta from every provider is an append-only suffix. The sample below intentionally models the documented gpt-live-transcribe delta example as incremental text and treats completion as a replacement. If another model, provider, or protocol sends snapshots, edit operations, or different content indices, write an adapter for that documented behavior rather than reusing the append rule blindly.
Implement a caption store
This standalone TypeScript example separates ordering from text updates. The calling integration is responsible for supplying a stable order when it has matched a committed item to the local sequence. Events that arrive before that mapping are stored but not placed in the ordered view until the mapping exists. The helper is intentionally in memory; it is not a persistence layer, a WebSocket client, or an authorization boundary.
type State = "partial" | "final" | "failed";
type Entry = {
sessionId: string;
itemId: string;
contentIndex: number;
order?: number;
text: string;
state: State;
};
class Captions {
private entries = new Map<string, Entry>();
private key(sessionId: string, itemId: string, contentIndex: number) {
return JSON.stringify([sessionId, itemId, contentIndex]);
}
private get(sessionId: string, itemId: string, contentIndex: number) {
const key = this.key(sessionId, itemId, contentIndex);
let entry = this.entries.get(key);
if (!entry) {
entry = { sessionId, itemId, contentIndex, text: "", state: "partial" };
this.entries.set(key, entry);
}
return entry;
}
setOrder(sessionId: string, itemId: string, contentIndex: number, order: number) {
this.get(sessionId, itemId, contentIndex).order = order;
}
delta(sessionId: string, itemId: string, contentIndex: number, text: string) {
const entry = this.get(sessionId, itemId, contentIndex);
if (entry.state === "partial") entry.text += text;
}
complete(sessionId: string, itemId: string, contentIndex: number, text: string) {
const entry = this.get(sessionId, itemId, contentIndex);
entry.text = text;
entry.state = "final";
}
fail(sessionId: string, itemId: string, contentIndex: number) {
const entry = this.get(sessionId, itemId, contentIndex);
if (entry.state !== "final") entry.state = "failed";
}
ordered() {
return [...this.entries.values()]
.filter((entry) => entry.order !== undefined)
.sort((a, b) => a.order! - b.order! || a.contentIndex - b.contentIndex)
.map((entry) => ({ ...entry }));
}
}The tuple key prevents ambiguity between item identifiers and content positions. The helper ignores a late delta after a final result so an old partial cannot alter completed text. A completion replaces earlier partial text. A failure leaves any existing partial visible for the caller to label as incomplete; whether that text should be kept at all is a product and privacy decision.
This example assumes a single stream of unique numeric order values assigned by the caller. If you render multiple sessions together, define a separate session order as well. If several content positions belong to one item, assign the same turn order and use the content position as a secondary key. If a duplicate or conflicting order is possible in your integration, reject or resolve it explicitly rather than relying on sort stability.
The helper does not deduplicate retransmitted deltas. Plain string deltas do not give this sample enough information to know whether identical text is a retry or a legitimate repeated word. If a transport supports replay, use the documented event identifiers or offsets to make updates idempotent. Otherwise, reset or mark an ambiguous stream incomplete rather than pretending that replay is safe.
Test the ordering rule directly
Run a local unit test against the state helper with synthetic events. The important assertion is that the second turn can finish first without moving ahead of the first turn. This test uses Node’s built-in assertion API; adapt the import and export to your project structure.
import assert from "node:assert/strict";
const captions = new Captions();
captions.setOrder("s1", "a", 0, 1);
captions.setOrder("s1", "b", 0, 2);
captions.delta("s1", "a", 0, "Ship the ");
captions.delta("s1", "b", 0, "I’ll prepare ");
captions.complete("s1", "b", 0, "I’ll prepare the release notes.");
captions.complete("s1", "a", 0, "Ship the new version on Thursday.");
captions.delta("s1", "a", 0, "late event");
assert.deepEqual(captions.ordered().map((item) => item.text), [
"Ship the new version on Thursday.",
"I’ll prepare the release notes.",
]);
assert.deepEqual(captions.ordered().map((item) => item.state), ["final", "final"]);Add cases for a final event arriving before the local ordering map, a failure after partial text, two content positions, and a new session after disconnect. Validate malformed events at the boundary before they reach the store. The helper’s TypeScript types are not runtime validation: a network message is untrusted data until your code checks its shape and permitted sizes.
Keep this test separate from a real provider integration test. A deterministic unit test proves the state helper behaves for the inputs supplied. It does not prove that your audio format is correct, that the provider accepted the session, or that your browser can capture a microphone. An integration test needs an authorized account and a known audio sample, along with a clear cost and retention policy.
Map commits to item identities carefully
The hardest ordering bug often happens before a delta is displayed. Your application requests a commit, then receives information about the committed item. If multiple commits are in flight and the protocol does not provide a reliable correlation, assigning item IDs to local sequence numbers by guesswork can misorder turns even though the caption store itself sorts correctly.
Start with a simple constraint: serialize commits until your integration has matched each commit to its corresponding committed item using the documented event behavior. Confirm that the constraint fits the user experience and the service’s requirements. For greater concurrency, use the provider’s current correlation and item-order mechanisms where documented. Record the mapping, and test it with delayed and reordered events in a controlled environment.
If the transport delivers a transcript event before your application has completed the ordering mapping, buffer it by item identity and render it once the order is known. Put a limit and timeout on the buffer so an unexpected item cannot consume unlimited memory. If the mapping never arrives, surface a recoverable incomplete state and record a non-sensitive diagnostic event.
Sequence numbers should belong to one session and be created by the application component that owns the ordered input stream. A UI component can display the sequence; it should not invent it by sorting timestamps that came from different clocks. Server clocks, browser clocks, and event receipt times answer different questions.
Handle disconnects, retries, and gaps
A disconnect can happen after audio has been sent but before the client receives a final result. The application may not know whether the service processed the last chunk or commit. Retrying the same audio without a documented replay and idempotency mechanism can duplicate speech in the transcript. Dropping it silently can omit important words.
Treat a broken connection as a boundary. Mark unresolved turns as incomplete, show a concise status, and start a new session when the user retries. Preserve the old session identifier for any text you choose to display. Only merge or replay data when the protocol and your implementation can establish exactly what was accepted and how duplicate updates are identified.
Give users a way to see that a gap occurred. For a meeting, a line such as “Captions unavailable during reconnection” may be more honest than an empty space. For a support workflow, offer to repeat or enter the missing information through a different channel. Do not claim that a final transcript is complete merely because the connection recovered.
Test disconnects at several points: before microphone permission, during audio capture, after a commit, after a partial event, and immediately after a completion. Also test page navigation and device removal. The stop action should release local audio tracks and close network resources. A background tab or lost connection should not continue capture unexpectedly.
If your application persists transcripts, make writes idempotent with a stable session, item, and content key, plus a version or final-state rule. A database retry should not create a second row for the same item. Control access on the server and avoid using a user-supplied identifier alone as proof of ownership. Decide how later human corrections relate to the original machine-generated text.
Make provisional captions readable
Partial captions should be visible without appearing final. You might use a “Listening” label and a subtle treatment for the active line, then remove that label when a final result arrives. Do not rely on color alone: users need text or another non-color cue to distinguish states. Keep the presentation stable enough that a reader can follow it without chasing text across the screen.
When a final transcript changes an earlier phrase, replace the text within its existing position. Avoid clearing the entire caption panel for each update. Let users scroll backward without forcing them to the latest line on every incoming event; provide a “Jump to latest” control when they have moved away from the live edge. A user reading a previous sentence should not repeatedly lose their place.
Give the caption region enough contrast, resizable text, and sensible line wrapping. Test long names and unbroken strings as well as right-to-left and mixed-language text if those are relevant to your audience. Make it possible to pause automatic movement without pausing capture unless the product makes that distinction explicit.
Screen-reader behavior needs careful testing. Announcing every character-level delta through an assertive live region can overwhelm the person listening to it. A more usable design may announce stable final segments politely or offer a user-controlled verbosity setting. The right choice depends on the audience and timing of the experience; test with screen-reader users instead of assuming a particular ARIA attribute solves the entire problem. See MDN’s aria-live reference for the mechanics.
Captions do not automatically satisfy every accessibility requirement. Live events, recorded media, and regulated contexts can have different standards. Decide what level of human review or alternative communication is required for your use case, and make that decision visible to the people relying on the captions.
Be precise about speakers, timestamps, and confidence
The current OpenAI guide says gpt-live-transcribe does not return word-level timestamps, speaker labels, or transcription confidence scores. If your interface needs those fields, use a compatible workflow or add an explicitly designed fallback. Do not manufacture a confidence score from how quickly text arrived, or label a speaker based solely on an assumption that turns alternate.
If your application already has separate authenticated audio channels, you may know which channel produced a segment. That is different from proving the identity of the person speaking into that channel. A shared device, transfer, or open microphone can invalidate the assumption. Label information at the level you can support: “Channel 1” may be more accurate than a person’s name.
Likewise, a timestamp added by your server when a completion event arrives is an event receipt time. It is not necessarily the time a word was spoken. If users need synchronized captions for a recording, verify that your chosen source supplies appropriate timing and that your export format preserves it. Do not present approximate time as exact.
Confidence values, when provided by a service, also need context. A score does not guarantee a name, amount, or instruction is correct. For important values, ask the speaker or operator to confirm the actual content. For instance, show a transcribed delivery address in an editable field and require a review before using it to dispatch a package.
Tune latency against accuracy
The provider documents several delay settings for live transcription, ranging from minimal through xhigh. Lower delay can show partial text earlier; more delay gives the model additional audio context and may improve accuracy. The precise duration is not fixed by the label, so benchmark the model and settings you use instead of converting a setting into a promised number of milliseconds.
Define what “fast enough” means before tuning. For a live conversation, measure the interval between a known speech point and the first useful displayed text. For a meeting recap, final quality may matter more than the earliest partial. Both can be important, but they are not the same metric. Record the sample, model, delay, transport, device, and network conditions so comparisons can be repeated.
Measure accuracy as well. Word error rate can help compare systems, but it treats all word errors as equal and can hide a crucial error in a date or amount. Add task-specific checks: did the caption preserve a negative instruction, the right date, the currency, and the account identifier? Include an explicit category for empty, truncated, delayed, or missing turns. A system that returns no text should not look accurate simply because a word-error calculation excluded it.
Use representative audio with appropriate permission: different microphones, room acoustics, accents, speaking speeds, and relevant languages. Include overlapping speech and code-switching where those occur in your product. Keep the same evaluation set when comparing settings, then test on fresh samples to avoid tuning only to a small fixed set. Report sample sizes and variability rather than a single best run.
Provide useful vocabulary without forcing an answer
The transcription guide supports contextual hints such as a prompt, keywords, and expected languages for the current model. These can help with specialized vocabulary, but they are hints rather than required output. A keyword list should describe terms that might actually occur; filling it with the answer you hope to see can bias evaluation and obscure errors.
For example, a technical workshop may contain a product name and several acronyms. Add a short description of the context and a small set of correct literal terms. Then compare against recordings containing those terms and recordings that do not. Confirm the system does not insert a keyword where it was never spoken. Review current field limits and accepted language codes before sending a configuration.
The current guide uses languages for gpt-live-transcribe and says not to send both languages and singular language. It also describes restrictions on keyword characters and prompt length. Validate configuration before opening the session and display a useful error to the operator when a configuration is rejected. Avoid putting private account data into a vocabulary prompt merely because it could improve recognition; minimize what you send.
If a person switches languages, test the actual combination and accents you expect. Do not assume a model supports every regional variety equally well. Offer a way to correct text, and tell readers when a language or audio condition is outside the product’s tested coverage.
Protect the people whose speech is processed
An audio stream can contain names, health information, financial details, or private conversations. Start with the question: does the product need to keep the audio or transcript after the live session? If not, avoid creating storage by default. If it does, document the purpose, access rules, retention period, deletion process, and how a person can correct errors.
Provide a clear capture indicator and stop control. Explain that audio is sent to a transcription provider before the user starts, in language appropriate to the product and audience. In a multi-person meeting, consider how all participants are informed, not only the person who clicked Start. Browser permission is a device control; it does not automatically satisfy all legal or organizational requirements for every participant.
Do not send raw transcript text as an analytics label or store it in routine error logs. Use non-sensitive diagnostics such as session state, event type, error category, and a short-lived internal correlation identifier. Restrict access to production data, encrypt stored records where appropriate, and review the provider’s data controls. Consult the requirements for your jurisdiction and use case rather than assuming one notice covers every situation.
If a user exports or shares a transcript, make the destination and audience clear. A live provisional caption should not silently become a permanent public record. Where corrections are permitted, preserve the distinction between a machine-generated version and an edited version when that distinction matters to the workflow.
Build an evaluation set that reflects the task
A useful test set is a set of scenarios with expected outcomes, not merely a collection of audio clips. For each clip or live test, record the intended task, expected text or critical facts, device conditions, language, and permission to use the material. Store sensitive recordings separately from test metadata and limit access. Synthetic audio is useful for debugging but cannot represent every real speaker or acoustic environment.
Include cases that stress the state machine as well as recognition. A correctly transcribed phrase displayed in the wrong order can change its meaning. A caption that looks final after a disconnect can create a false record. Test both the words and the interface state.
| Scenario | What to check |
|---|---|
| Two turns complete in reverse order | Captions remain in the verified input order. |
| A final result corrects partial text | The old wording is replaced in the same turn. |
| A delta arrives after completion | The final text is not corrupted. |
| The connection drops after a partial | The turn is visibly incomplete; no success is invented. |
| A speaker pauses mid-thought | Segmentation does not consistently cut the sentence unnaturally. |
| A date or amount is spoken | The critical value is preserved or sent for correction. |
| Two people overlap | The UI does not claim unsupported speaker identity. |
| A microphone is denied or removed | The user sees a clear state and can recover. |
| A reader scrolls up | New captions do not repeatedly move their position. |
| A screen reader is enabled | Announcements are understandable and do not flood the user. |
Track failures by category: capture, segmentation, transport, model output, ordering, rendering, and retention. That breakdown makes the next fix more obvious. A missing caption caused by a dropped connection needs a different remedy from a misheard product name.
Troubleshoot a real session
No transcript appears. Check that capture started, that audio is in the configured format, that chunks are actually sent, and that the session update was accepted. For manual turn detection, verify that a commit is sent at the intended boundary. Use synthetic test audio and safe diagnostics while investigating; do not dump a customer’s recording into an issue tracker.
Partial text appears but never becomes final. Inspect whether the audio buffer was committed, whether the connection remained open, and whether a failure event arrived. Mark the turn incomplete while the cause is unknown. A UI timeout can help communicate delay, but it does not prove the provider rejected the audio.
The words are correct but the conversation order is wrong. Check the mapping between local commits and service item IDs. Then confirm the display uses that order rather than completion arrival time. Reproduce with an artificial sequence where turn B finishes before turn A. If the underlying order is uncertain, do not conceal that uncertainty with a timestamp sort.
Captions are delayed. Separate capture buffering, network transit, provider delay, commit timing, and UI rendering. Measure the same scenario under different settings. Avoid attributing all delay to the transcription model until the pipeline is instrumented.
Names or numbers are wrong. Review microphone quality and context hints, then add a confirmation step for critical values. A low average error rate does not guarantee that a particular address or amount is correct. Provide a way to edit the field before it drives a business action.
Captions duplicate after reconnecting. Check whether the application replayed audio, reapplied a delta, or created a new session without separating identifiers. Implement replay only when the service’s semantics and your own event identity support it. Otherwise, mark a gap and start a new session cleanly.
Launch checklist
Before a real audience depends on the feature, verify each of the following in the actual deployment environment:
- The selected model supports the session configuration and audio format you send.
- The standard API key stays on the server and session creation is authenticated and rate-limited.
- Microphone capture begins with a clear user action and stops when requested.
- Turn boundaries are committed according to the selected model’s requirements.
- Event identity and turn order are recorded separately from completion arrival time.
- Partial, final, failed, and disconnected states have distinct behavior in the interface.
- The UI handles delayed events, duplicate delivery where applicable, missing mappings, and bounded buffers.
- Captions can be read at accessible sizes and do not trap keyboard or screen-reader users.
- Critical names, dates, amounts, and instructions have a correction or confirmation path.
- Retention, access, deletion, and provider processing are documented and tested.
- Representative evaluation covers languages, devices, noise, and the tasks your users actually perform.
- Monitoring reports latency, failures, and gaps without collecting unnecessary speech content.
Run this checklist again when changing models, audio libraries, segmentation rules, or transport. A change that makes a clean sample faster can make a noisy session harder to read.
Frequently asked questions
Why did a later caption finish before an earlier one?
Different turns can finish transcription at different times. Completion arrival order is not a reliable conversation order. Keep the documented item identity and a separately established turn order, and update the corresponding item when its final text arrives.
Should I append the completed transcript to the partial text?
No. In the documented event shape, the completed event contains the final transcript for the item. Replace the accumulated provisional value with that final value. Appending it would commonly duplicate the same sentence.
Can I use server-side VAD with gpt-live-transcribe?
The current guide says this model does not support server_vad or semantic_vad in its transcription session. Omit turn detection or set it to null, detect turn boundaries in the client or application, and commit as documented. Check the latest documentation because model capabilities can change.
Are partial captions a reliable transcript?
They are provisional text intended to give the reader timely feedback. A later final result can differ, and a disconnect can leave a turn incomplete. For consequential decisions or permanent records, provide a review and correction process suited to the task.
Can I add speaker names and word timestamps?
Only when your selected workflow provides or can reliably establish those fields. The current gpt-live-transcribe documentation says it does not return word-level timestamps or speaker labels. Use a compatible alternative or a separately validated fallback; label approximations clearly.
How do I know whether the captions are accurate enough?
Set acceptance criteria for your use case and evaluate representative audio. Measure both general transcription quality and critical task errors, such as a wrong date or a missing negative word. Include failed, empty, and delayed turns, and involve the people who will rely on the output.
Sources and further reading
- OpenAI: Realtime transcription — session configuration, audio commits, event shapes, and model limitations.
- OpenAI: Transcription overview — compare live and recorded-audio workflows.
- OpenAI: Voice activity detection — turn detection in supported sessions.
- OpenAI: WebRTC connection guide — browser transport and credential patterns.
- OpenAI: Data controls — provider data-handling information.
- MDN:
aria-live— announcing dynamic content to assistive technology.
Documentation reviewed November 13, 2026. Recheck current provider documentation and model access when implementing. The state helper and examples are illustrative and require integration testing in your own application.
