Send an ICE candidate

Forwards one trickle-ICE candidate to the GPU host. Call it once per candidate the browser emits.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
curl -X POST 'https://apis.elai.io/api/v1/streams/candidate/66a1f0c2b7cd13032a9c6200' \
  -H 'Authorization: Bearer YOUR_API_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "candidate": "<candidate>"
}'
Path Params
string
required

Stream id returned by POST /streams.

Body Params
candidate
object
required

The ICE candidate.

Responses

streamId is not a valid ObjectId, there is no such stream, it belongs to another workspace, or it is already closed. All four cases return 400.

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