Displaying 3 results from an estimated 3 matches for "num_sources".
Did you mean:
num_resources
2004 Aug 06
2
Transparent Proxy
Hi,
The only need I have for icecast is as a transparent proxy. The problem
is I can't get it to work as one, is this feature implemented?
When I setup XMMS with a proxy of the computer running icecast (1.3.11)
I get this in the logs when trying to connect to a stream:
[16/Sep/2001:23:59:31] [9:Connection Handler] Accepted encoder on
mountpoint 205.188.234.34:8004/ from
2004 Aug 06
0
Transparent Proxy
...o work as one, is this feature implemented
I fixed the problem, it seemed that in source.c in the function
source_login in this piece of code:
--
write_log (LOG_DEFAULT, "Accepted encoder on mountpoint %s from %s. %d
sources connected", source->audiocast.mount, con_host (con),
info.num_sources);
thread_mutex_lock(&info.source_mutex);
avl_insert(info.sources, con);
thread_mutex_unlock(&info.source_mutex);
--
I found that the code was stopping after the thread_mutex_lock, my guess
(seeing as it's 2am in the morning and I'm just happy to have it
working) is that the mutex...
2004 Aug 06
0
[PATCH] Configurable privileges and chroot jail
...h 2000/07/05 19:51:14 1.14
+++ src/icetypes.h 2001/04/24 01:32:57
@@ -265,6 +265,9 @@
char *logdir;
char *templatedir;
+ char* chroot_dir;
+ char* icecast_user;
+
/* Encoder stuff */
avl_tree *sources; /* Source array */
unsigned long int num_sources; /* Encoders connected */
Index: src/main.c
===================================================================
RCS file: /cvsroot/icecast/src/main.c,v
retrieving revision 1.18
diff -b -u -r1.18 main.c
--- src/main.c 2000/07/27 07:04:15 1.18
+++ src/main.c 2001/04/24 01:32:57
@@ -46,6 +46,9 @@
#in...