NVIDIA DeepStream SDK API Reference

7.0 Release
deepstream_nmos_config_parser.h File Reference

Go to the source code of this file.

Macros

#define CONFIG_GROUP_APP   "application"
 
#define CONFIG_GROUP_APP_SEED   "seed"
 
#define CONFIG_GROUP_APP_HOST_NAME   "host-name"
 
#define CONFIG_GROUP_APP_HTTP_PORT   "http-port"
 
#define CONFIG_GROUP_RECEIVER   "receiver"
 
#define CONFIG_GROUP_SENDER   "sender"
 
#define CONFIG_GROUP_PGIE   "primary-gie"
 
#define CONFIG_GROUP_PGIE_CONFIG_FILE   "config-file"
 
#define CONFIG_GROUP_ENABLE   "enable"
 
#define CONFIG_GROUP_PLUGIN_TYPE   "plugin-type"
 
#define CONFIG_GROUP_TYPE   "type"
 
#define CONFIG_GROUP_SDPFILE   "sdp-file"
 
#define CONFIG_GROUP_SINK_SDPFILE   "sink-sdp-file"
 
#define CONFIG_GROUP_SINK_TYPE   "sink-type"
 
#define CONFIG_GROUP_SINK_PAYLOAD_SIZE   "payload-size"
 
#define CONFIG_GROUP_SINK_PACKET_PER_LINE   "packets-per-line"
 
#define CONFIG_GROUP_SINK_SRT_MODE   "srt-mode"
 
#define CONFIG_GROUP_SINK_SRT_LATENCY   "srt-latency"
 
#define CONFIG_GROUP_SINK_SRT_PASSPHRASE   "srt-passphrase"
 
#define CONFIG_GROUP_SINK_SRT_URI   "srt-uri"
 
#define CONFIG_GROUP_SINK_ENCODE_BITRATE   "bitrate"
 
#define CONFIG_GROUP_SINK_ENCODE_IFRAMEINTERVAL   "iframeinterval"
 
#define CONFIG_GROUP_SINK_ENCODE_CAPSFILTER   "encode-caps"
 
#define CONFIG_GROUP_SINK_FLIP_METHOD   "flip-method"
 

Functions

gboolean parse_config_file (NvDsNmosAppCtx *appCtx, gchar *cfgFilePath)
 
gboolean parse_gie (NvDsNmosAppConfig *appConfig, GKeyFile *keyFile, gchar *group, gchar *cfgFilePath)
 
gboolean parse_app (NvDsNmosAppConfig *appConfig, GKeyFile *keyFile, gchar *group, gchar *cfgFilePath)
 
gboolean parse_sender (NvDsNmosSinkConfig *sinkConfig, GKeyFile *keyFile, gchar *group, gchar *cfgFilePath)
 
gboolean parse_receiver (NvDsNmosSrcConfig *srcConfig, GKeyFile *keyFile, gchar *group, gchar *cfgFilePath)
 

Macro Definition Documentation

◆ CONFIG_GROUP_APP

#define CONFIG_GROUP_APP   "application"

Definition at line 23 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_APP_HOST_NAME

#define CONFIG_GROUP_APP_HOST_NAME   "host-name"

Definition at line 25 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_APP_HTTP_PORT

#define CONFIG_GROUP_APP_HTTP_PORT   "http-port"

Definition at line 26 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_APP_SEED

#define CONFIG_GROUP_APP_SEED   "seed"

Definition at line 24 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_ENABLE

#define CONFIG_GROUP_ENABLE   "enable"

Definition at line 31 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_PGIE

#define CONFIG_GROUP_PGIE   "primary-gie"

Definition at line 29 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_PGIE_CONFIG_FILE

#define CONFIG_GROUP_PGIE_CONFIG_FILE   "config-file"

Definition at line 30 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_PLUGIN_TYPE

#define CONFIG_GROUP_PLUGIN_TYPE   "plugin-type"

Definition at line 32 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_RECEIVER

#define CONFIG_GROUP_RECEIVER   "receiver"

Definition at line 27 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SDPFILE

#define CONFIG_GROUP_SDPFILE   "sdp-file"

Definition at line 34 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SENDER

#define CONFIG_GROUP_SENDER   "sender"

Definition at line 28 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_ENCODE_BITRATE

#define CONFIG_GROUP_SINK_ENCODE_BITRATE   "bitrate"

Definition at line 43 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_ENCODE_CAPSFILTER

#define CONFIG_GROUP_SINK_ENCODE_CAPSFILTER   "encode-caps"

Definition at line 45 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_ENCODE_IFRAMEINTERVAL

#define CONFIG_GROUP_SINK_ENCODE_IFRAMEINTERVAL   "iframeinterval"

Definition at line 44 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_FLIP_METHOD

#define CONFIG_GROUP_SINK_FLIP_METHOD   "flip-method"

Definition at line 46 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_PACKET_PER_LINE

#define CONFIG_GROUP_SINK_PACKET_PER_LINE   "packets-per-line"

Definition at line 38 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_PAYLOAD_SIZE

#define CONFIG_GROUP_SINK_PAYLOAD_SIZE   "payload-size"

Definition at line 37 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_SDPFILE

#define CONFIG_GROUP_SINK_SDPFILE   "sink-sdp-file"

Definition at line 35 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_SRT_LATENCY

#define CONFIG_GROUP_SINK_SRT_LATENCY   "srt-latency"

Definition at line 40 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_SRT_MODE

#define CONFIG_GROUP_SINK_SRT_MODE   "srt-mode"

Definition at line 39 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_SRT_PASSPHRASE

#define CONFIG_GROUP_SINK_SRT_PASSPHRASE   "srt-passphrase"

Definition at line 41 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_SRT_URI

#define CONFIG_GROUP_SINK_SRT_URI   "srt-uri"

Definition at line 42 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_SINK_TYPE

#define CONFIG_GROUP_SINK_TYPE   "sink-type"

Definition at line 36 of file deepstream_nmos_config_parser.h.

◆ CONFIG_GROUP_TYPE

#define CONFIG_GROUP_TYPE   "type"

Definition at line 33 of file deepstream_nmos_config_parser.h.

Function Documentation

◆ parse_app()

gboolean parse_app ( NvDsNmosAppConfig appConfig,
GKeyFile *  keyFile,
gchar *  group,
gchar *  cfgFilePath 
)

◆ parse_config_file()

gboolean parse_config_file ( NvDsNmosAppCtx appCtx,
gchar *  cfgFilePath 
)

◆ parse_gie()

gboolean parse_gie ( NvDsNmosAppConfig appConfig,
GKeyFile *  keyFile,
gchar *  group,
gchar *  cfgFilePath 
)

◆ parse_receiver()

gboolean parse_receiver ( NvDsNmosSrcConfig srcConfig,
GKeyFile *  keyFile,
gchar *  group,
gchar *  cfgFilePath 
)

◆ parse_sender()

gboolean parse_sender ( NvDsNmosSinkConfig sinkConfig,
GKeyFile *  keyFile,
gchar *  group,
gchar *  cfgFilePath 
)