Skip to content

Route WebRTC sideband joins to the Realtime API - #35830

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5d3d2cd69905ba04143010ced36a22712825b563
Jul 28, 2026
Merged

Route WebRTC sideband joins to the Realtime API#35830
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/5d3d2cd69905ba04143010ced36a22712825b563

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 28, 2026

Copy link
Copy Markdown

Route WebRTC sideband joins to the Realtime API

What changed

  • Use https://api.openai.com/v1 for WebRTC sideband websocket joins instead of deriving the URL from the model provider.
  • Keep experimental_realtime_ws_base_url as an explicit sideband override for local development and tests.
  • Exclude provider query parameters when building sideband URLs.

Testing

  • Add coverage that a frameless sideband join uses wss://api.openai.com/v1/live/rtc_test even when the provider points at the ChatGPT backend.
  • Update the sideband retry end-to-end test to inject its mock server URL through the new override.

## What changed

- Use `https://api.openai.com/v1` for WebRTC sideband websocket joins instead of deriving the URL from the model provider.
- Keep `experimental_realtime_ws_base_url` as an explicit sideband override for local development and tests.
- Exclude provider query parameters when building sideband URLs.

## Testing

- Add coverage that a frameless sideband join uses `wss://api.openai.com/v1/live/rtc_test` even when the provider points at the ChatGPT backend.
- Update the sideband retry end-to-end test to inject its mock server URL through the new override.

GitOrigin-RevId: 5d3d2cd69905ba04143010ced36a22712825b563
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/5d3d2cd69905ba04143010ced36a22712825b563 branch from 50dc7d2 to 438c9e9 Compare July 28, 2026 21:16
@copyberry
copyberry Bot merged commit 438c9e9 into main Jul 28, 2026
14 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/5d3d2cd69905ba04143010ced36a22712825b563 branch July 28, 2026 21:17
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant