NVIDIA DeepStream SDK API Reference

6.4 Release
server_appctx DeepStream Yaml Parser API

Detailed Description

Defines an API for the GStreamer REST Application Server context.

Data Structures

struct  AppCtx
 REST server application context. More...
 

Functions

NvDsYamlParserStatus nvds_parse_server_appctx (gchar *cfg_file_path, const char *group, AppCtx *appctx)
 Set AppCtx from values specified in a YAML configuration file. More...
 
NvDsYamlParserStatus nvds_parse_check_rest_server_with_app (gchar *cfg_file_path, const char *group, gboolean *within_multiurisrcbin)
 Set "within_multiurisrcbin" varible from values specified in a YAML configuration file. More...
 

Function Documentation

◆ nvds_parse_check_rest_server_with_app()

NvDsYamlParserStatus nvds_parse_check_rest_server_with_app ( gchar *  cfg_file_path,
const char *  group,
gboolean *  within_multiurisrcbin 
)

Set "within_multiurisrcbin" varible from values specified in a YAML configuration file.

Parameters
[in]cfg_file_pathThe YAML config file used by an application.
[in]groupGroup in the YAML config file to be parsed and application context values to be updated.
[in]within_multiurisrcbinThe boolean variable updated as per the parameter key(s) values defined in the group. If True, nvds_rest_server library is to be used directly.
Returns
Yaml parsing status for the API call.

◆ nvds_parse_server_appctx()

NvDsYamlParserStatus nvds_parse_server_appctx ( gchar *  cfg_file_path,
const char *  group,
AppCtx appctx 
)

Set AppCtx from values specified in a YAML configuration file.

Parameters
[in]cfg_file_pathThe YAML config file used by an application.
[in]groupGroup in the YAML config file to be parsed and application context values to be updated.
[in]appctxThe context which gets updated as per the parameter key(s) values defined in the group
Returns
Yaml parsing status for the API call.