Stream Management
Update active stream configuration
Updates the in-memory configuration for a running stream (highest priority in the configuration hierarchy). Commonly used to enable/disable VIF on a stream or adjust detection parameters on the fly. Send only the fields you want to change.
put/v1/{server}/plugin/vif/applications/{appName}/streams/{streamName}
Request body
Example request
{
"object_analysis": {
"model_name": "small",
"class_names": [
"person",
"car",
"truck"
],
"tracking_method": "byte_track"
},
"scene_analysis": {
"class_names": [
"taking pictures",
"running",
"fight"
]
},
"streams": [
{
"object_analysis": {
"model_name": "small",
"class_names": [
"person",
"car",
"truck"
],
"tracking_method": "byte_track"
},
"scene_analysis": {
"class_names": [
"taking pictures",
"running",
"fight"
]
}
}
]
}Response
Active configuration updated successfully.
Example response
{
"object_analysis": {
"model_name": "small",
"class_names": [
"person",
"car",
"truck"
],
"tracking_method": "byte_track"
},
"scene_analysis": {
"class_names": [
"taking pictures",
"running",
"fight"
]
}
}