diff --git a/plugins/rtmp-services/rtmp-common.c b/plugins/rtmp-services/rtmp-common.c index ded8676d5349e4..22de2242257b8b 100644 --- a/plugins/rtmp-services/rtmp-common.c +++ b/plugins/rtmp-services/rtmp-common.c @@ -36,6 +36,8 @@ static void ensure_valid_url(struct rtmp_common *service, json_t *json, if (!service->server || !servers || !json_is_array(servers)) return; + if (astrcmpi(service->server, "auto") == 0) + return; json_array_foreach (servers, index, server) { const char *url = get_string_val(server, "url");