NVIDIA DeepStream SDK API Reference

7.1 Release
deepstream_nmos_config_parser.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
3  * SPDX-License-Identifier: LicenseRef-NvidiaProprietary
4  *
5  * NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
6  * property and proprietary rights in and to this material, related
7  * documentation and any modifications thereto. Any use, reproduction,
8  * disclosure or distribution of this material and related documentation
9  * without an express license agreement from NVIDIA CORPORATION or
10  * its affiliates is strictly prohibited.
11  */
12 
13 #ifndef __DEEPSTREAM_NMOS_CONFIG_PARSER_H__
14 #define __DEEPSTREAM_NMOS_CONFIG_PARSER_H__
15 
16 #include "deepstream_nmos_app.h"
17 
18 #ifdef __cplusplus
19 extern "C"
20 {
21 #endif
22 
23 #define CONFIG_GROUP_APP "application"
24 #define CONFIG_GROUP_APP_SEED "seed"
25 #define CONFIG_GROUP_APP_HOST_NAME "host-name"
26 #define CONFIG_GROUP_APP_HTTP_PORT "http-port"
27 #define CONFIG_GROUP_RECEIVER "receiver"
28 #define CONFIG_GROUP_SENDER "sender"
29 #define CONFIG_GROUP_PGIE "primary-gie"
30 #define CONFIG_GROUP_PGIE_CONFIG_FILE "config-file"
31 #define CONFIG_GROUP_ENABLE "enable"
32 #define CONFIG_GROUP_PLUGIN_TYPE "plugin-type"
33 #define CONFIG_GROUP_TYPE "type"
34 #define CONFIG_GROUP_SDPFILE "sdp-file"
35 #define CONFIG_GROUP_SINK_SDPFILE "sink-sdp-file"
36 #define CONFIG_GROUP_SINK_TYPE "sink-type"
37 #define CONFIG_GROUP_SINK_PAYLOAD_SIZE "payload-size"
38 #define CONFIG_GROUP_SINK_PACKET_PER_LINE "packets-per-line"
39 #define CONFIG_GROUP_SINK_SRT_MODE "srt-mode"
40 #define CONFIG_GROUP_SINK_SRT_LATENCY "srt-latency"
41 #define CONFIG_GROUP_SINK_SRT_PASSPHRASE "srt-passphrase"
42 #define CONFIG_GROUP_SINK_SRT_URI "srt-uri"
43 #define CONFIG_GROUP_SINK_ENCODE_BITRATE "bitrate"
44 #define CONFIG_GROUP_SINK_ENCODE_IFRAMEINTERVAL "iframeinterval"
45 #define CONFIG_GROUP_SINK_ENCODE_CAPSFILTER "encode-caps"
46 #define CONFIG_GROUP_SINK_FLIP_METHOD "flip-method"
47 
48 gboolean parse_config_file (NvDsNmosAppCtx *appCtx, gchar *cfgFilePath);
49 
50 gboolean
51 parse_gie (NvDsNmosAppConfig *appConfig, GKeyFile *keyFile, gchar *group,
52  gchar *cfgFilePath);
53 
54 gboolean
55 parse_app (NvDsNmosAppConfig *appConfig, GKeyFile *keyFile, gchar *group,
56  gchar *cfgFilePath);
57 
58 gboolean
59 parse_sender (NvDsNmosSinkConfig *sinkConfig, GKeyFile *keyFile, gchar *group,
60  gchar *cfgFilePath);
61 
62 gboolean
63 parse_receiver (NvDsNmosSrcConfig *srcConfig, GKeyFile *keyFile, gchar *group,
64  gchar *cfgFilePath);
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 #endif
NvDsNmosAppCtx
Definition: deepstream_nmos_app.h:122
NvDsNmosAppConfig
Definition: deepstream_nmos_app.h:86
NvDsNmosSinkConfig
Definition: deepstream_nmos_app.h:74
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)
parse_gie
gboolean parse_gie(NvDsNmosAppConfig *appConfig, GKeyFile *keyFile, gchar *group, gchar *cfgFilePath)
parse_app
gboolean parse_app(NvDsNmosAppConfig *appConfig, GKeyFile *keyFile, gchar *group, gchar *cfgFilePath)
parse_config_file
gboolean parse_config_file(NvDsNmosAppCtx *appCtx, gchar *cfgFilePath)
NvDsNmosSrcConfig
Definition: deepstream_nmos_app.h:50
deepstream_nmos_app.h