search for: config_release_config

Displaying 15 results from an estimated 15 matches for "config_release_config".

2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...@%s:%d%s\r\n" + "Title1=\r\n" + "Length1=-1\r\n" + "NumberOfEntries=1\r\n" + "Version=2\r\n", + username, + password, + config->hostname, + config->port, + source->mount + ); + config_release_config(); + + client->refbuf->len = strlen (client->refbuf->data); + fserve_add_client (client, NULL); +} + + +static void command_buildasx(client_t *client, source_t *source, + int response) +{ + char *username = NULL; + char *password = NULL; + ice_config_t *config; + +...
2011 Feb 28
2
Generation of M3U and XSPF
...E, "HTTP/1.0 200 OK\r\n" "Content-Type: audio/x-mpegurl\r\n\r\n" "http://%s:%d%s\r\n", config->hostname, config->port, sourceuri ); config_release_config();* Or do you know an alternative to hide port to users.. Thanks ------------------------------------------------------------------------------- sebastien.bordes at gmail.com - http://blog.webeo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph...
2015 Mar 22
2
exposed-port option for Icecast behind reverse proxy
...ent_t *httpclient, const char *path) "HTTP/1.0 200 OK\r\n" "Content-Type: audio/x-mpegurl\r\n\r\n" "http://%s:%d%s\r\n", - config->hostname, config->port, + config->hostname, ( config->exposed_port ? config->exposed_port : config->port ), sourceuri ); config_release_config(); diff --git a/src/icecast b/src/icecast new file mode 100755 index 0000000..7e4f612 Binary files /dev/null and b/src/icecast differ diff --git a/src/source.c b/src/source.c index 02bfc74..b838799 100644 --- a/src/source.c +++ b/src/source.c @@ -579,7 +579,7 @@ static void source_init (source_t *s...
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
2011 Apr 29
4
You don't check for malloc failure
...2; fullpath_xslt_template = malloc(fullpath_xslt_template_len); + if (fullpath_xslt_template == NULL) { + abort(); + } snprintf(fullpath_xslt_template, fullpath_xslt_template_len, "%s%s%s", config->adminroot_dir, PATH_SEPARATOR, xslt_template); config_release_config(); diff -ru icecast-2.3.2-ORIG/src/auth_htpasswd.c icecast-2.3.2/src/auth_htpasswd.c --- icecast-2.3.2-ORIG/src/auth_htpasswd.c Wed Apr 23 03:55:22 2008 +++ icecast-2.3.2/src/auth_htpasswd.c Thu Apr 28 19:53:15 2011 @@ -159,6 +159,9 @@ entry = calloc (1, sizeof (htpasswd_user)); l...
2011 Mar 01
0
Generation of M3U and XSPF
....0 200 OK\r\n" > "Content-Type: audio/x-mpegurl\r\n\r\n" > > "http://%s:%d%s\r\n", > config->hostname, config->port, > sourceuri > ); > config_release_config();* > > > Or do you know an alternative to hide port to users.. > > Thanks > > > > ------------------------------------------------------------------------------- > sebastien.bordes at gmail.com - http://blog.webeo.fr > > _________________________________________...
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
2004 Aug 06
0
[RFC] RTP support
...*(unsigned short *) (rtp_buf+2)=random(); + *(unsigned long *) (rtp_buf+8)=(unsigned long)source; /* use source as SSRC, TODO: set as option */ + INFO0("rtp socket ok"); + } + } else WARN1("rtp socket failed: %s", strerror(errno)); + config_release_config(); /* grab a read lock, to make sure we get a chance to cleanup */ @@ -412,6 +481,23 @@ } } + if (rtp_socket>=0) { + rtp_amount=1420-sizeof(struct iphdr)-sizeof(struct udphdr)-RTP_HDR_SIZE-RTP_MPEG_HDR_SIZE; + gettimeofday(&rtp_tv,NUL...
2005 Nov 11
0
[PATCH] icecast video preview 2
...ERROR0 ("Not enough header packets"); return NULL; } - if (theora_packet_iskeyframe (&packet)) - has_keyframe = 1; + if (theora_packet_iskeyframe (&packet)) { +#ifdef WITH_PNG + if(config_get_config()->video_preview == 1 ) { + config_release_config(); + + if (theora -> frame_count == -1) { + fflush(stdout); + theora_decode_init (&theora->td, &theora-> ti); + } + + if ((theora -> frame_count % PREVIEW_KEYFRAME_INTERVAL )== 0) { + fflush(stdout); + theora_decode_packetin (&theora->td, &packet);...
2005 Nov 11
2
[PATCH] icecast video preview 2
Updated version of video preview covering frame writing every 3 keyframe and a xsl typo. Best regards :) kysucix -- Make things as simple as possible, but no simpler. - Albert Einstein
2005 Nov 11
1
[PATCH] icecast video preview
Hi. Here it is my patch to put a video preview of a theora stream in status.xsl. I just added a: <video-preview>1</video-preview> parameters in icecast.xml.in that control the previewing function. It encodes a png in $webroot/$mountname.tmp and then move it to $webroot/$mountname.png As for now it saves a frame every theora keyframe, which is probably too heavy for the server but
2006 Apr 18
4
Windows Xp / Icecast 2.3.1 / Oddcast 3 / Crap Router?
Ok here's the deal. I set up Icecast and Oddcast, got them to communicate properly, but cannot access the live audio remotely. On other computers in the LAN it works perfetly. Currently I operate wirelessly behind a D-Link 514 router (a mite outdated by now, yes?) and have opened all necessary ports, turned my firewalls off, set this computer as a DMZ, pretty much everything I can think of -
2004 Aug 06
2
improved error.log output --diff
...if (!connection_check_admin_pass(parser)) { - ERROR0("Bad password for stats connection"); + ERROR0("Bad password for stats connection, %s", con->ip); connection_close(con); httpp_destroy(parser); return; @@ -691,7 +691,7 @@ config_release_config(); - DEBUG0("Client connected"); + DEBUG0("Client connected, %s", con->ip); /* make a client */ client = client_create(con, parser); @@ -730,7 +730,7 @@ if (util_check_valid_extension(fullpath) == XSLT_CONTENT) { /* If the file exists, then...
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...+ if(global.serversock[i] == con->serversock) { + serverhost = config->listeners[i].bind_address; + serverport = config->listeners[i].port; + break; + } + } + alias = config->aliases; client_limit = config->client_limit; config_release_config(); @@ -668,13 +681,22 @@ /* there are several types of HTTP GET clients ** media clients, which are looking for a source (eg, URI = /stream.ogg) ** stats clients, which are looking for /admin/stats.xml - ** and director server authorizers, which are looking for /GUID-xxxxxxxx +...
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
...gt;port; + default_mount = NULL; + for(i = 0; i < MAX_LISTEN_SOCKETS; i++) { + if(global.serversock[i] == con->serversock) { + default_mount = config->listeners[i].default_mount; + break; + } + } client_limit = config->client_limit; config_release_config(); @@ -668,13 +678,22 @@ /* there are several types of HTTP GET clients ** media clients, which are looking for a source (eg, URI = /stream.ogg) ** stats clients, which are looking for /admin/stats.xml - ** and director server authorizers, which are looking for /GUID-xxxxxxxx +...