Hello LeetGPT,
The Azure OpenAI Realtime API enables real-time audio interactions but does not natively support WebRTC connections. Instead, it depends on client-side integrations to manage the transmission and reception of audio streams in real time. The API is not designed to directly connect to end-user devices, including those utilizing WebRTC.
At present, the official documentation does not specify a URL for integrating WebRTC sessions with Azure OpenAI models. The primary approach involves using the Realtime API through a secure WebSocket connection to the /realtime endpoint of your Azure OpenAI resource.
Please refer this Realtime API (Preview) reference, How to use the GPT-4o Realtime API for speech and audio (Preview).
I hope this information helps.
Kindly consider upvoting the comment if the information provided is helpful. This can assist other community members in resolving similar issues.