Skip to content

Commit e528f00

Browse files
Merge pull request #8341 from MicrosoftDocs/main
Auto Publish – main to live - 2025-11-09 18:00 UTC
2 parents 0777069 + 657fee5 commit e528f00

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/ai-foundry/openai/how-to/realtime-audio-webrtc.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ The GPT real-time models are available for global deployments in [East US 2 and
3636
- `gpt-realtime` (version 2025-08-28)
3737
- `gpt-realtime-mini` (version 2025-10-06)
3838

39-
You should use API version `2025-04-01-preview` in the URL for the Realtime API. The API version is included in the sessions URL.
39+
You should use API version `2025-08-28` in the URL for the Realtime API. The API version is included in the sessions URL.
4040

4141
For more information about supported models, see the [models and versions documentation](../concepts/models.md#audio-models).
4242

@@ -54,14 +54,14 @@ You use different URLs to get an ephemeral API key and connect to the Realtime A
5454

5555
| URL | Description |
5656
|---|---|
57-
| Sessions URL | The `/realtime/sessions` URL is used to get an ephemeral API key. The sessions URL includes the Azure OpenAI resource URL, deployment name, the `/realtime/sessions` path, and the API version.<br/><br/>You should use API version `2025-04-01-preview` in the URL.<br/><br/>For an example and more information, see the [Sessions URL](#sessions-url) section in this article.|
57+
| Sessions URL | The `/realtime/sessions` URL is used to get an ephemeral API key. The sessions URL includes the Azure OpenAI resource URL, deployment name, the `/realtime/sessions` path, and the API version.<br/><br/>You should use API version `2025-08-28` in the URL.<br/><br/>For an example and more information, see the [Sessions URL](#sessions-url) section in this article.|
5858
| WebRTC URL | The WebRTC URL is used to establish a WebRTC peer connection with the Realtime API. The WebRTC URL includes the region and the `realtimeapi-preview.ai.azure.com/v1/realtimertc` path.<br/><br/>The supported regions are `eastus2` and `swedencentral`.<br/><br/>For an example and more information, see the [Sessions URL](#webrtc-url) section in this article.|
5959

6060
### Sessions URL
6161
Here's an example of a well-constructed `realtime/sessions` URL that you use to get an ephemeral API key:
6262

6363
```http
64-
https://YourAzureOpenAIResourceName.openai.azure.com/openai/realtimeapi/sessions?api-version=2025-04-01-preview
64+
https://YourAzureOpenAIResourceName.openai.azure.com/openai/realtimeapi/sessions?api-version=2025-08-28
6565
```
6666
### WebRTC URL
6767
Make sure the region of the WebRTC URL matches the region of your Azure OpenAI resource.
@@ -151,7 +151,7 @@ The sample code is an HTML page that allows you to start a session with the GPT
151151
// The SESSIONS_URL includes the Azure OpenAI resource URL,
152152
// deployment name, the /realtime/sessions path, and the API version.
153153
// The Azure OpenAI resource region isn't part of the SESSIONS_URL.
154-
const SESSIONS_URL="https://YourAzureOpenAIResourceName.openai.azure.com/openai/realtimeapi/sessions?api-version=2025-04-01-preview"
154+
const SESSIONS_URL="https://YourAzureOpenAIResourceName.openai.azure.com/openai/realtimeapi/sessions?api-version=2025-08-28"
155155
156156
// The API key of the Azure OpenAI resource.
157157
const API_KEY = "YOUR_API_KEY_HERE";

0 commit comments

Comments
 (0)