Users may alter behaviors by supplying the "nnstreamer.ini" file or updating environmental variables.

There are three layers of configurations, with higher priority from the top:

Note: in Tizen, you cannot specify the location of nnstreamer.ini with env-var.

For search locations, files in the locations of higher priorities are found first.

For other values, the values configured with higher priorities override those with lower priorities.

Environmental Variables

The intention of these is to override default values of .ini files without the capability/need to update /etc/nnstreamer.ini file in run-time.

However, in many embedded devices, as in Tizen, such capabilities are prohibited for security reasons.


Configuration File (.ini, /etc/nnstreamer.ini by default)

Hardcoded Default Values


Related Code: /gst/nnstreamer/nnstreamer_conf.{c, h}

Updated at 2020-04-07, based on commit 5ed942e6, (NNStreamer 1.5.1)