Update a source
PATCH
/streams/sources/{id}/write Change: creates or edits. Scopes
Path parameters
idstring (uuid)requiredThe source's id.
Body
namestringurlstring (uri)is_activebooleanqualitystringcan be nulle.g., 720p, 1080p, 4K
bitrateintegercan be nullBitrate in kbps
Response
200 OK
idstring (uuid)requiredread-onlynamestringrequiredurlstring (uri)requiredis_activebooleanqualitystringcan be nulle.g., 720p, 1080p, 4K
bitrateintegercan be nullBitrate in kbps
healthstringrequiredread-onlyHow the servers last found it:
onlinewhile a server plays from it,downafter one failed to,unknownuntil a server has tried.health_atstring (date-time)requiredread-onlycan be nullWhen a server last said how it found it.
probed_video_codecstringrequiredread-onlye.g. h264, hevc. Empty until a server has read the source.
probed_audio_codecstringrequiredread-onlyprobed_fpsnumberrequiredread-onlycan be nullNull when the source declares a variable or unknown rate.
probed_widthintegerrequiredread-onlycan be nullprobed_heightintegerrequiredread-onlycan be nullprobed_audio_tracksintegerrequiredread-onlycan be nullNumber of audio streams — language alternatives.
probed_atstring (date-time)requiredread-onlycan be nullWhen a server last read these, as a stream started on it.
streams_countintegerrequiredread-onlyHow many streams read from it.
created_bystring (uuid)requiredread-onlycan be nullcreated_by_usernamestringrequiredread-onlycreated_atstring (date-time)requiredread-onlyupdated_atstring (date-time)requiredread-only
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 404 Nothing with this id, or nothing the account can see.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.