formant user which runs the
formant-agent process sources
/var/lib/formant/.bashrc before running the agent process. Environment variables can be added to this file to control agent behavior.
Here is a list of user-facing environment variables, their description, their default values. If the default value is empty, nothing occurs unless the environment variable is set to some value.
Restart the agent for changes to take effect
Please make sure to restart the agent (
systemctl restart formant-agentfor native installations) for any changes to environment variables to take effect.
The address of the ROS master to which the Formant ROS Bridge connects.
The path to the root of the catkin workspace. The Formant agent uses this to find custom ROS message definitions.
If the ROS setup files are not in
The file location of the Python interpreter used by the tf2 bridge.
Enables replacement of timestamps on ROS messages with the current time.
The IP address where the Formant Agent will start it's server.
The Unix Socket where the Formant Agent will start it's server.
The port where the Formant Agent will expose the gRPC interface.
The port where the Formant Agent will expose the HTTP interface.
Enables the local port forwarding feature.
The file location of the python3 interpreter used by the ROS bridge and media encoder.
Disables all python subprocesses for the agent. This includes the media encoder, ROS bridge, and ROS TF bridge. Since the media encoder is a python subprocess, disabling python will disable all video and audio encoding.
Disables the automatic collection and ingestion of default telemetry streams specific to Tegra systems. Jetson products (Nano, Xavier, etc.) are Tegra systems.
Disables the automatic collection and ingestion of default telemetry streams, such as CPU, memory, and IP-based location.
Disables the web terminal feature that allows users to run a shell through the agent.
File location of the TLS key
File location of the TLS cert.
Enables debug logs.
Enables the uploading of debug logs when the environment is not production.
Formant provisioning token used to provision an agent.
Name of the Formant Agent, used to override Agent name during provisioning.
Disables system information collection. (Used for NVIDIA containers).
Size in bytes of the terminal buffer.
Enable log info for gstreamer
Enables jetson hardware accelerated encoding of video.
Overrides the bitrate (Kbps) of all agent-encoded video streams.
Sample rate of audio device's signal.
Number of channels of the audio device.
Use anlmdn filter on audio to reduce noise.
Desired bitrate of uploaded audio.
Sample format of the audio device.
Override audio configuration with provided values.
Override video bitrate from configuration.
Assumed framerate of video, if framerate cannot be determined from source.
Target framerate for hardware video streams.
Receive h264 video directly from hardware camera if offered.
Allow Formant to automatically reduce the video bitrate if network degradation is detected.
Bitrate to set video to when low bandwidth mode is enabled.
Enables use of jitter buffer
Decode RTMP stream as FLV (Turn off if RTMP stream isn't working).
Length in ms of RTSP buffer. Increase this to add stability to RTSP video (at cost of latency).
Enable use of Picam on Raspberry Pi or Jetson
Disable Formant agent resizing video.
Protocol for RTSP stream.
Updated 6 months ago