NVIDIA DeepStream SDK API Reference

9.2 Release
sources/libs/nvds_rest_server/nvds_rest_server.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: Apache-2.0
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 #ifndef _NVDS_SERVER_H_
19 #define _NVDS_SERVER_H_
20 
21 #include <string>
22 #include <unordered_map>
23 #include <map>
24 #include <vector>
25 #include <functional>
26 #include "gst-nvdscustomevent.h"
27 #include "gst-nvdscommonconfig.h"
28 #include <json/json.h>
29 #define UNKNOWN_STRING "unknown"
30 #define EMPTY_STRING ""
31 
32 typedef enum
33 {
35  SKIP_FRAMES = 1 << 1,
36  LOW_LATENCY_MODE = 1 << 2,
38 
39 typedef enum
40 {
41  BITRATE = 1 << 0,
42  FORCE_IDR = 1 << 1,
43  FORCE_INTRA = 1 << 2,
44  IFRAME_INTERVAL = 1 << 3,
46 
47 typedef enum
48 {
49  SRC_CROP = 1 << 0,
50  DEST_CROP = 1 << 1,
51  FLIP_METHOD = 1 << 2,
54 
55 typedef enum
56 {
58  MAX_LATENCY = 1 << 1,
60 
61 typedef enum
62 {
63  INFER_INTERVAL = 1 << 0,
65 
66 typedef enum
67 {
70 
71 typedef enum
72 {
73  NVTRACKER_CONFIG = 1 << 0,
75 
93 typedef enum
94 {
96  GET_READY_INFO = 1 << 1,
97  GET_LIVE_INFO = 1 << 2,
98  GET_STARTUP_INFO = 1 << 3,
99  GET_METRICS_INFO = 1 << 4,
101  GET_MODEL_STATUS_INFO = 1 << 6, /* /api/v1/model/status -- app model-pool state */
102  GET_MODEL_ROUTING_INFO = 1 << 7, /* GET /api/v1/model/routing -- routing plane only */
104 
105 typedef enum
106 {
107  PROCESS_MODE = 1 << 0,
109 
110 typedef enum
111 {
112  RELOAD_CONFIG = 1 << 0,
114 
115 typedef enum
116 {
119 
120 typedef enum
121 {
124 
125 typedef enum
126 {
127  ROI_UPDATE = 1 << 0,
129 
130 typedef enum
131 {
132  QUIT_APP = 1 << 0,
134 
135 typedef enum
136 {
140 
141 typedef enum
142 {
148 
149 typedef enum
150 {
155  /* model/update = IN-PLACE checkpoint transition on the live instance group
156  * (same network, new weights, NEW version). Model routing is a different
157  * plane: see NvDsServerRouteStatus / /api/v1/model/routing. */
161 
162 typedef enum
163 {
167 
168 typedef enum
169 {
187 
188 typedef enum
189 {
193 
194 typedef enum
195 {
203 
204 typedef enum
205 {
215 
216 typedef enum
217 {
227 
228 typedef enum
229 {
235 
236 typedef enum
237 {
241 
242 typedef enum
243 {
247 
248 typedef enum
249 {
253 
254 typedef enum
255 {
259 
260 typedef enum
261 {
265 
266 typedef enum
267 {
271 
272 typedef enum
273 {
277 
278 typedef enum
279 {
280  StatusOk = 0, // HTTP error code : 200
281  StatusAccepted, // HTTP error code : 202
282  StatusBadRequest, // HTTP error code : 400
283  StatusUnauthorized, // HTTP error code : 401
284  StatusForbidden, // HTTP error code : 403
285  StatusMethodNotAllowed, // HTTP error code : 405
286  StatusNotAcceptable, // HTTP error code : 406
287  StatusProxyAuthenticationRequired, // HTTP error code : 407
288  StatusRequestTimeout, // HTTP error code : 408
289  StatusPreconditionFailed, // HTTP error code : 412
290  StatusPayloadTooLarge, // HTTP error code : 413
291  StatusUriTooLong, // HTTP error code : 414
292  StatusUnsupportedMediaType, // HTTP error code : 415
293  StatusInternalServerError, // HTTP error code : 500
294  StatusNotImplemented, // HTTP error code : 501
295  StatusServiceUnavailable, // HTTP error code : 503
296  StatusNotFound, // HTTP error code : 404
297  StatusConflict // HTTP error code : 409
299 
300 typedef struct NvDsServerErrorInfo
301 {
302  std::pair < int, std::string > err_log;
304  /* Machine-readable error envelope (error{code,message,field,hint} in HTTP body when code != StatusOk).
305  Clients must never parse prose: `err_code` is a stable id (e.g. "MODEL_NOT_LOADED"); `hint` gives an actionable step.
306  `field` is the dotted path of the offending member (e.g. "value.gpus"), present only if the reject knows it.
307  An empty `field` is honest; guessing would mislead clients. */
308  std::string err_code;
309  std::string hint;
310  std::string field;
312 
313 typedef struct NvDsServerDecInfo
314 {
315  std::string root_key;
316  std::string stream_id;
317  guint drop_frame_interval;
318  guint skip_frames;
319  gboolean low_latency_mode;
322  std::string dec_log;
323  std::string uri;
326 
327 typedef struct NvDsServerEncInfo
328 {
329  std::string root_key;
330  std::string stream_id;
331  guint bitrate;
332  gboolean force_idr;
333  gboolean force_intra;
334  guint iframeinterval;
337  std::string enc_log;
338  std::string uri;
341 
342 typedef struct NvDsServerConvInfo
343 {
344  std::string root_key;
345  std::string stream_id;
346  std::string src_crop;
347  std::string dest_crop;
348  guint flip_method;
349  guint interpolation_method;
352  std::string conv_log;
353  std::string uri;
356 
357 typedef struct NvDsServerMuxInfo
358 {
359  std::string root_key;
361  guint max_latency;
364  std::string mux_log;
365  std::string uri;
368 
369 typedef struct NvDsServerRoiInfo
370 {
371  std::string root_key;
372  std::string stream_id;
373  guint roi_count;
374  std::vector < RoiDimension > vect;
377  std::string roi_log;
378  std::string uri;
381 
382 typedef struct NvDsServerStreamInfo
383 {
384  std::string key;
385  std::string value_camera_id;
386  std::string value_camera_name;
387  std::string value_camera_url;
388  std::string value_change;
389  std::string value_creation_time;
390 
391  std::string metadata_resolution;
392  std::string metadata_codec;
393  std::string metadata_framerate;
394  /* Wall-clock time of the first frame of the source (ISO 8601, e.g.
395  * "2025-01-01T00:00:00.000Z"), from metadata.file_start_time. When set it seeds
396  * the nvstreammux NTP base for this source so frame ntp_timestamp reflects the
397  * real content time (mainly for file sources that carry no RTCP NTP). */
399  /* Full metadata object forwarded verbatim as a JSON string (variable keys),
400  * so custom per-stream metadata (e.g. model selection) reaches the app. */
401  std::string metadata_json;
402 
403  std::string headers_source;
404  std::string headers_created_at;
406  std::string stream_log;
407  std::string uri;
410 
411 /* MODEL PLANE (lifecycle) request info -- /api/v1/model/load|unload|update.
412  *
413  * load: register + warm one immutable (name, version); deploy its
414  * instance set (declarative full set).
415  * unload: reclaim an idle version (version "" => all non-serving versions).
416  * update: IN-PLACE checkpoint transition on the LIVE instance group -- same
417  * network, new weights, NEW version. from_version is a REQUIRED CAS
418  * guard. Engines: `engine_file` (single-instance groups only) XOR
419  * `engine_files` (exact per-GPU map).
420  *
421  * Model routing is a different plane (never mixed in here): NvDsServerRouteInfo.
422  * The raw request `value` object is also carried verbatim in `value_json` --
423  * that is what travels in-band to the consuming element (one schema end-to-end). */
424 typedef struct NvDsServerModelInfo
425 {
426  std::string key;
427  std::string name;
428  std::string version;
429  std::string from_version;
430  std::string config_file;
431  std::string engine_file;
432  std::map<guint, std::string> engine_files;
433  std::vector<guint> gpus;
434  gboolean has_gpus;
435  std::string value_json;
436  std::string value_change;
438  std::string model_log;
439  std::string uri;
442 
443 /* ROUTING PLANE request info -- /api/v1/model/routing.
444  * Declarative routing request: per-group desired (model, shadow) state plus an
445  * optional default switch. Parse/admission constraints enforced at this layer:
446  * - at least one of routes[] / default present (EMPTY_REQUEST);
447  * - every route carries `streams`: an explicit camera_id list or the literal
448  * "all" (an omitted list must fail validation, never mean "everything");
449  * - no stream named in two routes (STREAM_DUPLICATE_ROUTE);
450  * - a route ALWAYS resolves to a serving model: `"model": null` (explicit
451  * passthrough) with a shadow present is rejected (SHADOW_WITHOUT_MODEL);
452  * - refs are structured {name, version[, gpu]}; version is a positive integer.
453  * Whether a stream exists is checked by the nvmultiurisrcbin callback (it owns
454  * the camera_id -> source_id map); model-loaded/state checks belong to the
455  * consuming element. The raw `value` travels verbatim in `value_json`. */
456 typedef struct NvDsServerRouteRef
457 {
458  std::string name;
459  std::string version;
460  gint gpu;
462 
463 typedef struct NvDsServerRouteEntry
464 {
465  std::vector<std::string> camera_ids;
466  gboolean all_streams;
467  gboolean has_model;
468  gboolean model_null;
470  gboolean has_shadow;
471  gboolean shadow_null;
474 
475 typedef struct NvDsServerRouteInfo
476 {
477  std::string key;
478  std::vector<NvDsServerRouteEntry> routes;
479  gboolean has_default;
485  gint64 if_revision;
486  std::string value_json;
487  std::string value_change;
489  std::string route_log;
490  std::string uri;
493 
494 typedef struct NvDsGetRequestInfo
495 {
496  std::string root_key;
497  std::string stream_id;
498  gboolean is_text;
501  std::string get_request_log;
502  std::string uri;
503  Json::Value stream_info;
504  std::vector<NvDsSensorInfo*> sensorInfo_vec;
507 
508 typedef struct NvDsServerInferInfo
509 {
510  std::string root_key;
511  std::string stream_id;
512  guint interval;
515  std::string infer_log;
516  std::string uri;
519 typedef struct NvDsServerOsdInfo
520 {
521  std::string root_key;
522  std::string stream_id;
523  guint process_mode;
526  std::string osd_log;
527  std::string uri;
530 
531 typedef struct NvDsServerAnalyticsInfo
532 {
533  std::string root_key;
534  std::string stream_id;
535  std::string config_file_path;
538  std::string analytics_log;
539  std::string uri;
542 
543 typedef struct NvDsServerTextEmbeddingInfo
544 {
545  std::string text_input;
546  std::string model;
547  std::string id;
548  long created;
549  Json::Value data;
552  std::string text_embedding_log;
553  std::string uri;
556 
557 typedef struct NvDsServerImageEmbeddingInfo
558 {
559  std::string image_path;
560  std::string model;
561  gboolean has_bbox;
562  gdouble bbox_left;
563  gdouble bbox_top;
564  gdouble bbox_width;
565  gdouble bbox_height;
566  std::string id;
567  long created;
568  Json::Value data;
571  std::string image_embedding_log;
572  std::string uri;
575 
576 typedef struct NvDsServerAppInstanceInfo
577 {
578  std::string root_key;
579  gboolean app_quit;
582  std::string app_log;
583  std::string uri;
586 
587 typedef struct NvDsServerInferServerInfo
588 {
589  std::string root_key;
590  std::string stream_id;
591  guint interval;
594  std::string inferserver_log;
595  std::string uri;
598 
599 typedef struct NvDsServerNvTrackerInfo
600 {
601  std::string root_key;
602  std::string stream_id;
603  std::string config_path;
606  std::string nvTracker_log;
607  std::string uri;
610 typedef struct NvDsServerResponseInfo
611 {
612  std::string status;
613  std::string reason;
614  Json::Value stream_info;
616 
617 typedef struct NvDsServerConfig
618 {
619  std::string ip;
620  std::string port;
622 
623 using cb_func = std::function < NvDsServerStatusCode (const Json::Value & req_info,
624  const Json::Value & in,
625  Json::Value & out, struct mg_connection * conn, void *ctx)>;
626 
627 typedef struct NvDsServerCallbacks
628 {
629  std::function < void (NvDsServerRoiInfo * roi_info, void *ctx) > roi_cb;
630  std::function < void (NvDsServerDecInfo * dec_info, void *ctx) > dec_cb;
631  std::function < void (NvDsServerEncInfo * enc_info, void *ctx) > enc_cb;
632  std::function < void (NvDsServerStreamInfo * stream_info,
633  void *ctx) > stream_cb;
634  std::function < void (NvDsServerModelInfo * model_info,
635  void *ctx) > model_cb;
636  std::function < void (NvDsServerRouteInfo * route_info,
637  void *ctx) > route_cb;
638  std::function < void (NvDsServerInferInfo * infer_info,
639  void *ctx) > infer_cb;
640  std::function < void (NvDsServerConvInfo * conv_info, void *ctx) > conv_cb;
641  std::function < void (NvDsServerMuxInfo * mux_info, void *ctx) > mux_cb;
642  std::function < void (NvDsServerInferServerInfo * inferserver_info,
643  void *ctx) > inferserver_cb;
644  std::function < void (NvDsServerNvTrackerInfo * nvTracker_info,
645  void *ctx) > nvTracker_cb;
646  std::function < void (NvDsServerOsdInfo * osd_info, void *ctx) > osd_cb;
647  std::function < void (NvDsServerAppInstanceInfo * appinstance_info,
648  void *ctx) > appinstance_cb;
649  std::function < void (NvDsServerAnalyticsInfo * analytics_info, void *ctx) > analytics_cb;
650  std::function < void (NvDsServerTextEmbeddingInfo * text_embedding_info, void *ctx) > text_embedding_cb;
651  std::function < void (NvDsServerImageEmbeddingInfo * image_embedding_info, void *ctx) > image_embedding_cb;
652  std::function < void (NvDsServerGetRequestInfo * get_request_info,
653  void *ctx) > get_request_cb;
654  std::unordered_map <std::string, cb_func> custom_cb_endpt;
656 
657 class NvDsRestServer;
658 NvDsRestServer* nvds_rest_server_start (NvDsServerConfig * server_config, NvDsServerCallbacks * server_cb, void* custom_ctx);
659 void nvds_rest_server_stop (NvDsRestServer *ctx);
660 /* Map an HTTP status integer onto NvDsServerStatusCode. */
662 bool iequals (const std::string & a, const std::string & b);
663 
664 #endif
NvDsServerImageEmbeddingInfo::image_embedding_flag
NvDsServerImageEmbeddingPropFlag image_embedding_flag
Definition: includes/nvds_rest_server.h:437
StatusMethodNotAllowed
@ StatusMethodNotAllowed
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:285
NvDsServerConvInfo::dest_crop
std::string dest_crop
Definition: includes/nvds_rest_server.h:305
GET_METRICS_INFO_FAIL
@ GET_METRICS_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:179
NvDsServerRouteRef
struct NvDsServerRouteRef NvDsServerRouteRef
NvDsServerModelInfo::value_json
std::string value_json
the request "value" object, serialized verbatim
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:435
NvDsServerMuxInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:323
GET_READY_INFO_SUCCESS
@ GET_READY_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:172
NvDsServerOsdStatus
NvDsServerOsdStatus
Definition: includes/nvds_rest_server.h:221
GET_MODEL_ROUTING_INFO_SUCCESS
@ GET_MODEL_ROUTING_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:184
NvDsServerNvTrackerStatus
NvDsServerNvTrackerStatus
Definition: includes/nvds_rest_server.h:215
NvDsServerRoiInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:330
GET_LIVE_STREAM_INFO_SUCCESS
@ GET_LIVE_STREAM_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:170
NvDsServerStreamInfo::metadata_resolution
std::string metadata_resolution
Definition: includes/nvds_rest_server.h:349
STREAM_REMOVE_SUCCESS
@ STREAM_REMOVE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:145
NvDsServerMuxPropFlag
NvDsServerMuxPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:55
nvds_rest_server_stop
void nvds_rest_server_stop(NvDsRestServer *ctx)
NvDsServerMuxInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:317
NvDsServerRouteRef::name
std::string name
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:458
NvDsServerInferInfo::infer_flag
NvDsServerInferPropFlag infer_flag
Definition: includes/nvds_rest_server.h:381
StatusPayloadTooLarge
@ StatusPayloadTooLarge
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:290
NvDsServerDecPropFlag
NvDsServerDecPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:32
NvDsServerRoiInfo::roi_log
std::string roi_log
Definition: includes/nvds_rest_server.h:335
NvDsServerAnalyticsInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:400
NvDsServerRouteInfo::route_log
std::string route_log
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:489
NVTRACKER_CONFIG
@ NVTRACKER_CONFIG
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:73
NvDsServerResponseInfo
Definition: includes/nvds_rest_server.h:477
NvDsServerNvTrackerInfo::status
NvDsServerNvTrackerStatus status
Definition: includes/nvds_rest_server.h:471
NvDsServerModelInfo::name
std::string name
logical model name (no '@' / ';')
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:427
INFER_INTERVAL_UPDATE_FAIL
@ INFER_INTERVAL_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:239
NvDsServerCallbacks::custom_cb_endpt
std::unordered_map< std::string, cb_func > custom_cb_endpt
Definition: includes/nvds_rest_server.h:517
NvDsServerRoiInfo::roi_flag
NvDsServerRoiPropFlag roi_flag
Definition: includes/nvds_rest_server.h:334
NvDsServerNvTrackerInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:468
GET_LIVE_INFO_FAIL
@ GET_LIVE_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:175
NvDsServerRouteRef::gpu
gint gpu
-1 = no placement hint
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:460
NvDsServerMuxStatus
NvDsServerMuxStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:228
NvDsServerModelInfo::value_change
std::string value_change
set by handler: "model_load"|"model_unload"|"model_update"
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:436
NvDsServerInferInfo
struct NvDsServerInferInfo NvDsServerInferInfo
NvDsServerNvTrackerPropFlag
NvDsServerNvTrackerPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:71
NvDsServerImageEmbeddingInfo::bbox_left
gdouble bbox_left
Definition: includes/nvds_rest_server.h:429
NvDsServerConvInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:302
NvDsServerConvInfo::status
NvDsServerConvStatus status
Definition: includes/nvds_rest_server.h:308
NvDsServerMuxInfo::mux_flag
NvDsServerMuxPropFlag mux_flag
Definition: includes/nvds_rest_server.h:321
StatusNotAcceptable
@ StatusNotAcceptable
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:286
NvDsServerImageEmbeddingInfo::model
std::string model
Definition: includes/nvds_rest_server.h:427
NvDsServerErrorInfo::code
NvDsServerStatusCode code
Definition: includes/nvds_rest_server.h:268
INFERSERVER_INTERVAL_UPDATE_FAIL
@ INFERSERVER_INTERVAL_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:245
NvDsServerRouteInfo::routes
std::vector< NvDsServerRouteEntry > routes
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:478
NvDsServerStatusCode
NvDsServerStatusCode
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:278
NvDsServerConvInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:303
NvDsServerOsdInfo::status
NvDsServerOsdStatus status
Definition: includes/nvds_rest_server.h:391
FLIP_METHOD_UPDATE_SUCCESS
@ FLIP_METHOD_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:224
NvDsServerCallbacks::nvTracker_cb
std::function< void(NvDsServerNvTrackerInfo *nvTracker_info, void *ctx) > nvTracker_cb
Definition: includes/nvds_rest_server.h:508
MAX_LATENCY_UPDATE_FAIL
@ MAX_LATENCY_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:233
SKIP_FRAMES
@ SKIP_FRAMES
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:35
STREAM_ADD_SUCCESS
@ STREAM_ADD_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:143
NvDsServerModelInfo::config_file
std::string config_file
load: required on first load of a name
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:430
NvDsServerErrorInfo::err_log
std::pair< int, std::string > err_log
Definition: includes/nvds_rest_server.h:267
IFRAME_INTERVAL_UPDATE_FAIL
@ IFRAME_INTERVAL_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:213
NvDsServerAppInstanceInfo
struct NvDsServerAppInstanceInfo NvDsServerAppInstanceInfo
NvDsServerImageEmbeddingPropFlag
NvDsServerImageEmbeddingPropFlag
Definition: includes/nvds_rest_server.h:110
GET_STARTUP_INFO
@ GET_STARTUP_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:98
NvDsServerOsdInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:394
NvDsServerDecStatus
NvDsServerDecStatus
Definition: includes/nvds_rest_server.h:161
NvDsServerConvInfo::src_crop
std::string src_crop
Definition: includes/nvds_rest_server.h:304
NvDsGetRequestInfo::stream_info
Json::Value stream_info
Definition: includes/nvds_rest_server.h:370
NvDsServerGetRequestStatus
NvDsServerGetRequestStatus
Definition: includes/nvds_rest_server.h:139
NvDsServerDecInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:282
PROCESS_MODE
@ PROCESS_MODE
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:107
NvDsServerRoiInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:337
FORCE_INTRA_UPDATE_FAIL
@ FORCE_INTRA_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:211
NvDsServerRouteRef::version
std::string version
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:459
NvDsServerModelInfo::has_gpus
gboolean has_gpus
'gpus' present in the request
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:434
NvDsServerEncInfo::force_intra
gboolean force_intra
Definition: includes/nvds_rest_server.h:291
StatusProxyAuthenticationRequired
@ StatusProxyAuthenticationRequired
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:287
NvDsServerImageEmbeddingStatus
NvDsServerImageEmbeddingStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:272
NvDsServerStreamInfo::value_camera_name
std::string value_camera_name
Definition: includes/nvds_rest_server.h:344
NvDsServerInferInfo
Definition: includes/nvds_rest_server.h:375
StatusForbidden
@ StatusForbidden
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:284
NvDsServerDecInfo::skip_frames
guint skip_frames
Definition: includes/nvds_rest_server.h:276
QUIT_SUCCESS
@ QUIT_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:137
NvDsServerInferServerInfo::inferserver_flag
NvDsServerInferServerPropFlag inferserver_flag
Definition: includes/nvds_rest_server.h:460
NvDsServerConfig::ip
std::string ip
Definition: includes/nvds_rest_server.h:486
NvDsServerRouteInfo::key
std::string key
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:477
NvDsServerRouteInfo::default_shadow
NvDsServerRouteRef default_shadow
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:484
MODEL_ROUTING_SUCCESS
@ MODEL_ROUTING_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:164
NvDsServerMuxStatus
NvDsServerMuxStatus
Definition: includes/nvds_rest_server.h:195
NvDsGetRequestInfo::get_request_flag
NvDsServerGetRequestPropFlag get_request_flag
Definition: includes/nvds_rest_server.h:367
NvDsServerStreamInfo::value_creation_time
std::string value_creation_time
Definition: includes/nvds_rest_server.h:347
NvDsServerCallbacks::osd_cb
std::function< void(NvDsServerOsdInfo *osd_info, void *ctx) > osd_cb
Definition: includes/nvds_rest_server.h:509
NvDsServerStreamInfo::headers_source
std::string headers_source
Definition: includes/nvds_rest_server.h:353
NvDsServerInferServerPropFlag
NvDsServerInferServerPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:66
StatusUnsupportedMediaType
@ StatusUnsupportedMediaType
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:292
NvDsServerRoiInfo::vect
std::vector< RoiDimension > vect
Definition: includes/nvds_rest_server.h:332
NvDsServerOsdInfo::process_mode
guint process_mode
Definition: includes/nvds_rest_server.h:390
FLIP_METHOD
@ FLIP_METHOD
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:51
NvDsGetRequestInfo::sensorInfo_vec
std::vector< NvDsSensorInfo * > sensorInfo_vec
Definition: includes/nvds_rest_server.h:371
NvDsServerCallbacks::enc_cb
std::function< void(NvDsServerEncInfo *enc_info, void *ctx) > enc_cb
Definition: includes/nvds_rest_server.h:498
NvDsServerStatusCode
NvDsServerStatusCode
Definition: includes/nvds_rest_server.h:245
NvDsServerMuxInfo
Definition: includes/nvds_rest_server.h:315
NvDsServerResponseInfo::stream_info
Json::Value stream_info
Definition: includes/nvds_rest_server.h:481
NvDsServerInferServerInfo
Definition: includes/nvds_rest_server.h:454
NvDsServerCallbacks::appinstance_cb
std::function< void(NvDsServerAppInstanceInfo *appinstance_info, void *ctx) > appinstance_cb
Definition: includes/nvds_rest_server.h:511
NvDsServerInferPropFlag
NvDsServerInferPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:61
NvDsServerMuxInfo
struct NvDsServerMuxInfo NvDsServerMuxInfo
BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
@ BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:230
NvDsServerRouteInfo::default_shadow_null
gboolean default_shadow_null
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:483
IMAGE_EMBEDDING_GENERATE
@ IMAGE_EMBEDDING_GENERATE
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:122
NvDsServerEncPropFlag
NvDsServerEncPropFlag
Definition: includes/nvds_rest_server.h:38
StatusInternalServerError
@ StatusInternalServerError
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:293
NvDsServerDecInfo::drop_frame_interval
guint drop_frame_interval
Definition: includes/nvds_rest_server.h:275
NvDsServerModelInfo::engine_files
std::map< guint, std::string > engine_files
EXACT per-GPU engine map (gpu -> path)
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:432
NvDsServerTextEmbeddingInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:421
NvDsServerMuxInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:324
PROCESS_MODE_UPDATE_FAIL
@ PROCESS_MODE_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:257
NvDsServerGetRequestPropFlag
NvDsServerGetRequestPropFlag
Flags for GET request types supported by the REST server.
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:93
GET_LIVE_INFO_SUCCESS
@ GET_LIVE_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:174
FORCE_INTRA_UPDATE_SUCCESS
@ FORCE_INTRA_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:210
NvDsServerEncInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:296
NvDsServerConvInfo::flip_method
guint flip_method
Definition: includes/nvds_rest_server.h:306
FLIP_METHOD_UPDATE_FAIL
@ FLIP_METHOD_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:225
NvDsServerInferServerPropFlag
NvDsServerInferServerPropFlag
Definition: includes/nvds_rest_server.h:65
NvDsServerConfig
struct NvDsServerConfig NvDsServerConfig
DROP_FRAME_INTERVAL_UPDATE_FAIL
@ DROP_FRAME_INTERVAL_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:197
NvDsServerCallbacks::conv_cb
std::function< void(NvDsServerConvInfo *conv_info, void *ctx) > conv_cb
Definition: includes/nvds_rest_server.h:503
NvDsServerDecInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:274
NvDsServerTextEmbeddingInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:420
GET_MODEL_STATUS_INFO_SUCCESS
@ GET_MODEL_STATUS_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:182
NVTRACKER_CONFIG_UPDATE_SUCCESS
@ NVTRACKER_CONFIG_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:250
NvDsServerTextEmbeddingInfo::text_embedding_flag
NvDsServerTextEmbeddingPropFlag text_embedding_flag
Definition: includes/nvds_rest_server.h:418
NvDsServerEncInfo::status
NvDsServerEncStatus status
Definition: includes/nvds_rest_server.h:293
NvDsServerRouteInfo::default_model
NvDsServerRouteRef default_model
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:481
StatusUnauthorized
@ StatusUnauthorized
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:283
NvDsServerGetRequestInfo
struct NvDsGetRequestInfo NvDsServerGetRequestInfo
NvDsServerCallbacks
Definition: includes/nvds_rest_server.h:494
NvDsServerErrorInfo::err_code
std::string err_code
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:308
NvDsServerModelInfo::gpus
std::vector< guint > gpus
gpu id set: load = instance placement (one per gpu), unload = subset to drain
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:433
NvDsServerModelInfo
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:424
INTERPOLATION_METHOD_UPDATE_FAIL
@ INTERPOLATION_METHOD_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:223
NvDsServerModelStatus
NvDsServerModelStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:149
NvDsServerTextEmbeddingStatus
NvDsServerTextEmbeddingStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:266
SKIP_FRAMES_UPDATE_FAIL
@ SKIP_FRAMES_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:199
NvDsServerNvTrackerInfo::nvTracker_flag
NvDsServerNvTrackerPropFlag nvTracker_flag
Definition: includes/nvds_rest_server.h:472
NvDsServerConfig::port
std::string port
Definition: includes/nvds_rest_server.h:487
NvDsServerGetRequestPropFlag
NvDsServerGetRequestPropFlag
Flags for GET request types supported by the REST server.
Definition: includes/nvds_rest_server.h:85
PROCESS_MODE_UPDATE_SUCCESS
@ PROCESS_MODE_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:256
StatusNotFound
@ StatusNotFound
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:296
NvDsServerAppInstanceInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:451
NvDsServerRoiPropFlag
NvDsServerRoiPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:125
NvDsServerInferInfo::infer_log
std::string infer_log
Definition: includes/nvds_rest_server.h:382
FORCE_IDR_UPDATE_FAIL
@ FORCE_IDR_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:209
NvDsServerCallbacks::inferserver_cb
std::function< void(NvDsServerInferServerInfo *inferserver_info, void *ctx) > inferserver_cb
Definition: includes/nvds_rest_server.h:506
NvDsServerOsdInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:389
NvDsServerInferServerInfo::status
NvDsServerInferServerStatus status
Definition: includes/nvds_rest_server.h:459
DROP_FRAME_INTERVAL_UPDATE_SUCCESS
@ DROP_FRAME_INTERVAL_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:196
NvDsServerEncInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:287
NvDsServerDecInfo::dec_flag
NvDsServerDecPropFlag dec_flag
Definition: includes/nvds_rest_server.h:279
NvDsServerRoiInfo
struct NvDsServerRoiInfo NvDsServerRoiInfo
NvDsServerCallbacks::dec_cb
std::function< void(NvDsServerDecInfo *dec_info, void *ctx) > dec_cb
Definition: includes/nvds_rest_server.h:497
NvDsServerStreamInfo::value_camera_url
std::string value_camera_url
Definition: includes/nvds_rest_server.h:345
NvDsServerEncPropFlag
NvDsServerEncPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:39
NvDsServerInferServerStatus
NvDsServerInferServerStatus
Definition: includes/nvds_rest_server.h:209
NvDsServerImageEmbeddingInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:440
NvDsServerAnalyticsInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:407
NvDsServerEncInfo::bitrate
guint bitrate
Definition: includes/nvds_rest_server.h:289
NvDsServerRouteEntry::all_streams
gboolean all_streams
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:466
StatusUriTooLong
@ StatusUriTooLong
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:291
MAX_LATENCY
@ MAX_LATENCY
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:58
NvDsServerDecInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:273
MODEL_UPDATE_SUCCESS
@ MODEL_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:158
NvDsServerRouteStatus
NvDsServerRouteStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:162
LOW_LATENCY_MODE_UPDATE_FAIL
@ LOW_LATENCY_MODE_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:201
GET_METRICS_INFO
@ GET_METRICS_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:99
NvDsServerConvPropFlag
NvDsServerConvPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:47
STREAM_ADD_FAIL
@ STREAM_ADD_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:144
NvDsServerDecInfo::low_latency_mode
gboolean low_latency_mode
Definition: includes/nvds_rest_server.h:277
NvDsServerTextEmbeddingInfo::text_input
std::string text_input
Definition: includes/nvds_rest_server.h:412
NvDsServerAnalyticsInfo::analytics_log
std::string analytics_log
Definition: includes/nvds_rest_server.h:405
NvDsServerStreamInfo::metadata_file_start_time
std::string metadata_file_start_time
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:398
NvDsServerImageEmbeddingInfo
struct NvDsServerImageEmbeddingInfo NvDsServerImageEmbeddingInfo
NvDsServerAppInstanceInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:445
NvDsServerInferInfo::status
NvDsServerInferStatus status
Definition: includes/nvds_rest_server.h:380
NvDsServerModelInfo::uri
std::string uri
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:439
NvDsServerStreamInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:357
GET_LIVE_INFO
@ GET_LIVE_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:97
NvDsServerTextEmbeddingInfo::id
std::string id
Definition: includes/nvds_rest_server.h:414
NvDsServerOsdPropFlag
NvDsServerOsdPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:105
NvDsServerStreamStatus
NvDsServerStreamStatus
Definition: includes/nvds_rest_server.h:131
TEXT_EMBEDDING_GENERATE_FAIL
@ TEXT_EMBEDDING_GENERATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:269
NvDsServerDecInfo
struct NvDsServerDecInfo NvDsServerDecInfo
NvDsServerAnalyticsInfo::analytics_flag
NvDsServerAnalyticsPropFlag analytics_flag
Definition: includes/nvds_rest_server.h:404
NvDsServerRouteRef
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:456
MODEL_LOAD_FAIL
@ MODEL_LOAD_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:152
NvDsServerRoiStatus
NvDsServerRoiStatus
Definition: includes/nvds_rest_server.h:155
NvDsServerNvTrackerStatus
NvDsServerNvTrackerStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:248
NvDsServerDecInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:281
SRC_CROP_UPDATE_FAIL
@ SRC_CROP_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:221
NvDsGetRequestInfo
Definition: includes/nvds_rest_server.h:361
NvDsServerInferServerInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:463
NvDsServerHttpStatusCodeToStatusCode
NvDsServerStatusCode NvDsServerHttpStatusCodeToStatusCode(int http_code)
NvDsServerInferServerInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:462
NvDsServerAppInstanceStatus
NvDsServerAppInstanceStatus
Definition: includes/nvds_rest_server.h:125
NvDsServerOsdInfo::osd_log
std::string osd_log
Definition: includes/nvds_rest_server.h:393
NvDsServerRouteEntry
struct NvDsServerRouteEntry NvDsServerRouteEntry
NvDsServerConfig
Definition: includes/nvds_rest_server.h:484
NvDsServerCallbacks::text_embedding_cb
std::function< void(NvDsServerTextEmbeddingInfo *text_embedding_info, void *ctx) > text_embedding_cb
Definition: includes/nvds_rest_server.h:513
NvDsServerRoiStatus
NvDsServerRoiStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:188
NvDsServerTextEmbeddingInfo
struct NvDsServerTextEmbeddingInfo NvDsServerTextEmbeddingInfo
NvDsServerErrorInfo::field
std::string field
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:310
NvDsServerEncInfo
Definition: includes/nvds_rest_server.h:285
StatusServiceUnavailable
@ StatusServiceUnavailable
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:295
NvDsServerAppInstanceFlag
NvDsServerAppInstanceFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:130
NvDsGetRequestInfo::status
NvDsServerGetRequestStatus status
Definition: includes/nvds_rest_server.h:366
NvDsServerStreamInfo::metadata_json
std::string metadata_json
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:401
NvDsServerInferPropFlag
NvDsServerInferPropFlag
Definition: includes/nvds_rest_server.h:60
NvDsServerAppInstanceFlag
NvDsServerAppInstanceFlag
Definition: includes/nvds_rest_server.h:120
NvDsServerResponseInfo::reason
std::string reason
Definition: includes/nvds_rest_server.h:480
ROI_UPDATE_FAIL
@ ROI_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:191
NvDsServerDecStatus
NvDsServerDecStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:194
SKIP_FRAMES_UPDATE_SUCCESS
@ SKIP_FRAMES_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:198
NvDsServerStreamInfo::metadata_framerate
std::string metadata_framerate
Definition: includes/nvds_rest_server.h:351
NvDsServerNvTrackerInfo::config_path
std::string config_path
Definition: includes/nvds_rest_server.h:470
BITRATE_UPDATE_SUCCESS
@ BITRATE_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:206
NvDsServerConvInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:312
NvDsServerImageEmbeddingInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:439
NvDsServerRouteEntry::has_shadow
gboolean has_shadow
"shadow" key present
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:470
NvDsServerCallbacks::stream_cb
std::function< void(NvDsServerStreamInfo *stream_info, void *ctx) > stream_cb
Definition: includes/nvds_rest_server.h:500
NvDsServerCallbacks::roi_cb
std::function< void(NvDsServerRoiInfo *roi_info, void *ctx) > roi_cb
Definition: includes/nvds_rest_server.h:496
QUIT_APP
@ QUIT_APP
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:132
NvDsServerOsdStatus
NvDsServerOsdStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:254
NvDsServerAnalyticsInfo
struct NvDsServerAnalyticsInfo NvDsServerAnalyticsInfo
NvDsServerOsdInfo
Definition: includes/nvds_rest_server.h:386
NvDsServerInferServerStatus
NvDsServerInferServerStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:242
BATCHED_PUSH_TIMEOUT
@ BATCHED_PUSH_TIMEOUT
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:57
NvDsServerRouteInfo::default_has_shadow
gboolean default_has_shadow
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:482
NvDsServerRoiInfo::roi_count
guint roi_count
Definition: includes/nvds_rest_server.h:331
NvDsServerResponseInfo::status
std::string status
Definition: includes/nvds_rest_server.h:479
SRC_CROP_UPDATE_SUCCESS
@ SRC_CROP_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:220
NvDsServerRoiInfo::status
NvDsServerRoiStatus status
Definition: includes/nvds_rest_server.h:333
NvDsServerDecInfo
Definition: includes/nvds_rest_server.h:271
FORCE_IDR
@ FORCE_IDR
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:42
NvDsServerOsdInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:388
NvDsServerOsdPropFlag
NvDsServerOsdPropFlag
Definition: includes/nvds_rest_server.h:95
NvDsServerModelInfo::key
std::string key
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:426
IMAGE_EMBEDDING_GENERATE_SUCCESS
@ IMAGE_EMBEDDING_GENERATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:274
NvDsServerRoiPropFlag
NvDsServerRoiPropFlag
Definition: includes/nvds_rest_server.h:115
NvDsServerEncInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:288
NvDsServerConvPropFlag
NvDsServerConvPropFlag
Definition: includes/nvds_rest_server.h:46
GET_METADATA_INFO
@ GET_METADATA_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:100
cb_func
std::function< NvDsServerStatusCode(const Json::Value &req_info, const Json::Value &in, Json::Value &out, struct mg_connection *conn, void *ctx)> cb_func
Definition: includes/nvds_rest_server.h:492
StatusRequestTimeout
@ StatusRequestTimeout
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:288
GET_READY_INFO_FAIL
@ GET_READY_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:173
TEXT_EMBEDDING_GENERATE_SUCCESS
@ TEXT_EMBEDDING_GENERATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:268
NvDsServerImageEmbeddingInfo::image_embedding_log
std::string image_embedding_log
Definition: includes/nvds_rest_server.h:438
ROI_UPDATE
@ ROI_UPDATE
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:127
DEST_CROP_UPDATE_SUCCESS
@ DEST_CROP_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:218
NvDsServerRouteInfo::has_default
gboolean has_default
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:479
NvDsServerMuxInfo::max_latency
guint max_latency
Definition: includes/nvds_rest_server.h:319
NvDsServerAppInstanceInfo::app_quit
gboolean app_quit
Definition: includes/nvds_rest_server.h:446
NvDsServerStreamInfo::stream_log
std::string stream_log
Definition: includes/nvds_rest_server.h:356
NvDsServerRouteEntry::model_null
gboolean model_null
"model": null => PASSTHROUGH
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:468
NvDsServerAnalyticsStatus
NvDsServerAnalyticsStatus
Definition: includes/nvds_rest_server.h:227
NvDsServerCallbacks
struct NvDsServerCallbacks NvDsServerCallbacks
GET_MODEL_ROUTING_INFO_FAIL
@ GET_MODEL_ROUTING_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:185
NvDsServerModelInfo::version
std::string version
positive-integer version (required: load/update)
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:428
NvDsServerImageEmbeddingPropFlag
NvDsServerImageEmbeddingPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:120
NvDsServerRoiInfo
Definition: includes/nvds_rest_server.h:327
NvDsGetRequestInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:372
NvDsServerRouteInfo::err_info
NvDsServerErrorInfo err_info
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:491
NvDsServerImageEmbeddingInfo::bbox_width
gdouble bbox_width
Definition: includes/nvds_rest_server.h:431
NvDsServerImageEmbeddingInfo::image_path
std::string image_path
Definition: includes/nvds_rest_server.h:426
NvDsServerImageEmbeddingInfo::bbox_top
gdouble bbox_top
Definition: includes/nvds_rest_server.h:430
NvDsServerResponseInfo
struct NvDsServerResponseInfo NvDsServerResponseInfo
StatusAccepted
@ StatusAccepted
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:281
GET_STARTUP_INFO_SUCCESS
@ GET_STARTUP_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:176
NvDsServerNvTrackerPropFlag
NvDsServerNvTrackerPropFlag
Definition: includes/nvds_rest_server.h:70
NvDsServerStreamInfo
Definition: includes/nvds_rest_server.h:340
GET_METADATA_INFO_FAIL
@ GET_METADATA_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:181
NvDsServerTextEmbeddingInfo::model
std::string model
Definition: includes/nvds_rest_server.h:413
NvDsServerAnalyticsInfo::config_file_path
std::string config_file_path
Definition: includes/nvds_rest_server.h:402
NvDsGetRequestInfo::get_request_log
std::string get_request_log
Definition: includes/nvds_rest_server.h:368
MODEL_UNLOAD_FAIL
@ MODEL_UNLOAD_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:154
MAX_LATENCY_UPDATE_SUCCESS
@ MAX_LATENCY_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:232
NvDsServerRouteEntry::camera_ids
std::vector< std::string > camera_ids
empty + all_streams=TRUE => "all"
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:465
INFERSERVER_INTERVAL_UPDATE_SUCCESS
@ INFERSERVER_INTERVAL_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:244
NvDsServerModelInfo::status
NvDsServerModelStatus status
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:437
INFERSERVER_INTERVAL
@ INFERSERVER_INTERVAL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:68
NvDsServerConvStatus
NvDsServerConvStatus
Definition: includes/nvds_rest_server.h:183
NvDsServerAppInstanceInfo::status
NvDsServerAppInstanceStatus status
Definition: includes/nvds_rest_server.h:447
NvDsServerRouteInfo::uri
std::string uri
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:490
NvDsServerRoiInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:336
NvDsServerAppInstanceStatus
NvDsServerAppInstanceStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:135
NvDsServerModelInfo
struct NvDsServerModelInfo NvDsServerModelInfo
NvDsServerRouteInfo::value_json
std::string value_json
the request "value" object, serialized verbatim
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:486
NvDsServerEncInfo::iframeinterval
guint iframeinterval
Definition: includes/nvds_rest_server.h:292
NvDsServerCallbacks::get_request_cb
std::function< void(NvDsServerGetRequestInfo *get_request_info, void *ctx) > get_request_cb
Definition: includes/nvds_rest_server.h:516
NvDsServerDecInfo::status
NvDsServerDecStatus status
Definition: includes/nvds_rest_server.h:278
nvds_rest_server_start
NvDsRestServer * nvds_rest_server_start(NvDsServerConfig *server_config, NvDsServerCallbacks *server_cb, void *custom_ctx)
NvDsGetRequestInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:363
StatusOk
@ StatusOk
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:280
NvDsServerMuxInfo::mux_log
std::string mux_log
Definition: includes/nvds_rest_server.h:322
NvDsServerNvTrackerInfo
struct NvDsServerNvTrackerInfo NvDsServerNvTrackerInfo
NvDsServerGetRequestStatus
NvDsServerGetRequestStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:168
NvDsServerImageEmbeddingInfo::has_bbox
gboolean has_bbox
Definition: includes/nvds_rest_server.h:428
INTERPOLATION_METHOD_UPDATE_SUCCESS
@ INTERPOLATION_METHOD_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:222
NvDsServerStreamInfo
struct NvDsServerStreamInfo NvDsServerStreamInfo
NvDsServerNvTrackerInfo::nvTracker_log
std::string nvTracker_log
Definition: includes/nvds_rest_server.h:473
DEST_CROP_UPDATE_FAIL
@ DEST_CROP_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:219
NvDsServerRouteInfo::status
NvDsServerRouteStatus status
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:488
NvDsServerConvInfo::interpolation_method
guint interpolation_method
Definition: includes/nvds_rest_server.h:307
NvDsServerErrorInfo::hint
std::string hint
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:309
NvDsServerDecInfo::dec_log
std::string dec_log
Definition: includes/nvds_rest_server.h:280
NvDsServerInferServerInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:456
NvDsServerRoiInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:329
LOW_LATENCY_MODE
@ LOW_LATENCY_MODE
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:36
BITRATE_UPDATE_FAIL
@ BITRATE_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:207
NvDsServerModelInfo::engine_file
std::string engine_file
SEED engine (load) / single-instance (update)
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:431
NvDsGetRequestInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:369
NvDsServerRouteInfo
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:475
NvDsServerOsdInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:395
RELOAD_CONFIG
@ RELOAD_CONFIG
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:112
MODEL_UPDATE_FAIL
@ MODEL_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:159
NvDsServerEncStatus
NvDsServerEncStatus
Definition: includes/nvds_rest_server.h:171
NvDsServerNvTrackerInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:474
StatusNotImplemented
@ StatusNotImplemented
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:294
NvDsServerAnalyticsInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:406
StatusPreconditionFailed
@ StatusPreconditionFailed
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:289
NvDsServerConvStatus
NvDsServerConvStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:216
NvDsServerRouteEntry::shadow_null
gboolean shadow_null
"shadow": null => clear
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:471
NvDsServerStreamInfo::metadata_codec
std::string metadata_codec
Definition: includes/nvds_rest_server.h:350
NvDsServerRouteEntry::model
NvDsServerRouteRef model
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:469
IFRAME_INTERVAL
@ IFRAME_INTERVAL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:44
NvDsServerEncStatus
NvDsServerEncStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:204
NvDsServerEncInfo::enc_log
std::string enc_log
Definition: includes/nvds_rest_server.h:295
NvDsServerInferInfo::interval
guint interval
Definition: includes/nvds_rest_server.h:379
NvDsServerAnalyticsStatus
NvDsServerAnalyticsStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:260
NvDsServerOsdInfo::osd_flag
NvDsServerOsdPropFlag osd_flag
Definition: includes/nvds_rest_server.h:392
NvDsServerEncInfo::enc_flag
NvDsServerEncPropFlag enc_flag
Definition: includes/nvds_rest_server.h:294
TEXT_EMBEDDING_GENERATE
@ TEXT_EMBEDDING_GENERATE
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:117
NvDsServerAppInstanceInfo::app_log
std::string app_log
Definition: includes/nvds_rest_server.h:449
DEST_CROP
@ DEST_CROP
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:50
StatusConflict
@ StatusConflict
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:297
NvDsServerImageEmbeddingInfo::status
NvDsServerImageEmbeddingStatus status
Definition: includes/nvds_rest_server.h:436
NvDsServerRouteEntry::has_model
gboolean has_model
"model" key present
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:467
NvDsServerMuxInfo::batched_push_timeout
gint batched_push_timeout
Definition: includes/nvds_rest_server.h:318
NvDsServerInferInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:377
NvDsServerNvTrackerInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:469
NvDsServerNvTrackerInfo
Definition: includes/nvds_rest_server.h:466
NvDsServerEncInfo
struct NvDsServerEncInfo NvDsServerEncInfo
NvDsServerImageEmbeddingInfo::id
std::string id
Definition: includes/nvds_rest_server.h:433
NvDsServerRouteEntry::shadow
NvDsServerRouteRef shadow
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:472
NvDsServerConvInfo
struct NvDsServerConvInfo NvDsServerConvInfo
NvDsServerAnalyticsInfo::status
NvDsServerAnalyticsStatus status
Definition: includes/nvds_rest_server.h:403
NvDsServerDecPropFlag
NvDsServerDecPropFlag
Definition: includes/nvds_rest_server.h:31
NvDsServerRouteInfo::if_revision
gint64 if_revision
-1 = no optimistic-concurrency guard
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:485
NvDsServerMuxPropFlag
NvDsServerMuxPropFlag
Definition: includes/nvds_rest_server.h:54
STREAM_REMOVE_FAIL
@ STREAM_REMOVE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:146
GET_METRICS_INFO_SUCCESS
@ GET_METRICS_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:178
ROI_UPDATE_SUCCESS
@ ROI_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:190
NvDsServerInferStatus
NvDsServerInferStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:236
NvDsServerTextEmbeddingPropFlag
NvDsServerTextEmbeddingPropFlag
Definition: includes/nvds_rest_server.h:105
NvDsServerRouteInfo::value_change
std::string value_change
set by handler: "model_routing"
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:487
NvDsServerTextEmbeddingInfo
Definition: includes/nvds_rest_server.h:410
IMAGE_EMBEDDING_GENERATE_FAIL
@ IMAGE_EMBEDDING_GENERATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:275
NvDsServerRouteEntry
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:463
NvDsServerImageEmbeddingInfo::data
Json::Value data
Definition: includes/nvds_rest_server.h:435
NvDsServerRouteInfo::default_has_model
gboolean default_has_model
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:480
NvDsServerConvInfo::conv_log
std::string conv_log
Definition: includes/nvds_rest_server.h:310
NvDsServerConvInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:311
NvDsServerCallbacks::analytics_cb
std::function< void(NvDsServerAnalyticsInfo *analytics_info, void *ctx) > analytics_cb
Definition: includes/nvds_rest_server.h:512
GET_MODEL_ROUTING_INFO
@ GET_MODEL_ROUTING_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:102
FORCE_INTRA
@ FORCE_INTRA
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:43
NvDsServerAnalyticsPropFlag
NvDsServerAnalyticsPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:110
NvDsServerCallbacks::image_embedding_cb
std::function< void(NvDsServerImageEmbeddingInfo *image_embedding_info, void *ctx) > image_embedding_cb
Definition: includes/nvds_rest_server.h:514
NvDsServerCallbacks::route_cb
std::function< void(NvDsServerRouteInfo *route_info, void *ctx) > route_cb
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:637
NvDsServerModelInfo::from_version
std::string from_version
update only: REQUIRED CAS guard
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:429
NvDsServerInferInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:384
NvDsServerTextEmbeddingInfo::status
NvDsServerTextEmbeddingStatus status
Definition: includes/nvds_rest_server.h:417
NvDsServerNvTrackerInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:475
NvDsServerAppInstanceInfo
Definition: includes/nvds_rest_server.h:443
NvDsServerAppInstanceInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:450
NvDsServerInferInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:383
QUIT_FAIL
@ QUIT_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:138
LOW_LATENCY_MODE_UPDATE_SUCCESS
@ LOW_LATENCY_MODE_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:200
NvDsServerEncInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:297
NvDsServerImageEmbeddingInfo::created
long created
Definition: includes/nvds_rest_server.h:434
DROP_FRAME_INTERVAL
@ DROP_FRAME_INTERVAL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:34
NvDsServerStreamInfo::key
std::string key
Definition: includes/nvds_rest_server.h:342
INFER_INTERVAL_UPDATE_SUCCESS
@ INFER_INTERVAL_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:238
iequals
bool iequals(const std::string &a, const std::string &b)
GET_MODEL_STATUS_INFO_FAIL
@ GET_MODEL_STATUS_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:183
NvDsServerConvInfo
Definition: includes/nvds_rest_server.h:300
NvDsServerStreamInfo::value_camera_id
std::string value_camera_id
Definition: includes/nvds_rest_server.h:343
NvDsServerTextEmbeddingInfo::created
long created
Definition: includes/nvds_rest_server.h:415
NvDsServerOsdInfo
struct NvDsServerOsdInfo NvDsServerOsdInfo
NvDsServerModelInfo::err_info
NvDsServerErrorInfo err_info
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:440
INFER_INTERVAL
@ INFER_INTERVAL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:63
RELOAD_CONFIG_UPDATE_FAIL
@ RELOAD_CONFIG_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:263
NvDsServerAnalyticsInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:401
NvDsServerErrorInfo
struct NvDsServerErrorInfo NvDsServerErrorInfo
NvDsServerImageEmbeddingInfo
Definition: includes/nvds_rest_server.h:424
FORCE_IDR_UPDATE_SUCCESS
@ FORCE_IDR_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:208
GET_METADATA_INFO_SUCCESS
@ GET_METADATA_INFO_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:180
NvDsServerStreamStatus
NvDsServerStreamStatus
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:141
NvDsServerStreamInfo::value_change
std::string value_change
Definition: includes/nvds_rest_server.h:346
NvDsServerMuxInfo::status
NvDsServerMuxStatus status
Definition: includes/nvds_rest_server.h:320
GET_LIVE_STREAM_INFO
@ GET_LIVE_STREAM_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:95
NvDsServerInferServerInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:457
MODEL_LOAD_SUCCESS
@ MODEL_LOAD_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:151
BITRATE
@ BITRATE
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:41
NvDsServerImageEmbeddingInfo::bbox_height
gdouble bbox_height
Definition: includes/nvds_rest_server.h:432
StatusBadRequest
@ StatusBadRequest
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:282
NvDsServerTextEmbeddingInfo::text_embedding_log
std::string text_embedding_log
Definition: includes/nvds_rest_server.h:419
IFRAME_INTERVAL_UPDATE_SUCCESS
@ IFRAME_INTERVAL_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:212
NvDsServerConvInfo::conv_flag
NvDsServerConvPropFlag conv_flag
Definition: includes/nvds_rest_server.h:309
NvDsGetRequestInfo::is_text
gboolean is_text
Definition: includes/nvds_rest_server.h:365
NvDsServerInferServerInfo
struct NvDsServerInferServerInfo NvDsServerInferServerInfo
GET_LIVE_STREAM_INFO_FAIL
@ GET_LIVE_STREAM_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:171
NvDsServerStreamInfo::status
NvDsServerStreamStatus status
Definition: includes/nvds_rest_server.h:355
INTERPOLATION_METHOD
@ INTERPOLATION_METHOD
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:52
MODEL_ROUTING_FAIL
@ MODEL_ROUTING_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:165
NvDsServerInferInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:378
NvDsServerStreamInfo::headers_created_at
std::string headers_created_at
Definition: includes/nvds_rest_server.h:354
NvDsServerEncInfo::force_idr
gboolean force_idr
Definition: includes/nvds_rest_server.h:290
NvDsServerAnalyticsInfo
Definition: includes/nvds_rest_server.h:398
NvDsServerTextEmbeddingPropFlag
NvDsServerTextEmbeddingPropFlag
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:115
GET_MODEL_STATUS_INFO
@ GET_MODEL_STATUS_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:101
NvDsServerInferStatus
NvDsServerInferStatus
Definition: includes/nvds_rest_server.h:203
NvDsServerCallbacks::infer_cb
std::function< void(NvDsServerInferInfo *infer_info, void *ctx) > infer_cb
Definition: includes/nvds_rest_server.h:502
NvDsServerModelInfo::model_log
std::string model_log
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:438
NvDsGetRequestInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:364
NvDsServerTextEmbeddingInfo::data
Json::Value data
Definition: includes/nvds_rest_server.h:416
NvDsServerErrorInfo
Definition: includes/nvds_rest_server.h:265
NvDsServerInferServerInfo::inferserver_log
std::string inferserver_log
Definition: includes/nvds_rest_server.h:461
NvDsServerStreamInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:358
RELOAD_CONFIG_UPDATE_SUCCESS
@ RELOAD_CONFIG_UPDATE_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:262
GET_READY_INFO
@ GET_READY_INFO
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:96
NvDsServerInferServerInfo::interval
guint interval
Definition: includes/nvds_rest_server.h:458
NvDsServerImageEmbeddingStatus
NvDsServerImageEmbeddingStatus
Definition: includes/nvds_rest_server.h:239
NvDsServerAppInstanceInfo::appinstance_flag
NvDsServerAppInstanceFlag appinstance_flag
Definition: includes/nvds_rest_server.h:448
GET_STARTUP_INFO_FAIL
@ GET_STARTUP_INFO_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:177
MODEL_UNLOAD_SUCCESS
@ MODEL_UNLOAD_SUCCESS
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:153
SRC_CROP
@ SRC_CROP
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:49
NVTRACKER_CONFIG_UPDATE_FAIL
@ NVTRACKER_CONFIG_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:251
NvDsServerCallbacks::mux_cb
std::function< void(NvDsServerMuxInfo *mux_info, void *ctx) > mux_cb
Definition: includes/nvds_rest_server.h:504
NvDsServerRouteInfo
struct NvDsServerRouteInfo NvDsServerRouteInfo
NvDsServerTextEmbeddingStatus
NvDsServerTextEmbeddingStatus
Definition: includes/nvds_rest_server.h:233
NvDsServerAnalyticsPropFlag
NvDsServerAnalyticsPropFlag
Definition: includes/nvds_rest_server.h:100
NvDsServerCallbacks::model_cb
std::function< void(NvDsServerModelInfo *model_info, void *ctx) > model_cb
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:635
BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
@ BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
Definition: sources/libs/nvds_rest_server/nvds_rest_server.h:231