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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
required
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

400

Bad Request - Invalid input data or parameters.

401

Unauthorized - Invalid or missing authentication credentials.

403

Forbidden - You do not have permission to perform this action.

404

Not Found - The requested resource could not be found.

405

Method Not Allowed - Invalid HTTP method

406

Not Acceptable - Invalid request accept headers

415

Unsupported Media Type - Invalid content type

500

Internal Server Error - An unexpected error occurred.

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json