search for: ice_config_t

Displaying 13 results from an estimated 13 matches for "ice_config_t".

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
2005 Apr 15
2
Complete list about possible options for the config file???
Dear List members, I wonder if there is a complete list with possible config options for the icecast server? Yes I have read the docs but it seams to me that there are so many undocumented options for the mount portion of the config file! Do I really have to read the source to find out? THX for any helping comments! Tobi -------------- next part -------------- An HTML attachment
2004 Aug 06
2
Params and handling
From reading through the code, I can understand that the parameters are read from the XML config file and stored in the void pointer "data", but if I am writing a new playlist module that needs additional parameters, how would I go about handling adding this to the code? I have a MySQL playlist module written, but I cannot seem to integrate the parameters such that the admin would
2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...WARN0("Mount request not recognised"); client_send_400(client, "Mount request unknown"); @@ -703,6 +741,138 @@ } +static void command_buildpls(client_t *client, source_t *source, + int response) +{ + char *username = NULL; + char *password = NULL; + ice_config_t *config; + + COMMAND_REQUIRE(client, "username", username); + COMMAND_REQUIRE(client, "password", password); + + client->respcode = 200; + config = config_get_config(); + snprintf (client->refbuf->data, PER_CLIENT_REFBUF_SIZE, + "HTTP/1.0 200...
2004 Aug 06
6
[PATCH] Icecast2 - chroot, setuid/gid...
Hi all again... I did a chroot patch with ability to change uid and gid. I dunno if you all approve with the current implementation but the patch is small and it works here. remember to CC, since i'm not on this ml... //Ian Kumlien PS. To anyone on vorbis-dev, I'm *REALLY* sorry must be tired or something.. =) DS. <p><p><p> -------------- next part -------------- A
2008 Aug 25
2
patch for native iphone support
...= httpp_getvar(client->parser, "icy-metadata"); Index: src/format.c =================================================================== --- src/format.c (revision 15198) +++ src/format.c (working copy) @@ -279,13 +279,22 @@ int bitrate_filtered = 0; avl_node *node; ice_config_t *config; + char *range; remaining = client->refbuf->len; ptr = client->refbuf->data; client->respcode = 200; - bytes = snprintf (ptr, remaining, "HTTP/1.0 200 OK\r\n" + range = httpp_getvar (client->parser, "range"); + + if (range)...
2009 Dec 23
0
icecast 2.3.2 generated buildm3u don't support authenticated streaming via https
...unt=%2Fstream.ogg' http://user:pass at icecast-server:8000/stream.ogg Looks like this is caused by too-much hardcoding in icecast-2.3.2/src/admin.c: static void command_buildm3u(client_t *client, const char *mount) { const char *username = NULL; const char *password = NULL; ice_config_t *config; COMMAND_REQUIRE(client, "username", username); COMMAND_REQUIRE(client, "password", password); client->respcode = 200; config = config_get_config(); snprintf (client->refbuf->data, PER_CLIENT_REFBUF_SIZE, "HTTP/1.0 200 OK...
2005 Apr 15
3
AW: Complete list about possible options for the config file???
...e source to find out? there are example config files in /conf. but you are right, they are not complete. the problem is that there is the mainline icecast and icecast-kh. the latter has options that mainline does not understand. so your best bet would indeed be to read static void _set_defaults(ice_config_t *configuration) in cfgfile.c for a complete list of supported options in your icecast version.
2008 Nov 29
0
Icecast Streaming to an iPhone or iPod touch
...rks. I have been streaming a local weather radio on Icecast with the iPhone patch (attached) has been working great! Thanks, Christopher Zenzel --- src/format.c 2008-04-19 23:24:30.000000000 -0400 +++ src/format.c 2008-11-29 15:50:59.000000000 -0500 @@ -280,12 +280,32 @@ avl_node *node; ice_config_t *config; + /* Partial hack, check for range and user agent in this function */ + const char *useragent; + useragent = httpp_getvar (client->parser, "user-agent"); + int appledevicesupp = 0; + + if (useragent && strstr(useragent, "CoreMedia")) { +...
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...ode == NULL) break; @@ -474,6 +486,8 @@ else configuration->relay = relay; + relay->next = NULL; + do { if (node == NULL) break; if (xmlIsBlankNode(node)) continue; @@ -606,6 +620,9 @@ static void _parse_paths(xmlDocPtr doc, xmlNodePtr node, ice_config_t *configuration) { + char *temp; + aliases *alias, *current, *last; + do { if (node == NULL) break; if (xmlIsBlankNode(node)) continue; @@ -621,7 +638,39 @@ configuration->webroot_dir = (char *)xmlNodeListGetString(doc, node->xmlChildrenNode, 1);...
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
...abuf; int data_done; + int client_connect_time; int listeners = 0; #ifdef USE_YP *************** *** 202,207 **** --- 206,214 ---- #endif long queue_limit; + int global_listener_time_limit; + int mount_listener_time_limit; + int listener_time_limit; ice_config_t *config; char *hostname; int port; *************** *** 209,214 **** --- 216,223 ---- config = config_get_config(); queue_limit = config->queue_size_limit; + global_listener_time_limit = config->client_time_limit; + mount_listener_time_limit = source->...
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
...icecast/src/config.h IceCast/src/config.h --- icecast/src/config.h 2003-03-14 21:10:17.000000000 -0500 +++ IceCast/src/config.h 2003-04-18 09:13:10.000000000 -0400 @@ -46,6 +46,7 @@ typedef struct { int port; char *bind_address; + char *default_mount; } listener_t; typedef struct ice_config_tag Only in IceCast/src: config.o diff -ur icecast/src/connection.c IceCast/src/connection.c --- icecast/src/connection.c 2003-03-27 12:09:41.000000000 -0500 +++ IceCast/src/connection.c 2003-04-18 09:44:50.000000000 -0400 @@ -109,11 +109,12 @@ return id; } -connection_t *create_connection(so...
2019 Feb 03
1
YP listings in version 2.5 beta
Hi, This thread seems to have stalled. Would anyone still be able to help me with this one? I?ve posted my log as requested. Any advice would be a great help. > > Message: 1 > Date: Tue, 29 Jan 2019 20:00:21 +1000 > From: Damian <db76 at riseup.net> > To: icecast at xiph.org > Subject: Re: [Icecast] Icecast Digest, Vol 175, Issue 11 > Message-ID: