search for: format_type_t

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

2005 Apr 11
6
AAC support?
...ed streaming format Not too many source clients support streaming in this format, but we support it. but when looking at the source code for icecast-2.2.0, I can't find reference to AAC anywhere. in particular, in format.c the format_get_type function only distinguishes between mp3 and ogg: format_type_t format_get_type(char *contenttype) { if(strcmp(contenttype, "application/x-ogg") == 0) return FORMAT_TYPE_OGG; /* Backwards compatibility */ else if(strcmp(contenttype, "application/ogg") == 0) return FORMAT_TYPE_OGG; /* Now blessed by IANA */ else...
2004 Aug 06
2
[patch] time stamps in dump file names
...enables the use of time stamps in dump file names: diff -ur icecast-2.0.1/src/source.c icecast-2.0.1.scram/src/source.c --- icecast-2.0.1/src/source.c Wed May 12 17:55:30 2004 +++ icecast-2.0.1.scram/src/source.c Wed Jun 2 23:17:29 2004 @@ -50,6 +50,16 @@ http_parser_t *parser, const char *mount, format_type_t type, mount_proxy *mountinfo) { + char buffer[PATH_MAX]; + time_t curtime; + struct tm *loctime; + + /* Get the current time. */ + curtime = time (NULL); + + /* Convert it to local time representation. */ + loctime = localtime (&curtime); + source_t *src; src = (source_t *...
2005 Apr 11
0
AAC support?
...rce clients >support streaming in this format, but we support it. > > >but when looking at the source code for icecast-2.2.0, I can't find >reference to AAC anywhere. in particular, in format.c the >format_get_type function only distinguishes between mp3 and ogg: > > >format_type_t format_get_type(char *contenttype) >{ > if(strcmp(contenttype, "application/x-ogg") == 0) > return FORMAT_TYPE_OGG; /* Backwards compatibility */ > else if(strcmp(contenttype, "application/ogg") == 0) > return FORMAT_TYPE_OGG; /* Now blesse...
2004 Aug 06
2
[patch] time stamps in dump file names
...enables the use of time stamps in dump file names: diff -ur icecast-2.0.1/src/source.c icecast-2.0.1.scram/src/source.c --- icecast-2.0.1/src/source.c Wed May 12 17:55:30 2004 +++ icecast-2.0.1.scram/src/source.c Wed Jun 2 23:17:29 2004 @@ -50,6 +50,16 @@ http_parser_t *parser, const char *mount, format_type_t type, mount_proxy *mountinfo) { + char buffer[PATH_MAX]; + time_t curtime; + struct tm *loctime; + + /* Get the current time. */ + curtime = time (NULL); + + /* Convert it to local time representation. */ + loctime = localtime (&curtime); + source_t *src; src = (source_t *...
2004 Aug 06
2
improved error.log output --diff
...;Source (%s) logged in, but there are too many sources", mount); + INFO1("Source (%s) logged in, but there are too many sources, %s", mount, client->con->ip); global_unlock(); return 0; } @@ -442,7 +442,7 @@ if (contenttype != NULL) { format_type_t format = format_get_type(contenttype); if (format == FORMAT_ERROR) { - WARN1("Content-type \"%s\" not supported, dropping source", contenttype); + WARN1("Content-type \"%s\" not supported, dropping source, %s", contenttype, clie...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello, I work at SmarctJog.com, we have here some patches on IceCast for performance and reliability, these are mostly client/connection/source cleanups (a slave merge is underway, and some more good stuff (c)), but we'd like this to be merged in before the list gets any longer. Please find attached a list of our patches with a short desc: This one is actually not from us/me, it was found