GenvidStatus Genvid_GetParameterInt(const char *streamID, const char *paramKey, int *paramValue)

For the specified streamID, retrieves the integer value of a stream parameter named paramKey and stores it at the address pointed to by paramValue.

To get a key value from Consul, streamID must be written as genvid.kv. paramKey is used as the key value name and paramValue as the container to receive the key value content.

Returns one of the following values:

GenvidStatus_UninitializedSDK: The Genvid library was not initialized before calling it.

GenvidStatus_InvalidState: The streamID was not found.

GenvidStatus_InvalidParameter: One of the parameters is invalid.

See the Engine configuration section for more details within the subsection Common Parameters for each parameter available.