post
https://platform.perso.ai/api/v1/session//exchange/
Exchange WebRTC Session Description Protocol (SDP) to establish a peer connection.
How It Works
- Client generates an SDP offer using WebRTC APIs
- Send the offer to this endpoint
- Receive the server's SDP answer
- Use the answer to complete the WebRTC connection
Request Format
The client_sdp object must contain:
type: Must be"offer"sdp: The SDP string from your WebRTC offer
Example
Select "ExchangeSessionRequest" from the Examples dropdown to see the request format.
