Live. This is the audio channel for a call you placed with Place a FaceTime Call. Open the
streamUrl it returned and you get the call’s audio both ways, so you can build your own call UI — a dialer, a softphone, a web app — with no Tuco call window.The URL
Place a FaceTime Call returns astreamUrl:
Protocol
The connection is binary audio both ways, plus small JSON phase frames from the server.Your caller’s microphone, as 16-bit signed PCM, little-endian, 48,000 Hz, mono. Send it in binary WebSocket frames (any reasonable chunk size — e.g. 20–40 ms of audio per frame).
The other side’s audio, in the same format — 16-bit signed PCM, little-endian, 48,000 Hz, mono. Arrives as binary frames; play it as it comes.
Text frames announcing call state, so your UI can react without waiting on your server’s webhooks:
connected means the other side answered; ended means the call is over (the connection closes right after). The same transitions are also delivered to your backend as call.ringing / call.answered / call.ended webhooks — use whichever fits.One listener per call. Each call’s
streamUrl serves a single connection. A second attempt to connect to the same call is rejected with close code 4409.