The TwiML returned to an inbound call's voice webhook to connect its bidirectional Media-Streams socket.
Identical <Connect><Stream> shape as the outbound path (it reuses buildConnectStreamTwiML), so
inbound and outbound legs share one media contract.
Parameters
streamWssUrl: string
The wss://…/telephony/twilio/media endpoint to connect the inbound call's audio to.
Returns string
The TwiML document string to return to Twilio as the webhook response.
The TwiML returned to an inbound call's voice webhook to connect its bidirectional Media-Streams socket. Identical
<Connect><Stream>shape as the outbound path (it reuses buildConnectStreamTwiML), so inbound and outbound legs share one media contract.