From 71f8061a579580dfe4bf2f90059df51401a611f0 Mon Sep 17 00:00:00 2001 From: Philipp Schafft Date: Sat, 18 May 2024 10:43:48 +0000 Subject: [PATCH] Feature: Report content language of streams to stats.xml --- src/source.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/source.c b/src/source.c index 5e90f5f4..4391fee6 100644 --- a/src/source.c +++ b/src/source.c @@ -1251,6 +1251,10 @@ static void source_apply_mount (ice_config_t *config, source_t *source, mount_pr } stats_event (source->mount, "bitrate", str); + if ((str = httpp_getvar(parser, "content-language"))) { + stats_event(source->mount, "content-language", str); + } + /* handle MIME-type */ if (mountinfo && mountinfo->type) stats_event (source->mount, "server_type", mountinfo->type);