Skip to main content

AddStream

Request-body reference for POST /add_stream.

Example

{
"stream_url": "rtsp://camera/live",
"name": "Warehouse Camera 01",
"frame_rate": 5,
"index_for_search": true,
"search_index_types": ["image"],
"regions": [],
"lines": [],
"notification": { "include_image": true },
"recording": { "enabled": false },
"effects": { "show_bounding_boxes": true }
}

Fields

FieldTypeDescription
stream_urlstringRTSP URL for the stream.
namestringStream display name.
frame_ratenumberProcessing frame rate.
index_for_searchbooleanWhether detections should be indexed for search.
search_index_typesstring[]Search index types to build.
regionsRegion[]Detection regions.
linesLine[]Optional named lines.
notificationNotificationOptional notification settings.
recordingRecordingOptional recording settings.
effectsEffectsOptional overlay settings.