NVIDIA DeepStream SDK API Reference

9.2 Release
9.2/includes/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 <vector>
24 #include <functional>
25 #include "gst-nvdscustomevent.h"
26 #include "gst-nvdscommonconfig.h"
27 #include <json/json.h>
28 #define UNKNOWN_STRING "unknown"
29 #define EMPTY_STRING ""
30 
31 typedef enum
32 {
34  SKIP_FRAMES = 1 << 1,
35  LOW_LATENCY_MODE = 1 << 2,
37 
38 typedef enum
39 {
40  BITRATE = 1 << 0,
41  FORCE_IDR = 1 << 1,
42  FORCE_INTRA = 1 << 2,
43  IFRAME_INTERVAL = 1 << 3,
45 
46 typedef enum
47 {
48  SRC_CROP = 1 << 0,
49  DEST_CROP = 1 << 1,
50  FLIP_METHOD = 1 << 2,
53 
54 typedef enum
55 {
57  MAX_LATENCY = 1 << 1,
59 
60 typedef enum
61 {
62  INFER_INTERVAL = 1 << 0,
64 
65 typedef enum
66 {
69 
70 typedef enum
71 {
72  NVTRACKER_CONFIG = 1 << 0,
74 
85 typedef enum
86 {
88  GET_READY_INFO = 1 << 1,
89  GET_LIVE_INFO = 1 << 2,
90  GET_STARTUP_INFO = 1 << 3,
91  GET_METRICS_INFO = 1 << 4,
94 
95 typedef enum
96 {
97  PROCESS_MODE = 1 << 0,
99 
100 typedef enum
101 {
102  RELOAD_CONFIG = 1 << 0,
104 
105 typedef enum
106 {
109 
110 typedef enum
111 {
114 
115 typedef enum
116 {
117  ROI_UPDATE = 1 << 0,
119 
120 typedef enum
121 {
122  QUIT_APP = 1 << 0,
124 
125 typedef enum
126 {
130 
131 typedef enum
132 {
138 
139 typedef enum
140 {
154 
155 typedef enum
156 {
160 
161 typedef enum
162 {
170 
171 typedef enum
172 {
182 
183 typedef enum
184 {
194 
195 typedef enum
196 {
202 
203 typedef enum
204 {
208 
209 typedef enum
210 {
214 
215 typedef enum
216 {
220 
221 typedef enum
222 {
226 
227 typedef enum
228 {
232 
233 typedef enum
234 {
238 
239 typedef enum
240 {
244 
245 typedef enum
246 {
247  StatusOk = 0, // HTTP error code : 200
248  StatusAccepted, // HTTP error code : 202
249  StatusBadRequest, // HTTP error code : 400
250  StatusUnauthorized, // HTTP error code : 401
251  StatusForbidden, // HTTP error code : 403
252  StatusMethodNotAllowed, // HTTP error code : 405
253  StatusNotAcceptable, // HTTP error code : 406
254  StatusProxyAuthenticationRequired, // HTTP error code : 407
255  StatusRequestTimeout, // HTTP error code : 408
256  StatusPreconditionFailed, // HTTP error code : 412
257  StatusPayloadTooLarge, // HTTP error code : 413
258  StatusUriTooLong, // HTTP error code : 414
259  StatusUnsupportedMediaType, // HTTP error code : 415
260  StatusInternalServerError, // HTTP error code : 500
261  StatusNotImplemented, // HTTP error code : 501
262  StatusServiceUnavailable // HTTP error code : 503
264 
265 typedef struct NvDsServerErrorInfo
266 {
267  std::pair < int, std::string > err_log;
270 
271 typedef struct NvDsServerDecInfo
272 {
273  std::string root_key;
274  std::string stream_id;
275  guint drop_frame_interval;
276  guint skip_frames;
277  gboolean low_latency_mode;
280  std::string dec_log;
281  std::string uri;
284 
285 typedef struct NvDsServerEncInfo
286 {
287  std::string root_key;
288  std::string stream_id;
289  guint bitrate;
290  gboolean force_idr;
291  gboolean force_intra;
292  guint iframeinterval;
295  std::string enc_log;
296  std::string uri;
299 
300 typedef struct NvDsServerConvInfo
301 {
302  std::string root_key;
303  std::string stream_id;
304  std::string src_crop;
305  std::string dest_crop;
306  guint flip_method;
307  guint interpolation_method;
310  std::string conv_log;
311  std::string uri;
314 
315 typedef struct NvDsServerMuxInfo
316 {
317  std::string root_key;
319  guint max_latency;
322  std::string mux_log;
323  std::string uri;
326 
327 typedef struct NvDsServerRoiInfo
328 {
329  std::string root_key;
330  std::string stream_id;
331  guint roi_count;
332  std::vector < RoiDimension > vect;
335  std::string roi_log;
336  std::string uri;
339 
340 typedef struct NvDsServerStreamInfo
341 {
342  std::string key;
343  std::string value_camera_id;
344  std::string value_camera_name;
345  std::string value_camera_url;
346  std::string value_change;
347  std::string value_creation_time;
348 
349  std::string metadata_resolution;
350  std::string metadata_codec;
351  std::string metadata_framerate;
352 
353  std::string headers_source;
354  std::string headers_created_at;
356  std::string stream_log;
357  std::string uri;
360 
361 typedef struct NvDsGetRequestInfo
362 {
363  std::string root_key;
364  std::string stream_id;
365  gboolean is_text;
368  std::string get_request_log;
369  std::string uri;
370  Json::Value stream_info;
371  std::vector<NvDsSensorInfo*> sensorInfo_vec;
374 
375 typedef struct NvDsServerInferInfo
376 {
377  std::string root_key;
378  std::string stream_id;
379  guint interval;
382  std::string infer_log;
383  std::string uri;
386 typedef struct NvDsServerOsdInfo
387 {
388  std::string root_key;
389  std::string stream_id;
390  guint process_mode;
393  std::string osd_log;
394  std::string uri;
397 
398 typedef struct NvDsServerAnalyticsInfo
399 {
400  std::string root_key;
401  std::string stream_id;
402  std::string config_file_path;
405  std::string analytics_log;
406  std::string uri;
409 
410 typedef struct NvDsServerTextEmbeddingInfo
411 {
412  std::string text_input;
413  std::string model;
414  std::string id;
415  long created;
416  Json::Value data;
419  std::string text_embedding_log;
420  std::string uri;
423 
424 typedef struct NvDsServerImageEmbeddingInfo
425 {
426  std::string image_path;
427  std::string model;
428  gboolean has_bbox;
429  gdouble bbox_left;
430  gdouble bbox_top;
431  gdouble bbox_width;
432  gdouble bbox_height;
433  std::string id;
434  long created;
435  Json::Value data;
438  std::string image_embedding_log;
439  std::string uri;
442 
443 typedef struct NvDsServerAppInstanceInfo
444 {
445  std::string root_key;
446  gboolean app_quit;
449  std::string app_log;
450  std::string uri;
453 
454 typedef struct NvDsServerInferServerInfo
455 {
456  std::string root_key;
457  std::string stream_id;
458  guint interval;
461  std::string inferserver_log;
462  std::string uri;
465 
466 typedef struct NvDsServerNvTrackerInfo
467 {
468  std::string root_key;
469  std::string stream_id;
470  std::string config_path;
473  std::string nvTracker_log;
474  std::string uri;
477 typedef struct NvDsServerResponseInfo
478 {
479  std::string status;
480  std::string reason;
481  Json::Value stream_info;
483 
484 typedef struct NvDsServerConfig
485 {
486  std::string ip;
487  std::string port;
489 
490 using cb_func = std::function < NvDsServerStatusCode (const Json::Value & req_info,
491  const Json::Value & in,
492  Json::Value & out, struct mg_connection * conn, void *ctx)>;
493 
494 typedef struct NvDsServerCallbacks
495 {
496  std::function < void (NvDsServerRoiInfo * roi_info, void *ctx) > roi_cb;
497  std::function < void (NvDsServerDecInfo * dec_info, void *ctx) > dec_cb;
498  std::function < void (NvDsServerEncInfo * enc_info, void *ctx) > enc_cb;
499  std::function < void (NvDsServerStreamInfo * stream_info,
500  void *ctx) > stream_cb;
501  std::function < void (NvDsServerInferInfo * infer_info,
502  void *ctx) > infer_cb;
503  std::function < void (NvDsServerConvInfo * conv_info, void *ctx) > conv_cb;
504  std::function < void (NvDsServerMuxInfo * mux_info, void *ctx) > mux_cb;
505  std::function < void (NvDsServerInferServerInfo * inferserver_info,
506  void *ctx) > inferserver_cb;
507  std::function < void (NvDsServerNvTrackerInfo * nvTracker_info,
508  void *ctx) > nvTracker_cb;
509  std::function < void (NvDsServerOsdInfo * osd_info, void *ctx) > osd_cb;
510  std::function < void (NvDsServerAppInstanceInfo * appinstance_info,
511  void *ctx) > appinstance_cb;
512  std::function < void (NvDsServerAnalyticsInfo * analytics_info, void *ctx) > analytics_cb;
513  std::function < void (NvDsServerTextEmbeddingInfo * text_embedding_info, void *ctx) > text_embedding_cb;
514  std::function < void (NvDsServerImageEmbeddingInfo * image_embedding_info, void *ctx) > image_embedding_cb;
515  std::function < void (NvDsServerGetRequestInfo * get_request_info,
516  void *ctx) > get_request_cb;
517  std::unordered_map <std::string, cb_func> custom_cb_endpt;
519 
520 class NvDsRestServer;
521 NvDsRestServer* nvds_rest_server_start (NvDsServerConfig * server_config, NvDsServerCallbacks * server_cb, void* custom_ctx);
522 void nvds_rest_server_stop (NvDsRestServer *ctx);
523 bool iequals (const std::string & a, const std::string & b);
524 
525 #endif
NvDsServerAnalyticsInfo
struct NvDsServerAnalyticsInfo NvDsServerAnalyticsInfo
NvDsServerImageEmbeddingInfo::image_embedding_flag
NvDsServerImageEmbeddingPropFlag image_embedding_flag
Definition: includes/nvds_rest_server.h:437
NvDsServerConvInfo::dest_crop
std::string dest_crop
Definition: includes/nvds_rest_server.h:305
BITRATE_UPDATE_FAIL
@ BITRATE_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:174
NvDsServerMuxInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:323
NvDsServerOsdStatus
NvDsServerOsdStatus
Definition: includes/nvds_rest_server.h:221
TEXT_EMBEDDING_GENERATE_SUCCESS
@ TEXT_EMBEDDING_GENERATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:235
NvDsServerNvTrackerStatus
NvDsServerNvTrackerStatus
Definition: includes/nvds_rest_server.h:215
NvDsServerRoiInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:330
NvDsServerStreamInfo::metadata_resolution
std::string metadata_resolution
Definition: includes/nvds_rest_server.h:349
DEST_CROP
@ DEST_CROP
Definition: 9.2/includes/nvds_rest_server.h:49
BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
@ BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:198
NvDsServerNvTrackerPropFlag
NvDsServerNvTrackerPropFlag
Definition: 9.2/includes/nvds_rest_server.h:70
NvDsServerGetRequestInfo
struct NvDsGetRequestInfo NvDsServerGetRequestInfo
NvDsServerGetRequestStatus
NvDsServerGetRequestStatus
Definition: 9.2/includes/nvds_rest_server.h:139
NvDsServerMuxInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:317
NvDsServerInferInfo::infer_flag
NvDsServerInferPropFlag infer_flag
Definition: includes/nvds_rest_server.h:381
FORCE_INTRA_UPDATE_SUCCESS
@ FORCE_INTRA_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:177
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
NvDsServerResponseInfo
Definition: includes/nvds_rest_server.h:477
NvDsServerNvTrackerInfo::status
NvDsServerNvTrackerStatus status
Definition: includes/nvds_rest_server.h:471
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
INFER_INTERVAL
@ INFER_INTERVAL
Definition: 9.2/includes/nvds_rest_server.h:62
GET_LIVE_STREAM_INFO_SUCCESS
@ GET_LIVE_STREAM_INFO_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:141
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
NvDsServerImageEmbeddingInfo::model
std::string model
Definition: includes/nvds_rest_server.h:427
NvDsServerErrorInfo::code
NvDsServerStatusCode code
Definition: includes/nvds_rest_server.h:268
QUIT_APP
@ QUIT_APP
Definition: 9.2/includes/nvds_rest_server.h:122
NvDsServerResponseInfo
struct NvDsServerResponseInfo NvDsServerResponseInfo
NvDsServerConvInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:303
NvDsServerAppInstanceFlag
NvDsServerAppInstanceFlag
Definition: 9.2/includes/nvds_rest_server.h:120
NvDsServerOsdInfo::status
NvDsServerOsdStatus status
Definition: includes/nvds_rest_server.h:391
StatusForbidden
@ StatusForbidden
Definition: 9.2/includes/nvds_rest_server.h:251
NvDsServerCallbacks::nvTracker_cb
std::function< void(NvDsServerNvTrackerInfo *nvTracker_info, void *ctx) > nvTracker_cb
Definition: includes/nvds_rest_server.h:508
NvDsServerErrorInfo::err_log
std::pair< int, std::string > err_log
Definition: includes/nvds_rest_server.h:267
NvDsServerImageEmbeddingPropFlag
NvDsServerImageEmbeddingPropFlag
Definition: includes/nvds_rest_server.h:110
SRC_CROP_UPDATE_FAIL
@ SRC_CROP_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:188
NvDsServerOsdInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:394
NvDsServerConvStatus
NvDsServerConvStatus
Definition: 9.2/includes/nvds_rest_server.h:183
NvDsServerDecStatus
NvDsServerDecStatus
Definition: includes/nvds_rest_server.h:161
STREAM_REMOVE_SUCCESS
@ STREAM_REMOVE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:135
iequals
bool iequals(const std::string &a, const std::string &b)
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
GET_METRICS_INFO_FAIL
@ GET_METRICS_INFO_FAIL
Definition: 9.2/includes/nvds_rest_server.h:150
NvDsServerGetRequestStatus
NvDsServerGetRequestStatus
Definition: includes/nvds_rest_server.h:139
INFERSERVER_INTERVAL
@ INFERSERVER_INTERVAL
Definition: 9.2/includes/nvds_rest_server.h:67
NvDsServerDecInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:282
NvDsServerRoiInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:337
NvDsServerEncInfo::force_intra
gboolean force_intra
Definition: includes/nvds_rest_server.h:291
IFRAME_INTERVAL_UPDATE_SUCCESS
@ IFRAME_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:179
NvDsServerStreamInfo::value_camera_name
std::string value_camera_name
Definition: includes/nvds_rest_server.h:344
PROCESS_MODE
@ PROCESS_MODE
Definition: 9.2/includes/nvds_rest_server.h:97
NvDsServerInferInfo
Definition: includes/nvds_rest_server.h:375
NvDsServerDecInfo::skip_frames
guint skip_frames
Definition: includes/nvds_rest_server.h:276
STREAM_ADD_FAIL
@ STREAM_ADD_FAIL
Definition: 9.2/includes/nvds_rest_server.h:134
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
StatusMethodNotAllowed
@ StatusMethodNotAllowed
Definition: 9.2/includes/nvds_rest_server.h:252
FORCE_IDR
@ FORCE_IDR
Definition: 9.2/includes/nvds_rest_server.h:41
NvDsServerMuxStatus
NvDsServerMuxStatus
Definition: includes/nvds_rest_server.h:195
gst-nvdscommonconfig.h
NvDsServerImageEmbeddingStatus
NvDsServerImageEmbeddingStatus
Definition: 9.2/includes/nvds_rest_server.h:239
NvDsServerGetRequestPropFlag
NvDsServerGetRequestPropFlag
Flags for GET request types supported by the REST server.
Definition: 9.2/includes/nvds_rest_server.h:85
NvDsGetRequestInfo::get_request_flag
NvDsServerGetRequestPropFlag get_request_flag
Definition: includes/nvds_rest_server.h:367
StatusInternalServerError
@ StatusInternalServerError
Definition: 9.2/includes/nvds_rest_server.h:260
BATCHED_PUSH_TIMEOUT
@ BATCHED_PUSH_TIMEOUT
Definition: 9.2/includes/nvds_rest_server.h:56
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
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
LOW_LATENCY_MODE_UPDATE_SUCCESS
@ LOW_LATENCY_MODE_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:167
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
INTERPOLATION_METHOD_UPDATE_FAIL
@ INTERPOLATION_METHOD_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:190
NvDsServerResponseInfo::stream_info
Json::Value stream_info
Definition: includes/nvds_rest_server.h:481
StatusNotImplemented
@ StatusNotImplemented
Definition: 9.2/includes/nvds_rest_server.h:261
NvDsServerInferServerInfo
Definition: includes/nvds_rest_server.h:454
NvDsServerInferPropFlag
NvDsServerInferPropFlag
Definition: 9.2/includes/nvds_rest_server.h:60
NvDsServerCallbacks::appinstance_cb
std::function< void(NvDsServerAppInstanceInfo *appinstance_info, void *ctx) > appinstance_cb
Definition: includes/nvds_rest_server.h:511
NvDsServerImageEmbeddingPropFlag
NvDsServerImageEmbeddingPropFlag
Definition: 9.2/includes/nvds_rest_server.h:110
FLIP_METHOD_UPDATE_SUCCESS
@ FLIP_METHOD_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:191
NvDsServerEncPropFlag
NvDsServerEncPropFlag
Definition: includes/nvds_rest_server.h:38
NvDsServerDecInfo::drop_frame_interval
guint drop_frame_interval
Definition: includes/nvds_rest_server.h:275
FLIP_METHOD_UPDATE_FAIL
@ FLIP_METHOD_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:192
StatusProxyAuthenticationRequired
@ StatusProxyAuthenticationRequired
Definition: 9.2/includes/nvds_rest_server.h:254
NvDsServerTextEmbeddingInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:421
NvDsServerNvTrackerStatus
NvDsServerNvTrackerStatus
Definition: 9.2/includes/nvds_rest_server.h:215
NvDsServerMuxInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:324
NvDsServerInferServerStatus
NvDsServerInferServerStatus
Definition: 9.2/includes/nvds_rest_server.h:209
LOW_LATENCY_MODE
@ LOW_LATENCY_MODE
Definition: 9.2/includes/nvds_rest_server.h:35
ROI_UPDATE_SUCCESS
@ ROI_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:157
StatusNotAcceptable
@ StatusNotAcceptable
Definition: 9.2/includes/nvds_rest_server.h:253
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
NvDsServerInferServerPropFlag
NvDsServerInferServerPropFlag
Definition: includes/nvds_rest_server.h:65
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
NvDsServerTextEmbeddingInfo::text_embedding_flag
NvDsServerTextEmbeddingPropFlag text_embedding_flag
Definition: includes/nvds_rest_server.h:418
GET_METRICS_INFO
@ GET_METRICS_INFO
Definition: 9.2/includes/nvds_rest_server.h:91
NvDsServerEncInfo::status
NvDsServerEncStatus status
Definition: includes/nvds_rest_server.h:293
NvDsServerConfig
struct NvDsServerConfig NvDsServerConfig
NvDsServerCallbacks
Definition: includes/nvds_rest_server.h:494
IMAGE_EMBEDDING_GENERATE_FAIL
@ IMAGE_EMBEDDING_GENERATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:242
SKIP_FRAMES
@ SKIP_FRAMES
Definition: 9.2/includes/nvds_rest_server.h:34
NvDsServerNvTrackerInfo::nvTracker_flag
NvDsServerNvTrackerPropFlag nvTracker_flag
Definition: includes/nvds_rest_server.h:472
GET_LIVE_STREAM_INFO
@ GET_LIVE_STREAM_INFO
Definition: 9.2/includes/nvds_rest_server.h:87
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
NvDsServerInferInfo
struct NvDsServerInferInfo NvDsServerInferInfo
NvDsServerAppInstanceInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:451
NvDsServerInferInfo::infer_log
std::string infer_log
Definition: includes/nvds_rest_server.h:382
StatusOk
@ StatusOk
Definition: 9.2/includes/nvds_rest_server.h:247
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
NvDsServerEncInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:287
DROP_FRAME_INTERVAL_UPDATE_FAIL
@ DROP_FRAME_INTERVAL_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:164
IFRAME_INTERVAL_UPDATE_FAIL
@ IFRAME_INTERVAL_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:180
DEST_CROP_UPDATE_FAIL
@ DEST_CROP_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:186
NvDsServerEncPropFlag
NvDsServerEncPropFlag
Definition: 9.2/includes/nvds_rest_server.h:38
NvDsServerDecInfo::dec_flag
NvDsServerDecPropFlag dec_flag
Definition: includes/nvds_rest_server.h:279
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
NvDsServerInferServerStatus
NvDsServerInferServerStatus
Definition: includes/nvds_rest_server.h:209
NvDsServerImageEmbeddingInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:440
NVTRACKER_CONFIG_UPDATE_SUCCESS
@ NVTRACKER_CONFIG_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:217
NvDsServerAnalyticsInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:407
NvDsServerEncInfo::bitrate
guint bitrate
Definition: includes/nvds_rest_server.h:289
NvDsServerAppInstanceStatus
NvDsServerAppInstanceStatus
Definition: 9.2/includes/nvds_rest_server.h:125
NvDsServerDecInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:273
BITRATE_UPDATE_SUCCESS
@ BITRATE_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:173
NvDsServerInferServerPropFlag
NvDsServerInferServerPropFlag
Definition: 9.2/includes/nvds_rest_server.h:65
NvDsServerImageEmbeddingInfo
struct NvDsServerImageEmbeddingInfo NvDsServerImageEmbeddingInfo
PROCESS_MODE_UPDATE_SUCCESS
@ PROCESS_MODE_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:223
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
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
StatusBadRequest
@ StatusBadRequest
Definition: 9.2/includes/nvds_rest_server.h:249
IMAGE_EMBEDDING_GENERATE_SUCCESS
@ IMAGE_EMBEDDING_GENERATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:241
NvDsServerStreamInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:357
NvDsServerTextEmbeddingInfo::id
std::string id
Definition: includes/nvds_rest_server.h:414
NvDsServerInferStatus
NvDsServerInferStatus
Definition: 9.2/includes/nvds_rest_server.h:203
StatusServiceUnavailable
@ StatusServiceUnavailable
Definition: 9.2/includes/nvds_rest_server.h:262
ROI_UPDATE_FAIL
@ ROI_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:158
NvDsServerStreamStatus
NvDsServerStreamStatus
Definition: includes/nvds_rest_server.h:131
STREAM_ADD_SUCCESS
@ STREAM_ADD_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:133
NvDsServerAnalyticsInfo::analytics_flag
NvDsServerAnalyticsPropFlag analytics_flag
Definition: includes/nvds_rest_server.h:404
StatusAccepted
@ StatusAccepted
Definition: 9.2/includes/nvds_rest_server.h:248
NvDsServerTextEmbeddingInfo
struct NvDsServerTextEmbeddingInfo NvDsServerTextEmbeddingInfo
NvDsServerRoiStatus
NvDsServerRoiStatus
Definition: includes/nvds_rest_server.h:155
ROI_UPDATE
@ ROI_UPDATE
Definition: 9.2/includes/nvds_rest_server.h:117
GET_LIVE_INFO_FAIL
@ GET_LIVE_INFO_FAIL
Definition: 9.2/includes/nvds_rest_server.h:146
NvDsServerDecInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:281
NvDsGetRequestInfo
Definition: includes/nvds_rest_server.h:361
NvDsServerInferServerInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:463
NvDsServerInferServerInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:462
FORCE_IDR_UPDATE_SUCCESS
@ FORCE_IDR_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:175
NvDsServerAppInstanceStatus
NvDsServerAppInstanceStatus
Definition: includes/nvds_rest_server.h:125
NvDsServerRoiPropFlag
NvDsServerRoiPropFlag
Definition: 9.2/includes/nvds_rest_server.h:115
NvDsServerOsdInfo::osd_log
std::string osd_log
Definition: includes/nvds_rest_server.h:393
INTERPOLATION_METHOD
@ INTERPOLATION_METHOD
Definition: 9.2/includes/nvds_rest_server.h:51
GET_READY_INFO
@ GET_READY_INFO
Definition: 9.2/includes/nvds_rest_server.h:88
nvds_rest_server_stop
void nvds_rest_server_stop(NvDsRestServer *ctx)
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
NvDsServerEncInfo
Definition: includes/nvds_rest_server.h:285
NvDsGetRequestInfo::status
NvDsServerGetRequestStatus status
Definition: includes/nvds_rest_server.h:366
GET_METADATA_INFO_FAIL
@ GET_METADATA_INFO_FAIL
Definition: 9.2/includes/nvds_rest_server.h:152
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
NvDsServerNvTrackerInfo
struct NvDsServerNvTrackerInfo NvDsServerNvTrackerInfo
GET_METRICS_INFO_SUCCESS
@ GET_METRICS_INFO_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:149
NvDsServerMuxPropFlag
NvDsServerMuxPropFlag
Definition: 9.2/includes/nvds_rest_server.h:54
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
NvDsServerStatusCode
NvDsServerStatusCode
Definition: 9.2/includes/nvds_rest_server.h:245
RELOAD_CONFIG_UPDATE_FAIL
@ RELOAD_CONFIG_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:230
TEXT_EMBEDDING_GENERATE_FAIL
@ TEXT_EMBEDDING_GENERATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:236
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
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_SUCCESS
@ QUIT_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:127
NvDsServerDecPropFlag
NvDsServerDecPropFlag
Definition: 9.2/includes/nvds_rest_server.h:31
NvDsServerOsdInfo
Definition: includes/nvds_rest_server.h:386
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
FORCE_IDR_UPDATE_FAIL
@ FORCE_IDR_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:176
NvDsServerRoiInfo::status
NvDsServerRoiStatus status
Definition: includes/nvds_rest_server.h:333
NvDsServerDecInfo
Definition: includes/nvds_rest_server.h:271
NvDsServerOsdInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:388
NvDsServerOsdPropFlag
NvDsServerOsdPropFlag
Definition: includes/nvds_rest_server.h:95
BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
@ BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:197
NvDsServerMuxInfo
struct NvDsServerMuxInfo NvDsServerMuxInfo
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
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
INFER_INTERVAL_UPDATE_SUCCESS
@ INFER_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:205
NvDsServerImageEmbeddingInfo::image_embedding_log
std::string image_embedding_log
Definition: includes/nvds_rest_server.h:438
StatusUnsupportedMediaType
@ StatusUnsupportedMediaType
Definition: 9.2/includes/nvds_rest_server.h:259
GET_LIVE_STREAM_INFO_FAIL
@ GET_LIVE_STREAM_INFO_FAIL
Definition: 9.2/includes/nvds_rest_server.h:142
NvDsServerMuxInfo::max_latency
guint max_latency
Definition: includes/nvds_rest_server.h:319
NvDsServerTextEmbeddingPropFlag
NvDsServerTextEmbeddingPropFlag
Definition: 9.2/includes/nvds_rest_server.h:105
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
NvDsServerDecInfo
struct NvDsServerDecInfo NvDsServerDecInfo
NvDsServerAnalyticsStatus
NvDsServerAnalyticsStatus
Definition: includes/nvds_rest_server.h:227
NvDsServerAnalyticsStatus
NvDsServerAnalyticsStatus
Definition: 9.2/includes/nvds_rest_server.h:227
NvDsServerRoiInfo
Definition: includes/nvds_rest_server.h:327
MAX_LATENCY_UPDATE_FAIL
@ MAX_LATENCY_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:200
NvDsGetRequestInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:372
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
FLIP_METHOD
@ FLIP_METHOD
Definition: 9.2/includes/nvds_rest_server.h:50
TEXT_EMBEDDING_GENERATE
@ TEXT_EMBEDDING_GENERATE
Definition: 9.2/includes/nvds_rest_server.h:107
NvDsServerNvTrackerPropFlag
NvDsServerNvTrackerPropFlag
Definition: includes/nvds_rest_server.h:70
QUIT_FAIL
@ QUIT_FAIL
Definition: 9.2/includes/nvds_rest_server.h:128
NvDsServerStreamInfo
Definition: includes/nvds_rest_server.h:340
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
RELOAD_CONFIG
@ RELOAD_CONFIG
Definition: 9.2/includes/nvds_rest_server.h:102
INTERPOLATION_METHOD_UPDATE_SUCCESS
@ INTERPOLATION_METHOD_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:189
GET_STARTUP_INFO_SUCCESS
@ GET_STARTUP_INFO_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:147
SKIP_FRAMES_UPDATE_SUCCESS
@ SKIP_FRAMES_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:165
NvDsGetRequestInfo::get_request_log
std::string get_request_log
Definition: includes/nvds_rest_server.h:368
StatusUriTooLong
@ StatusUriTooLong
Definition: 9.2/includes/nvds_rest_server.h:258
BITRATE
@ BITRATE
Definition: 9.2/includes/nvds_rest_server.h:40
DEST_CROP_UPDATE_SUCCESS
@ DEST_CROP_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:185
NvDsServerConvStatus
NvDsServerConvStatus
Definition: includes/nvds_rest_server.h:183
NvDsServerAppInstanceInfo::status
NvDsServerAppInstanceStatus status
Definition: includes/nvds_rest_server.h:447
NvDsServerRoiInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:336
PROCESS_MODE_UPDATE_FAIL
@ PROCESS_MODE_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:224
NvDsServerStreamStatus
NvDsServerStreamStatus
Definition: 9.2/includes/nvds_rest_server.h:131
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
GET_LIVE_INFO_SUCCESS
@ GET_LIVE_INFO_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:145
NvDsGetRequestInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:363
NvDsServerMuxInfo::mux_log
std::string mux_log
Definition: includes/nvds_rest_server.h:322
NvDsServerImageEmbeddingInfo::has_bbox
gboolean has_bbox
Definition: includes/nvds_rest_server.h:428
INFERSERVER_INTERVAL_UPDATE_FAIL
@ INFERSERVER_INTERVAL_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:212
NvDsServerNvTrackerInfo::nvTracker_log
std::string nvTracker_log
Definition: includes/nvds_rest_server.h:473
MAX_LATENCY_UPDATE_SUCCESS
@ MAX_LATENCY_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:199
NvDsServerConvInfo::interpolation_method
guint interpolation_method
Definition: includes/nvds_rest_server.h:307
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
NvDsServerConvPropFlag
NvDsServerConvPropFlag
Definition: 9.2/includes/nvds_rest_server.h:46
NVTRACKER_CONFIG
@ NVTRACKER_CONFIG
Definition: 9.2/includes/nvds_rest_server.h:72
NvDsServerCallbacks
struct NvDsServerCallbacks NvDsServerCallbacks
NvDsServerRoiInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:329
NvDsGetRequestInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:369
NvDsServerOsdInfo
struct NvDsServerOsdInfo NvDsServerOsdInfo
NvDsServerOsdInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:395
NvDsServerEncStatus
NvDsServerEncStatus
Definition: includes/nvds_rest_server.h:171
nvds_rest_server_start
NvDsRestServer * nvds_rest_server_start(NvDsServerConfig *server_config, NvDsServerCallbacks *server_cb, void *custom_ctx)
NvDsServerNvTrackerInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:474
NvDsServerAnalyticsInfo::uri
std::string uri
Definition: includes/nvds_rest_server.h:406
NvDsServerStreamInfo::metadata_codec
std::string metadata_codec
Definition: includes/nvds_rest_server.h:350
StatusPreconditionFailed
@ StatusPreconditionFailed
Definition: 9.2/includes/nvds_rest_server.h:256
NvDsServerEncInfo::enc_log
std::string enc_log
Definition: includes/nvds_rest_server.h:295
FORCE_INTRA_UPDATE_FAIL
@ FORCE_INTRA_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:178
NvDsServerInferServerInfo
struct NvDsServerInferServerInfo NvDsServerInferServerInfo
NvDsServerInferInfo::interval
guint interval
Definition: includes/nvds_rest_server.h:379
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
NvDsServerAppInstanceInfo::app_log
std::string app_log
Definition: includes/nvds_rest_server.h:449
NvDsServerAnalyticsPropFlag
NvDsServerAnalyticsPropFlag
Definition: 9.2/includes/nvds_rest_server.h:100
NvDsServerImageEmbeddingInfo::status
NvDsServerImageEmbeddingStatus status
Definition: includes/nvds_rest_server.h:436
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
FORCE_INTRA
@ FORCE_INTRA
Definition: 9.2/includes/nvds_rest_server.h:42
NvDsServerImageEmbeddingInfo::id
std::string id
Definition: includes/nvds_rest_server.h:433
INFER_INTERVAL_UPDATE_FAIL
@ INFER_INTERVAL_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:206
GET_METADATA_INFO_SUCCESS
@ GET_METADATA_INFO_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:151
NvDsServerAnalyticsInfo::status
NvDsServerAnalyticsStatus status
Definition: includes/nvds_rest_server.h:403
NvDsServerDecPropFlag
NvDsServerDecPropFlag
Definition: includes/nvds_rest_server.h:31
NvDsServerMuxPropFlag
NvDsServerMuxPropFlag
Definition: includes/nvds_rest_server.h:54
IFRAME_INTERVAL
@ IFRAME_INTERVAL
Definition: 9.2/includes/nvds_rest_server.h:43
GET_STARTUP_INFO
@ GET_STARTUP_INFO
Definition: 9.2/includes/nvds_rest_server.h:90
GET_LIVE_INFO
@ GET_LIVE_INFO
Definition: 9.2/includes/nvds_rest_server.h:89
StatusUnauthorized
@ StatusUnauthorized
Definition: 9.2/includes/nvds_rest_server.h:250
SKIP_FRAMES_UPDATE_FAIL
@ SKIP_FRAMES_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:166
NvDsServerConvInfo
struct NvDsServerConvInfo NvDsServerConvInfo
NvDsServerRoiStatus
NvDsServerRoiStatus
Definition: 9.2/includes/nvds_rest_server.h:155
NvDsServerTextEmbeddingPropFlag
NvDsServerTextEmbeddingPropFlag
Definition: includes/nvds_rest_server.h:105
NvDsServerTextEmbeddingInfo
Definition: includes/nvds_rest_server.h:410
NvDsServerImageEmbeddingInfo::data
Json::Value data
Definition: includes/nvds_rest_server.h:435
RELOAD_CONFIG_UPDATE_SUCCESS
@ RELOAD_CONFIG_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:229
DROP_FRAME_INTERVAL_UPDATE_SUCCESS
@ DROP_FRAME_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:163
NVTRACKER_CONFIG_UPDATE_FAIL
@ NVTRACKER_CONFIG_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:218
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
NvDsServerMuxStatus
NvDsServerMuxStatus
Definition: 9.2/includes/nvds_rest_server.h:195
NvDsServerCallbacks::analytics_cb
std::function< void(NvDsServerAnalyticsInfo *analytics_info, void *ctx) > analytics_cb
Definition: includes/nvds_rest_server.h:512
NvDsServerCallbacks::image_embedding_cb
std::function< void(NvDsServerImageEmbeddingInfo *image_embedding_info, void *ctx) > image_embedding_cb
Definition: includes/nvds_rest_server.h:514
IMAGE_EMBEDDING_GENERATE
@ IMAGE_EMBEDDING_GENERATE
Definition: 9.2/includes/nvds_rest_server.h:112
SRC_CROP_UPDATE_SUCCESS
@ SRC_CROP_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:187
NvDsServerInferInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:384
NvDsServerTextEmbeddingInfo::status
NvDsServerTextEmbeddingStatus status
Definition: includes/nvds_rest_server.h:417
LOW_LATENCY_MODE_UPDATE_FAIL
@ LOW_LATENCY_MODE_UPDATE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:168
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
NvDsServerEncInfo::err_info
NvDsServerErrorInfo err_info
Definition: includes/nvds_rest_server.h:297
NvDsServerImageEmbeddingInfo::created
long created
Definition: includes/nvds_rest_server.h:434
NvDsServerDecStatus
NvDsServerDecStatus
Definition: 9.2/includes/nvds_rest_server.h:161
NvDsServerStreamInfo::key
std::string key
Definition: includes/nvds_rest_server.h:342
NvDsServerRoiInfo
struct NvDsServerRoiInfo NvDsServerRoiInfo
MAX_LATENCY
@ MAX_LATENCY
Definition: 9.2/includes/nvds_rest_server.h:57
NvDsServerConvInfo
Definition: includes/nvds_rest_server.h:300
NvDsServerStreamInfo::value_camera_id
std::string value_camera_id
Definition: includes/nvds_rest_server.h:343
NvDsServerOsdStatus
NvDsServerOsdStatus
Definition: 9.2/includes/nvds_rest_server.h:221
DROP_FRAME_INTERVAL
@ DROP_FRAME_INTERVAL
Definition: 9.2/includes/nvds_rest_server.h:33
NvDsServerTextEmbeddingInfo::created
long created
Definition: includes/nvds_rest_server.h:415
NvDsServerAppInstanceInfo
struct NvDsServerAppInstanceInfo NvDsServerAppInstanceInfo
NvDsServerOsdPropFlag
NvDsServerOsdPropFlag
Definition: 9.2/includes/nvds_rest_server.h:95
NvDsServerAnalyticsInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:401
INFERSERVER_INTERVAL_UPDATE_SUCCESS
@ INFERSERVER_INTERVAL_UPDATE_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:211
NvDsServerImageEmbeddingInfo
Definition: includes/nvds_rest_server.h:424
NvDsServerErrorInfo
struct NvDsServerErrorInfo NvDsServerErrorInfo
NvDsServerStreamInfo::value_change
std::string value_change
Definition: includes/nvds_rest_server.h:346
GET_READY_INFO_SUCCESS
@ GET_READY_INFO_SUCCESS
Definition: 9.2/includes/nvds_rest_server.h:143
NvDsServerMuxInfo::status
NvDsServerMuxStatus status
Definition: includes/nvds_rest_server.h:320
GET_STARTUP_INFO_FAIL
@ GET_STARTUP_INFO_FAIL
Definition: 9.2/includes/nvds_rest_server.h:148
NvDsServerInferServerInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:457
NvDsServerImageEmbeddingInfo::bbox_height
gdouble bbox_height
Definition: includes/nvds_rest_server.h:432
NvDsServerTextEmbeddingInfo::text_embedding_log
std::string text_embedding_log
Definition: includes/nvds_rest_server.h:419
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
NvDsServerStreamInfo::status
NvDsServerStreamStatus status
Definition: includes/nvds_rest_server.h:355
GET_METADATA_INFO
@ GET_METADATA_INFO
Definition: 9.2/includes/nvds_rest_server.h:92
NvDsServerInferInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:378
GET_READY_INFO_FAIL
@ GET_READY_INFO_FAIL
Definition: 9.2/includes/nvds_rest_server.h:144
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
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
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
StatusPayloadTooLarge
@ StatusPayloadTooLarge
Definition: 9.2/includes/nvds_rest_server.h:257
STREAM_REMOVE_FAIL
@ STREAM_REMOVE_FAIL
Definition: 9.2/includes/nvds_rest_server.h:136
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
gst-nvdscustomevent.h
NvDsServerEncStatus
NvDsServerEncStatus
Definition: 9.2/includes/nvds_rest_server.h:171
NvDsServerEncInfo
struct NvDsServerEncInfo NvDsServerEncInfo
NvDsServerStreamInfo
struct NvDsServerStreamInfo NvDsServerStreamInfo
NvDsServerCallbacks::mux_cb
std::function< void(NvDsServerMuxInfo *mux_info, void *ctx) > mux_cb
Definition: includes/nvds_rest_server.h:504
NvDsServerTextEmbeddingStatus
NvDsServerTextEmbeddingStatus
Definition: includes/nvds_rest_server.h:233
SRC_CROP
@ SRC_CROP
Definition: 9.2/includes/nvds_rest_server.h:48
NvDsServerTextEmbeddingStatus
NvDsServerTextEmbeddingStatus
Definition: 9.2/includes/nvds_rest_server.h:233
StatusRequestTimeout
@ StatusRequestTimeout
Definition: 9.2/includes/nvds_rest_server.h:255
NvDsServerAnalyticsPropFlag
NvDsServerAnalyticsPropFlag
Definition: includes/nvds_rest_server.h:100