1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00

When relaying MP3 we reported the source metainterval as well as our own,

causing stuttering in some clients. Thank goodness icecast uses an
odd metainterval, or this bug would never have been discoverd :)

svn path=/trunk/icecast/; revision=5044
This commit is contained in:
brendan 2003-07-03 01:36:06 +00:00
parent f6efb106de
commit 205d225b73

View File

@ -108,6 +108,7 @@ void format_send_general_headers(format_plugin_t *format,
while (node) { while (node) {
var = (http_var_t *)node->key; var = (http_var_t *)node->key;
if (strcasecmp(var->name, "ice-password") && if (strcasecmp(var->name, "ice-password") &&
strcasecmp(var->name, "icy-metaint") &&
(!strncasecmp("ice-", var->name, 4) || (!strncasecmp("ice-", var->name, 4) ||
!strncasecmp("icy-", var->name, 4))) { !strncasecmp("icy-", var->name, 4))) {
bytes = sock_write(client->con->sock, bytes = sock_write(client->con->sock,