janus: changed env prefix

This commit is contained in:
Maxim Devaev 2025-02-24 17:16:24 +02:00
parent 83127e58ff
commit 71544880d1

View File

@ -670,8 +670,8 @@ static struct janus_plugin_result *_plugin_handle_message(
}
} else if (!strcmp(request_str, "features")) {
const char *const stun_host = getenv("JANUS_USTREAMER_STUN_HOST");
const char *const stun_port = getenv("JANUS_USTREAMER_STUN_PORT");
const char *const stun_host = getenv("JANUS_USTREAMER_WEB_STUN_HOST");
const char *const stun_port = getenv("JANUS_USTREAMER_WEB_STUN_PORT");
json_t *const features = json_pack(
"{s:b, s:b, s:{s:s, s:i}}",
"audio", (_g_rtpa != NULL),