From e06dfc9e67bad690de5312c116a52adeb180d821 Mon Sep 17 00:00:00 2001 From: Tristan Matthews Date: Sun, 29 Sep 2024 08:14:06 -0400 Subject: [PATCH] audiobridge: fix warnings without libogg --- src/plugins/janus_audiobridge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/janus_audiobridge.c b/src/plugins/janus_audiobridge.c index 807635aa9d2..58127779bc3 100644 --- a/src/plugins/janus_audiobridge.c +++ b/src/plugins/janus_audiobridge.c @@ -1412,6 +1412,7 @@ static struct janus_json_parameter rtp_forward_parameters[] = { static struct janus_json_parameter stop_rtp_forward_parameters[] = { {"stream_id", JSON_INTEGER, JANUS_JSON_PARAM_REQUIRED | JANUS_JSON_PARAM_POSITIVE} }; +#ifdef HAVE_LIBOGG static struct janus_json_parameter play_file_parameters[] = { {"filename", JSON_STRING, JANUS_JSON_PARAM_REQUIRED}, {"file_id", JSON_STRING, 0}, @@ -1421,6 +1422,7 @@ static struct janus_json_parameter play_file_parameters[] = { static struct janus_json_parameter checkstop_file_parameters[] = { {"file_id", JSON_STRING, JANUS_JSON_PARAM_REQUIRED} }; +#endif static struct janus_json_parameter suspend_parameters[] = { {"pause_events", JANUS_JSON_BOOL, 0}, {"stop_record", JANUS_JSON_BOOL, 0},