Skip to main content
POST
/
api
/
camera
/
createRawHttpStream
Create camera raw HTTP stream
curl --request POST \
  --url https://api2.rhombussystems.com/api/camera/createRawHttpStream \
  --header 'Content-Type: application/json' \
  --header 'x-auth-apikey: <api-key>' \
  --header 'x-auth-scheme: <x-auth-scheme>' \
  --data '
{
  "deviceUuid": "AAAAAAAAAAAAAAAAAAAAAA.v0",
  "rawStreamName": "my_raw_stream",
  "streamType": "USER"
}
'
{
  "error": true,
  "errorMsg": "<string>",
  "lanAudioUrl": "http://ip-192-168-0-1.lan.rhombussystems.com/audio",
  "lanVideoLowResUrl": "http://ip-192-168-0-1.lan.rhombussystems.com/video_low",
  "lanVideoUrl": "http://ip-192-168-0-1.lan.rhombussystems.com/video",
  "warningMsg": "<string>"
}

Authorizations

x-auth-apikey
string
header
required

Your API key for Rhombus.

Headers

x-auth-scheme
string
default:api-token
required

Authentication scheme indicator ("api-token").

Required string length: 9

Body

application/json

Request to create a raw HTTP stream for a device.

deviceUuid
string<DeviceFacetUuid> | null

RUUID with optional appended facet information

Example:

"AAAAAAAAAAAAAAAAAAAAAA.v0"

rawStreamName
string | null

Name for the raw stream

Example:

"my_raw_stream"

streamType
enum<string>
Available options:
USER,
ALARM_MONITORING,
DICE,
LUMEO,
INFORMACAST,
RAPIDSOS,
UNKNOWN

Response

200 - application/json

OK

Response containing raw HTTP stream URLs for a device.

error
boolean | null
errorMsg
string | null
lanAudioUrl
string | null

LAN audio URL for the raw stream

Example:

"http://ip-192-168-0-1.lan.rhombussystems.com/audio"

lanVideoLowResUrl
string | null

LAN low resolution video URL for the raw stream

Example:

"http://ip-192-168-0-1.lan.rhombussystems.com/video_low"

lanVideoUrl
string | null

LAN video URL for the raw stream

Example:

"http://ip-192-168-0-1.lan.rhombussystems.com/video"

warningMsg
string | null