NVIDIA DeepStream SDK API Reference

6.3 Release
includes/nvds_rest_server.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022-2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: MIT
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in
13  * all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18  * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21  * DEALINGS IN THE SOFTWARE.
22  */
23 
24 #ifndef _NVDS_SERVER_H_
25 #define _NVDS_SERVER_H_
26 
27 #include <string>
28 #include <vector>
29 #include <functional>
30 #include "gst-nvdscustomevent.h"
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  PROCESS_MODE = 1 << 0,
75 
76 typedef enum
77 {
78  ROI_UPDATE = 1 << 0,
80 
81 typedef enum
82 {
83  QUIT_APP = 1 << 0,
85 
86 typedef enum
87 {
91 
92 typedef enum
93 {
99 
100 typedef enum
101 {
104 } NvDsRoiStatus;
105 
106 typedef enum
107 {
114 } NvDsDecStatus;
115 
116 typedef enum
117 {
126 } NvDsEncStatus;
127 
128 typedef enum
129 {
139 
140 typedef enum
141 {
146 } NvDsMuxStatus;
147 
148 typedef enum
149 {
153 
154 typedef enum
155 {
159 
160 typedef enum
161 {
164 } NvDsOsdStatus;
165 
166 typedef struct NvDsDecInfo
167 {
168  std::string root_key;
169  std::string stream_id;
171  guint skip_frames;
175  std::string dec_log;
176 } NvDsDecInfo;
177 
178 typedef struct NvDsEncInfo
179 {
180  std::string root_key;
181  std::string stream_id;
182  guint bitrate;
183  gboolean force_idr;
184  gboolean force_intra;
188  std::string enc_log;
189 } NvDsEncInfo;
190 
191 typedef struct NvDsConvInfo
192 {
193  std::string root_key;
194  std::string stream_id;
195  std::string src_crop;
196  std::string dest_crop;
197  guint flip_method;
201  std::string conv_log;
202 } NvDsConvInfo;
203 
204 typedef struct NvDsMuxInfo
205 {
206  std::string root_key;
208  guint max_latency;
211  std::string mux_log;
212 } NvDsMuxInfo;
213 
214 typedef struct NvDsRoiInfo
215 {
216  std::string root_key;
217  std::string stream_id;
218  guint roi_count;
219  std::vector < RoiDimension > vect;
222  std::string roi_log;
223 } NvDsRoiInfo;
224 
225 typedef struct NvDsStreamInfo
226 {
227  std::string key;
228  std::string value_camera_id;
229  std::string value_camera_name;
230  std::string value_camera_url;
231  std::string value_change;
232 
233  std::string metadata_resolution;
234  std::string metadata_codec;
235  std::string metadata_framerate;
236 
237  std::string headers_source;
238  std::string headers_created_at;
240  std::string stream_log;
242 
243 typedef struct NvDsInferInfo
244 {
245  std::string root_key;
246  std::string stream_id;
247  guint interval;
250  std::string infer_log;
251 } NvDsInferInfo;
252 
253 typedef struct NvDsOsdInfo
254 {
255  std::string root_key;
256  std::string stream_id;
260  std::string osd_log;
261 } NvDsOsdInfo;
262 
263 typedef struct NvDsAppInstanceInfo
264 {
265  std::string root_key;
266  gboolean app_quit;
269  std::string app_log;
271 
272 
273 typedef struct NvDsInferServerInfo
274 {
275  std::string root_key;
276  std::string stream_id;
277  guint interval;
280  std::string inferserver_log;
282 
283 typedef struct NvDsResponseInfo
284 {
285  std::string status;
286  std::string reason;
288 
289 typedef struct NvDsServerConfig
290 {
291  std::string ip;
292  std::string port;
294 
295 typedef struct NvDsServerCallbacks
296 {
297  std::function < void (NvDsRoiInfo * roi_info, void *ctx) > roi_cb;
298  std::function < void (NvDsDecInfo * dec_info, void *ctx) > dec_cb;
299  std::function < void (NvDsEncInfo * enc_info, void *ctx) > enc_cb;
300  std::function < void (NvDsStreamInfo * stream_info, void *ctx) > stream_cb;
301  std::function < void (NvDsInferInfo * infer_info, void *ctx) > infer_cb;
302  std::function < void (NvDsConvInfo * conv_info, void *ctx) > conv_cb;
303  std::function < void (NvDsMuxInfo * mux_info, void *ctx) > mux_cb;
304  std::function < void (NvDsInferServerInfo * inferserver_info,
305  void *ctx) > inferserver_cb;
306  std::function < void (NvDsOsdInfo * osd_info, void *ctx) > osd_cb;
307  std::function < void (NvDsAppInstanceInfo * appinstance_info,
308  void *ctx) > appinstance_cb;
310 class NvDsRestServer;
311 NvDsRestServer *nvds_rest_server_start (NvDsServerConfig * server_config,
312  NvDsServerCallbacks * server_cb);
313 void nvds_rest_server_stop (NvDsRestServer * ctx);
314 
315 #endif
NvDsStreamInfo::metadata_resolution
std::string metadata_resolution
Definition: includes/nvds_rest_server.h:233
NvDsOsdInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:256
NvDsStreamInfo::headers_source
std::string headers_source
Definition: includes/nvds_rest_server.h:237
NvDsConvInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:194
NvDsRoiInfo::roi_log
std::string roi_log
Definition: includes/nvds_rest_server.h:222
NvDsStreamInfo::metadata_codec
std::string metadata_codec
Definition: includes/nvds_rest_server.h:234
STREAM_ADD_FAIL
@ STREAM_ADD_FAIL
Definition: includes/nvds_rest_server.h:95
DEST_CROP_UPDATE_SUCCESS
@ DEST_CROP_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:130
NvDsEncInfo::enc_log
std::string enc_log
Definition: includes/nvds_rest_server.h:188
NvDsConvInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:193
NvDsInferInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:246
NvDsConvInfo::dest_crop
std::string dest_crop
Definition: includes/nvds_rest_server.h:196
NvDsInferInfo
Definition: includes/nvds_rest_server.h:243
NvDsOsdInfo::process_mode
guint process_mode
Definition: includes/nvds_rest_server.h:257
NvDsEncInfo::enc_flag
NvDsEncPropFlag enc_flag
Definition: includes/nvds_rest_server.h:187
NvDsResponseInfo
Definition: includes/nvds_rest_server.h:283
NvDsInferServerInfo::inferserver_flag
NvDsInferServerPropFlag inferserver_flag
Definition: includes/nvds_rest_server.h:279
SKIP_FRAMES_UPDATE_SUCCESS
@ SKIP_FRAMES_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:110
NvDsRoiPropFlag
NvDsRoiPropFlag
Definition: includes/nvds_rest_server.h:76
NvDsInferStatus
NvDsInferStatus
Definition: includes/nvds_rest_server.h:148
NvDsMuxInfo::max_latency
guint max_latency
Definition: includes/nvds_rest_server.h:208
NvDsInferServerInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:276
NvDsServerCallbacks::enc_cb
std::function< void(NvDsEncInfo *enc_info, void *ctx) > enc_cb
Definition: includes/nvds_rest_server.h:299
gst-nvdscustomevent.h
NvDsDecPropFlag
NvDsDecPropFlag
Definition: includes/nvds_rest_server.h:32
NvDsStreamInfo::value_camera_name
std::string value_camera_name
Definition: includes/nvds_rest_server.h:229
IFRAME_INTERVAL
@ IFRAME_INTERVAL
Definition: includes/nvds_rest_server.h:44
NvDsEncInfo::bitrate
guint bitrate
Definition: includes/nvds_rest_server.h:182
NvDsInferServerInfo
Definition: includes/nvds_rest_server.h:273
PROCESS_MODE_UPDATE_FAIL
@ PROCESS_MODE_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:163
NvDsDecInfo
Definition: includes/nvds_rest_server.h:166
NvDsDecInfo::dec_flag
NvDsDecPropFlag dec_flag
Definition: includes/nvds_rest_server.h:174
NvDsMuxPropFlag
NvDsMuxPropFlag
Definition: includes/nvds_rest_server.h:55
NvDsServerConfig::ip
std::string ip
Definition: includes/nvds_rest_server.h:291
FORCE_INTRA
@ FORCE_INTRA
Definition: includes/nvds_rest_server.h:43
FORCE_IDR_UPDATE_FAIL
@ FORCE_IDR_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:121
NvDsServerCallbacks::stream_cb
std::function< void(NvDsStreamInfo *stream_info, void *ctx) > stream_cb
Definition: includes/nvds_rest_server.h:300
NvDsMuxInfo::status
NvDsMuxStatus status
Definition: includes/nvds_rest_server.h:209
NvDsConvPropFlag
NvDsConvPropFlag
Definition: includes/nvds_rest_server.h:47
NvDsDecInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:169
BITRATE
@ BITRATE
Definition: includes/nvds_rest_server.h:41
STREAM_REMOVE_FAIL
@ STREAM_REMOVE_FAIL
Definition: includes/nvds_rest_server.h:97
NvDsConvInfo::interpolation_method
guint interpolation_method
Definition: includes/nvds_rest_server.h:198
INFER_INTERVAL
@ INFER_INTERVAL
Definition: includes/nvds_rest_server.h:63
NvDsMuxInfo::mux_log
std::string mux_log
Definition: includes/nvds_rest_server.h:211
NvDsConvInfo
struct NvDsConvInfo NvDsConvInfo
INTERPOLATION_METHOD_UPDATE_FAIL
@ INTERPOLATION_METHOD_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:135
NvDsMuxInfo
struct NvDsMuxInfo NvDsMuxInfo
MAX_LATENCY
@ MAX_LATENCY
Definition: includes/nvds_rest_server.h:58
FORCE_IDR_UPDATE_SUCCESS
@ FORCE_IDR_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:120
NvDsConvInfo::src_crop
std::string src_crop
Definition: includes/nvds_rest_server.h:195
FLIP_METHOD_UPDATE_SUCCESS
@ FLIP_METHOD_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:136
NvDsStreamInfo::key
std::string key
Definition: includes/nvds_rest_server.h:227
NvDsStreamInfo
struct NvDsStreamInfo NvDsStreamInfo
IFRAME_INTERVAL_UPDATE_FAIL
@ IFRAME_INTERVAL_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:125
NvDsAppInstanceStatus
NvDsAppInstanceStatus
Definition: includes/nvds_rest_server.h:86
nvds_rest_server_stop
void nvds_rest_server_stop(NvDsRestServer *ctx)
FORCE_INTRA_UPDATE_FAIL
@ FORCE_INTRA_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:123
NvDsServerCallbacks
Definition: includes/nvds_rest_server.h:295
NvDsEncInfo
struct NvDsEncInfo NvDsEncInfo
NvDsServerConfig::port
std::string port
Definition: includes/nvds_rest_server.h:292
NvDsConvStatus
NvDsConvStatus
Definition: includes/nvds_rest_server.h:128
NvDsDecInfo
struct NvDsDecInfo NvDsDecInfo
SRC_CROP_UPDATE_FAIL
@ SRC_CROP_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:133
NvDsStreamInfo
Definition: includes/nvds_rest_server.h:225
NvDsAppInstanceFlag
NvDsAppInstanceFlag
Definition: includes/nvds_rest_server.h:81
NvDsEncInfo::iframeinterval
guint iframeinterval
Definition: includes/nvds_rest_server.h:185
NvDsServerCallbacks::roi_cb
std::function< void(NvDsRoiInfo *roi_info, void *ctx) > roi_cb
Definition: includes/nvds_rest_server.h:297
NvDsStreamInfo::metadata_framerate
std::string metadata_framerate
Definition: includes/nvds_rest_server.h:235
NvDsRoiInfo::vect
std::vector< RoiDimension > vect
Definition: includes/nvds_rest_server.h:219
FORCE_IDR
@ FORCE_IDR
Definition: includes/nvds_rest_server.h:42
DEST_CROP
@ DEST_CROP
Definition: includes/nvds_rest_server.h:50
INFERSERVER_INTERVAL_UPDATE_FAIL
@ INFERSERVER_INTERVAL_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:157
NvDsServerCallbacks::osd_cb
std::function< void(NvDsOsdInfo *osd_info, void *ctx) > osd_cb
Definition: includes/nvds_rest_server.h:306
NvDsRoiInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:217
NvDsAppInstanceInfo::appinstance_flag
NvDsAppInstanceFlag appinstance_flag
Definition: includes/nvds_rest_server.h:268
NvDsDecInfo::drop_frame_interval
guint drop_frame_interval
Definition: includes/nvds_rest_server.h:170
NvDsStreamInfo::value_camera_url
std::string value_camera_url
Definition: includes/nvds_rest_server.h:230
NvDsOsdInfo
Definition: includes/nvds_rest_server.h:253
NvDsOsdPropFlag
NvDsOsdPropFlag
Definition: includes/nvds_rest_server.h:71
QUIT_SUCCESS
@ QUIT_SUCCESS
Definition: includes/nvds_rest_server.h:88
NvDsConvInfo::flip_method
guint flip_method
Definition: includes/nvds_rest_server.h:197
NvDsInferServerStatus
NvDsInferServerStatus
Definition: includes/nvds_rest_server.h:154
NvDsInferInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:245
NvDsServerConfig
struct NvDsServerConfig NvDsServerConfig
NvDsInferInfo::infer_flag
NvDsInferPropFlag infer_flag
Definition: includes/nvds_rest_server.h:249
NvDsAppInstanceInfo
struct NvDsAppInstanceInfo NvDsAppInstanceInfo
NvDsMuxInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:206
ROI_UPDATE_SUCCESS
@ ROI_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:102
NvDsOsdStatus
NvDsOsdStatus
Definition: includes/nvds_rest_server.h:160
NvDsServerConfig
Definition: includes/nvds_rest_server.h:289
INTERPOLATION_METHOD
@ INTERPOLATION_METHOD
Definition: includes/nvds_rest_server.h:52
NvDsServerCallbacks::inferserver_cb
std::function< void(NvDsInferServerInfo *inferserver_info, void *ctx) > inferserver_cb
Definition: includes/nvds_rest_server.h:305
NvDsResponseInfo
struct NvDsResponseInfo NvDsResponseInfo
NvDsAppInstanceInfo::status
NvDsAppInstanceStatus status
Definition: includes/nvds_rest_server.h:267
ROI_UPDATE_FAIL
@ ROI_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:103
DEST_CROP_UPDATE_FAIL
@ DEST_CROP_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:131
NvDsDecInfo::status
NvDsDecStatus status
Definition: includes/nvds_rest_server.h:173
DROP_FRAME_INTERVAL_UPDATE_SUCCESS
@ DROP_FRAME_INTERVAL_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:108
NvDsServerCallbacks::dec_cb
std::function< void(NvDsDecInfo *dec_info, void *ctx) > dec_cb
Definition: includes/nvds_rest_server.h:298
NvDsOsdInfo::osd_log
std::string osd_log
Definition: includes/nvds_rest_server.h:260
NvDsResponseInfo::reason
std::string reason
Definition: includes/nvds_rest_server.h:286
NvDsDecStatus
NvDsDecStatus
Definition: includes/nvds_rest_server.h:106
NvDsRoiInfo::roi_flag
NvDsRoiPropFlag roi_flag
Definition: includes/nvds_rest_server.h:221
NvDsMuxStatus
NvDsMuxStatus
Definition: includes/nvds_rest_server.h:140
NvDsOsdInfo
struct NvDsOsdInfo NvDsOsdInfo
DROP_FRAME_INTERVAL_UPDATE_FAIL
@ DROP_FRAME_INTERVAL_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:109
PROCESS_MODE_UPDATE_SUCCESS
@ PROCESS_MODE_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:162
NvDsStreamInfo::value_camera_id
std::string value_camera_id
Definition: includes/nvds_rest_server.h:228
STREAM_ADD_SUCCESS
@ STREAM_ADD_SUCCESS
Definition: includes/nvds_rest_server.h:94
NvDsRoiInfo
Definition: includes/nvds_rest_server.h:214
MAX_LATENCY_UPDATE_FAIL
@ MAX_LATENCY_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:145
NvDsConvInfo::conv_flag
NvDsConvPropFlag conv_flag
Definition: includes/nvds_rest_server.h:200
NvDsConvInfo
Definition: includes/nvds_rest_server.h:191
NvDsAppInstanceInfo::app_quit
gboolean app_quit
Definition: includes/nvds_rest_server.h:266
NvDsStreamInfo::status
NvDsStreamStatus status
Definition: includes/nvds_rest_server.h:239
NvDsServerCallbacks::mux_cb
std::function< void(NvDsMuxInfo *mux_info, void *ctx) > mux_cb
Definition: includes/nvds_rest_server.h:303
NvDsInferInfo
struct NvDsInferInfo NvDsInferInfo
QUIT_APP
@ QUIT_APP
Definition: includes/nvds_rest_server.h:83
ROI_UPDATE
@ ROI_UPDATE
Definition: includes/nvds_rest_server.h:78
NvDsInferServerInfo::inferserver_log
std::string inferserver_log
Definition: includes/nvds_rest_server.h:280
NvDsEncInfo::force_intra
gboolean force_intra
Definition: includes/nvds_rest_server.h:184
NvDsRoiInfo
struct NvDsRoiInfo NvDsRoiInfo
NvDsServerCallbacks::appinstance_cb
std::function< void(NvDsAppInstanceInfo *appinstance_info, void *ctx) > appinstance_cb
Definition: includes/nvds_rest_server.h:308
NvDsServerCallbacks::conv_cb
std::function< void(NvDsConvInfo *conv_info, void *ctx) > conv_cb
Definition: includes/nvds_rest_server.h:302
LOW_LATENCY_MODE_UPDATE_SUCCESS
@ LOW_LATENCY_MODE_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:112
FORCE_INTRA_UPDATE_SUCCESS
@ FORCE_INTRA_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:122
INTERPOLATION_METHOD_UPDATE_SUCCESS
@ INTERPOLATION_METHOD_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:134
FLIP_METHOD_UPDATE_FAIL
@ FLIP_METHOD_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:137
INFERSERVER_INTERVAL_UPDATE_SUCCESS
@ INFERSERVER_INTERVAL_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:156
BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
@ BATCHED_PUSH_TIMEOUT_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:143
NvDsDecInfo::dec_log
std::string dec_log
Definition: includes/nvds_rest_server.h:175
STREAM_REMOVE_SUCCESS
@ STREAM_REMOVE_SUCCESS
Definition: includes/nvds_rest_server.h:96
NvDsInferInfo::status
NvDsInferStatus status
Definition: includes/nvds_rest_server.h:248
nvds_rest_server_start
NvDsRestServer * nvds_rest_server_start(NvDsServerConfig *server_config, NvDsServerCallbacks *server_cb)
SRC_CROP
@ SRC_CROP
Definition: includes/nvds_rest_server.h:49
NvDsAppInstanceInfo
Definition: includes/nvds_rest_server.h:263
BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
@ BATCHED_PUSH_TIMEOUT_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:142
FLIP_METHOD
@ FLIP_METHOD
Definition: includes/nvds_rest_server.h:51
NvDsDecInfo::skip_frames
guint skip_frames
Definition: includes/nvds_rest_server.h:171
NvDsConvInfo::conv_log
std::string conv_log
Definition: includes/nvds_rest_server.h:201
NvDsResponseInfo::status
std::string status
Definition: includes/nvds_rest_server.h:285
SKIP_FRAMES
@ SKIP_FRAMES
Definition: includes/nvds_rest_server.h:35
NvDsMuxInfo
Definition: includes/nvds_rest_server.h:204
NvDsAppInstanceInfo::app_log
std::string app_log
Definition: includes/nvds_rest_server.h:269
NvDsMuxInfo::mux_flag
NvDsMuxPropFlag mux_flag
Definition: includes/nvds_rest_server.h:210
NvDsInferInfo::interval
guint interval
Definition: includes/nvds_rest_server.h:247
NvDsStreamInfo::stream_log
std::string stream_log
Definition: includes/nvds_rest_server.h:240
NvDsRoiStatus
NvDsRoiStatus
Definition: includes/nvds_rest_server.h:100
NvDsEncInfo
Definition: includes/nvds_rest_server.h:178
NvDsRoiInfo::roi_count
guint roi_count
Definition: includes/nvds_rest_server.h:218
INFER_INTERVAL_UPDATE_SUCCESS
@ INFER_INTERVAL_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:150
NvDsStreamInfo::value_change
std::string value_change
Definition: includes/nvds_rest_server.h:231
NvDsOsdInfo::osd_flag
NvDsOsdPropFlag osd_flag
Definition: includes/nvds_rest_server.h:259
NvDsInferServerInfo::status
NvDsInferServerStatus status
Definition: includes/nvds_rest_server.h:278
BATCHED_PUSH_TIMEOUT
@ BATCHED_PUSH_TIMEOUT
Definition: includes/nvds_rest_server.h:57
NvDsInferServerInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:275
NvDsInferServerInfo::interval
guint interval
Definition: includes/nvds_rest_server.h:277
NvDsInferServerPropFlag
NvDsInferServerPropFlag
Definition: includes/nvds_rest_server.h:66
MAX_LATENCY_UPDATE_SUCCESS
@ MAX_LATENCY_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:144
NvDsEncInfo::status
NvDsEncStatus status
Definition: includes/nvds_rest_server.h:186
NvDsInferServerInfo
struct NvDsInferServerInfo NvDsInferServerInfo
NvDsDecInfo::low_latency_mode
gboolean low_latency_mode
Definition: includes/nvds_rest_server.h:172
NvDsServerCallbacks::infer_cb
std::function< void(NvDsInferInfo *infer_info, void *ctx) > infer_cb
Definition: includes/nvds_rest_server.h:301
NvDsInferInfo::infer_log
std::string infer_log
Definition: includes/nvds_rest_server.h:250
NvDsRoiInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:216
DROP_FRAME_INTERVAL
@ DROP_FRAME_INTERVAL
Definition: includes/nvds_rest_server.h:34
NvDsOsdInfo::status
NvDsOsdStatus status
Definition: includes/nvds_rest_server.h:258
LOW_LATENCY_MODE_UPDATE_FAIL
@ LOW_LATENCY_MODE_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:113
LOW_LATENCY_MODE
@ LOW_LATENCY_MODE
Definition: includes/nvds_rest_server.h:36
NvDsMuxInfo::batched_push_timeout
gint batched_push_timeout
Definition: includes/nvds_rest_server.h:207
NvDsConvInfo::status
NvDsConvStatus status
Definition: includes/nvds_rest_server.h:199
IFRAME_INTERVAL_UPDATE_SUCCESS
@ IFRAME_INTERVAL_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:124
INFERSERVER_INTERVAL
@ INFERSERVER_INTERVAL
Definition: includes/nvds_rest_server.h:68
NvDsRoiInfo::status
NvDsRoiStatus status
Definition: includes/nvds_rest_server.h:220
NvDsStreamInfo::headers_created_at
std::string headers_created_at
Definition: includes/nvds_rest_server.h:238
SRC_CROP_UPDATE_SUCCESS
@ SRC_CROP_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:132
NvDsEncInfo::stream_id
std::string stream_id
Definition: includes/nvds_rest_server.h:181
NvDsInferPropFlag
NvDsInferPropFlag
Definition: includes/nvds_rest_server.h:61
NvDsOsdInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:255
NvDsDecInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:168
QUIT_FAIL
@ QUIT_FAIL
Definition: includes/nvds_rest_server.h:89
SKIP_FRAMES_UPDATE_FAIL
@ SKIP_FRAMES_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:111
NvDsServerCallbacks
struct NvDsServerCallbacks NvDsServerCallbacks
BITRATE_UPDATE_SUCCESS
@ BITRATE_UPDATE_SUCCESS
Definition: includes/nvds_rest_server.h:118
NvDsEncStatus
NvDsEncStatus
Definition: includes/nvds_rest_server.h:116
NvDsEncInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:180
INFER_INTERVAL_UPDATE_FAIL
@ INFER_INTERVAL_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:151
NvDsEncPropFlag
NvDsEncPropFlag
Definition: includes/nvds_rest_server.h:39
BITRATE_UPDATE_FAIL
@ BITRATE_UPDATE_FAIL
Definition: includes/nvds_rest_server.h:119
NvDsEncInfo::force_idr
gboolean force_idr
Definition: includes/nvds_rest_server.h:183
PROCESS_MODE
@ PROCESS_MODE
Definition: includes/nvds_rest_server.h:73
NvDsAppInstanceInfo::root_key
std::string root_key
Definition: includes/nvds_rest_server.h:265
NvDsStreamStatus
NvDsStreamStatus
Definition: includes/nvds_rest_server.h:92