search for: format_type_mp3

Displaying 6 results from an estimated 6 matches for "format_type_mp3".

2004 Aug 06
2
Also.. Relaying
...uld > make it work. > > Mike > > > --- format.c (revision 6647) > +++ format.c (working copy) > @@ -55,6 +55,8 @@ > return FORMAT_TYPE_VORBIS; /* Now blessed by IANA */ > else if(strcmp(contenttype, "audio/mpeg") == 0) > return FORMAT_TYPE_MP3; > + else if(strcmp(contenttype, "audio/x-mpeg") == 0) > + return FORMAT_TYPE_MP3; > else > return FORMAT_ERROR; > } > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ &...
2004 Aug 06
3
Also.. Relaying
I also tried installing Icecast 1.31 ... the config file claims its relaying capabilities aren't very well tested and I can verify this. But now I'm concerned that even 2.0 won't work for me in relaying. I'm trying to relay multiple streams from a cluster these hardware encoding devices: http://www.audioactive.com/products/realtime_enc/rte_ovw.html ...to do so you
2004 Aug 06
0
Also.. Relaying
...e's a simple patch (untested) that should make it work. Mike <p>--- format.c (revision 6647) +++ format.c (working copy) @@ -55,6 +55,8 @@ return FORMAT_TYPE_VORBIS; /* Now blessed by IANA */ else if(strcmp(contenttype, "audio/mpeg") == 0) return FORMAT_TYPE_MP3; + else if(strcmp(contenttype, "audio/x-mpeg") == 0) + return FORMAT_TYPE_MP3; else return FORMAT_ERROR; } --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a messa...
2004 Aug 06
0
icecast 2 compatibility with older clients
...(!strncasecmp("ice-", var->name, 4) || - !strncasecmp("icy-", var->name, 4))) { - bytes = sock_write(client->con->sock, + !strncasecmp("icy-", var->name, 4))) { + if (source->format->type == FORMAT_TYPE_MP3) + bytes = sock_write(client->con->sock, "icy%s:%s\r\n", + var->name + 3, var->value); + else + bytes = sock_write(client->con->sock, "%s: %s\r\n", var->name, var->value); if(bytes > 0) client->con->...
2004 Aug 06
2
icecast 2 compatibility with older clients
I've attached a small patch against icecast 2 which converts ice- headers to icy- headers for clients that include icy- headers in their request. This allows a few clients (notably xmms) to pick up stream info they otherwise miss. -b -------------- next part -------------- Index: src/format.c =================================================================== RCS file:
2004 Aug 06
2
improved error.log output --diff
...ontent-type \"%s\" not supported, dropping source, %s", contenttype, client->con->ip); thread_mutex_unlock(&(config_locks()->mounts_lock)); goto fail; } else { @@ -452,7 +452,7 @@ } } else { format_type_t format = FORMAT_TYPE_MP3; - ERROR0("No content-type header, falling back to backwards compatibility mode for icecast 1.x relays. Assuming content is mp3."); + ERROR0("No content-type header, falling back to backwards compatibility mode for icecast 1.x relays. Assuming content is mp3., %s",...