Exchange Session SDP

Exchange WebRTC Session Description Protocol (SDP) to establish a peer connection.

How It Works

  1. Client generates an SDP offer using WebRTC APIs
  2. Send the offer to this endpoint
  3. Receive the server's SDP answer
  4. 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.

Language
Response
Click Try It! to start a request and see the response here!