mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Feature: Report content language of streams to stats.xml
This commit is contained in:
parent
32b176974f
commit
71f8061a57
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user