Set RTSP feed settings
Configures the RTSP feed stream URLs for AM-02 devices. Each stream must be in rtsp:// format, or can be left empty.
- application/json
Request Body
- url0 string required
First IP cam RTSP address
- url1 string required
Second IP cam RTSP address
- url2 string required
Third IP cam RTSP address
- url3 string required
Fourth IP cam RTSP address
- is_direct_switch_enabled boolean
When enabled - when answering a call, it defaults to obtaining the video stream from the first URL and sending it to the opposite end.
Responses
- 200
- 400
- 401
OK
Validation error. Required fields are not provided.
- Stream must be in rtsp:// format
- Missed json body or wrong param. Response sample:
"error": "Wrong JSON body"
- Required field is not provided. Response sample:
"error": "Wrong JSON body: no value for `param`"
where param - is a required field that was not provided
- Field was of the wrong type. Response sample:
"error": "Wrong JSON body: value `param` was of the wrong type"
where param - is a field of the wrong type
- application/json
- Schema
- Example (from schema)
- Wrong format
- Base
- No value
- Wrong param type
Schema
- error string
Error information
{
"error": true
}
{
"error": "Stream must be in rtsp:// format"
}
{
"error": "Wrong JSON body"
}
{
"error": "Wrong JSON body: no value for `param`"
}
{
"error": "Wrong JSON body: value `param` was of the wrong type"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...