Setting runtime depth frame rate not successful
<p>I am trying to set the runtime depth frame rate but it is not successful. No error is returned but the depth frame rate keeps unchanged. I used the following code the set the depth frame rate.</p>

<pre><code>TangoErrorType SetRuntimeDepthFrameRate(uint32_t frameRate)
{
    TangoConfig runtimeConfig = TangoService_getConfig(TANGO_CONFIG_RUNTIME);
    if (runtimeConfig == nullptr) {
        LOGE("failed to get runtime config");
        return TANGO_ERROR;
    }
    TangoErrorType err = TangoConfig_setInt32(runtimeConfig, "config_runtime_depth_framerate", frameRate);
    if (err != TANGO_SUCCESS) {
        LOGE("failed to set runtime depth framerate to %d", frameRate);
        return err;
    }
    err = TangoService_setRuntimeConfig(runtimeConfig);
    if (err != TANGO_SUCCESS)
        LOGE("ailed to set runtime config");

    LOGI("the runtime depth framerate is set to %d", GetRuntimeDepthFrameRate());

    return err;
}
</code></pre>

<p>I used the following code the query the runtime depth frame rate.</p>

<pre><code>    int GetRuntimeDepthFrameRate() const {
    TangoConfig runtimeConfig = TangoService_getConfig(TANGO_CONFIG_RUNTIME);
    if (runtimeConfig == nullptr) {
        LOGE("failed to get runtime config");
        return -1;
    }
    int32_t depthFrameRate;
    TangoErrorType err = TangoConfig_getInt32(runtimeConfig, "config_runtime_depth_framerate", &amp;depthFrameRate);
    if (err != TANGO_SUCCESS) {
        LOGE("failed to get runtime depth framerate");
        return -1;
    }
    return depthFrameRate;
}
</code></pre>

<p>The runtime depth frame rate is never changed, it is always 5. My program keeps calling the depth callbacks when I try to set the depth rate to 0 which means the rate is not set successfully.</p>

<p>Is there anything wrong with what I am doing? 
Thank you for any answers in advance.</p>