OpenAI WebRTC Audio demo

from blog Simon Willison's Weblog, | ↗ original
OpenAI WebRTC Audio demo OpenAI announced a bunch of API features today, including a brand new WebRTC API for setting up a two-way audio conversation with their models. They tweeted this opaque code example: async function createRealtimeSession(inStream, outEl, token) { const pc = new RTCPeerConnection(); pc.ontrack = e => outEl.srcObject =...