realtime

command
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Example: OpenAI Realtime API WebSocket session.

This example demonstrates how to use the realtime package to bridge a client WebSocket connection with the OpenAI Realtime API. It requires a WebSocket server (e.g. an HTTP handler that upgrades connections) to be running separately; here we show the bridge logic.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL