Create adapter(s)

Create WebSocket adapter(s) for ingest or stream

Create one to four adapters, each carrying one track in one direction. The SFU opens the connection to your WebSocket endpoint. Ingest accepts PCM audio and allocates a publishing session. Egress reads an existing audio or video track. The response may contain both successful allocations and item errors; save successful adapter IDs before retrying failed work.

post/apps/{appId}/adapters/websocket/new

Request

  • Base URL: https://rtc.live.cloudflare.com/v1
  • URL: https://rtc.live.cloudflare.com/v1/apps/{appId}/adapters/websocket/new
  • Auth: HTTP bearer

Path parameters

appIdstring required

WebRTC application ID

Request body

Response

At least one item succeeded. Inspect every tracks entry for item-level errors.

errorCodestring
errorDescriptionstring

Changes

No recorded changes to this operation across all 1 revision of this API.