Screen and input

WebRTC - SDP offer in, SDP answer out; a body with bitrate_kbps pins the quality rung instead (control key)

post/devices/{name}/stream

Request

  • Base URL: https://api.clousd.com/v1
  • URL: https://api.clousd.com/v1/devices/{name}/stream
  • Auth: HTTP bearer

Request body

bitrate_kbpsinteger

Pin the encoder bitrate: 200-20000, or 0 to hand the ladder back to automatic. Any other body is taken as an SDP offer.

Example request

{
  "bitrate_kbps": 2500
}

Response

SDP answer for an offer; {"ok": true} for bitrate_kbps

Changes

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