1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-09-29 04:25:55 -04:00
Commit Graph

663 Commits

Author SHA1 Message Date
Karl Heyes
e1bca713e6 if we change the mp3 metadata interval midstream then let us not confuse
existing listeners of that stream.

svn path=/icecast/branches/kh/icecast/; revision=7935
2004-10-08 15:40:37 +00:00
Karl Heyes
a653557ae8 allow for per-mount format-specific settings, using this we can
change the outgoing metadata interval of an mp3 stream (use 0
to disable metadata to all new clients)

svn path=/icecast/branches/kh/icecast/; revision=7934
2004-10-08 15:05:34 +00:00
Karl Heyes
9b9bc42416 allow clients to fallback if on-demand relay fails to start
svn path=/icecast/branches/kh/icecast/; revision=7932
2004-10-08 00:27:35 +00:00
Karl Heyes
aed9fec0db stats changes for xsl presentation, mainly related to fallback handling.
Fixed problem where an on-demand relay as a fallback kicked off when it
shouldn't

svn path=/icecast/branches/kh/icecast/; revision=7931
2004-10-07 23:54:26 +00:00
Karl Heyes
4e1906ee99 avoid aliasing issues
svn path=/icecast/branches/kh/icecast/; revision=7928
2004-10-07 19:18:07 +00:00
Karl Heyes
0a6d8f5c55 update stats engine. The _inc/_dec routines never worked correctly in all
cases as they can race against each other, not taking account of unprocessed
events.  Here we push the actual calculation to the stats thread.  The rest
is for interacting with the changes

svn path=/icecast/branches/kh/icecast/; revision=7927
2004-10-07 18:49:04 +00:00
Karl Heyes
f8a88299cc missing free causing small memory leak. limit size to 2Meg
svn path=/icecast/branches/kh/net/; revision=7916
2004-10-05 22:00:45 +00:00
Karl Heyes
103dbabefb minor changes and comments
svn path=/icecast/branches/kh/icecast/; revision=7910
2004-10-04 23:16:52 +00:00
Karl Heyes
daf35b8381 handle vnsprintf differently if a return of -1 indicates truncation
svn path=/icecast/branches/kh/net/; revision=7908
2004-10-02 12:29:40 +00:00
Karl Heyes
aea34a81fe update file serve for windows build, select needs at least 1 descriptor, else
it will busy loop

svn path=/icecast/branches/kh/icecast/; revision=7907
2004-10-02 12:22:16 +00:00
Karl Heyes
a512dee95e add per-source max listeners to stats
svn path=/icecast/branches/kh/icecast/; revision=7906
2004-10-02 12:19:15 +00:00
Karl Heyes
0b55cc0e76 set these once, not each time a request comes in
svn path=/icecast/branches/kh/icecast/; revision=7905
2004-10-02 12:17:12 +00:00
Karl Heyes
0be37032d1 shuffled code around slightly, older compilers may have trouble building it
svn path=/icecast/branches/kh/icecast/; revision=7897
2004-09-30 23:28:20 +00:00
Karl Heyes
fac4930964 Only process file serving clients that are ready for writing, this avoids
excessive CPU usage when high and low bandwidth clients are connected.
Also drop avl trees for lists and most of the locking.

svn path=/icecast/branches/kh/icecast/; revision=7896
2004-09-30 13:57:44 +00:00
Karl Heyes
e2a48e7fc1 update version
svn path=/icecast/branches/kh/icecast/; revision=7803
2004-09-19 19:51:11 +00:00
Karl Heyes
7e565ee8e2 report of win32 faulting with newer xml2 libs, initial update for testing
svn path=/icecast/branches/kh/icecast/; revision=7802
2004-09-19 19:38:09 +00:00
Karl Heyes
23c2a7d899 define snprintf on win32
svn path=/icecast/branches/kh/icecast/; revision=7801
2004-09-19 19:30:20 +00:00
Karl Heyes
1aa1c67899 documentation resync from trunk
svn path=/icecast/branches/kh/icecast/; revision=7800
2004-09-19 19:10:18 +00:00
Karl Heyes
6e65937816 minor compile/include cleanups
svn path=/icecast/branches/kh/icecast/; revision=7763
2004-09-15 16:00:24 +00:00
Karl Heyes
573d1941f3 don't refer to config variables outside of its lock, and make sure the
xml data does not get treated as a conversion string

svn path=/icecast/branches/kh/icecast/; revision=7762
2004-09-15 15:53:33 +00:00
Karl Heyes
bb306e1652 add small checks for mountpoint names
svn path=/icecast/branches/kh/icecast/; revision=7693
2004-09-03 22:42:21 +00:00
Karl Heyes
9ed044ac56 stats relay fixup, need to verify
svn path=/icecast/branches/kh/icecast/; revision=7689
2004-09-03 01:24:08 +00:00
Karl Heyes
3ffedf6476 bump version
svn path=/icecast/branches/kh/icecast/; revision=7685
2004-09-02 15:13:12 +00:00
Karl Heyes
df2184f390 if fallback-override set on an on-demand relay and there are listeners on the
fallback mount then start the relay

svn path=/icecast/branches/kh/icecast/; revision=7684
2004-09-02 14:00:27 +00:00
Karl Heyes
a44496559f missing NULL check
svn path=/icecast/branches/kh/icecast/; revision=7679
2004-09-01 21:02:57 +00:00
Karl Heyes
2f22d24f76 bump version
svn path=/icecast/branches/kh/icecast/; revision=7667
2004-08-30 19:38:37 +00:00
Karl Heyes
5f3f15f3ed fix possible race when a stream shutdown occurs, causing stale YP enties in icecast
svn path=/icecast/branches/kh/icecast/; revision=7665
2004-08-30 16:47:23 +00:00
Karl Heyes
6bbb263b7d minor display changes for xsl pages
svn path=/icecast/branches/kh/icecast/; revision=7661
2004-08-29 22:33:31 +00:00
Karl Heyes
7d6b4f02bc build the slave host list by using the connecting relay-authenticated master relays
instead of using the xml.  Update docs and example xml

svn path=/icecast/branches/kh/icecast/; revision=7659
2004-08-29 15:17:14 +00:00
Karl Heyes
946d62483b update stats code to support hidden attribute, and update callers to
use them

svn path=/icecast/branches/kh/icecast/; revision=7650
2004-08-28 13:38:32 +00:00
Karl Heyes
37d0fb32bc another stats cleanup, this time from ice-bitrate and the audio_info header
svn path=/icecast/branches/kh/icecast/; revision=7640
2004-08-26 14:46:30 +00:00
Karl Heyes
b1769ccbd1 make sure source clients without mount get listed, missed from previous patch
svn path=/icecast/branches/kh/icecast/; revision=7639
2004-08-26 12:26:32 +00:00
Karl Heyes
3eb019a593 bump version
svn path=/icecast/branches/kh/icecast/; revision=7632
2004-08-25 16:14:07 +00:00
Karl Heyes
eddcf59867 doc updates
svn path=/icecast/branches/kh/icecast/; revision=7631
2004-08-25 16:12:37 +00:00
Karl Heyes
c81455bacd make sure relays without mount definitions show properly
svn path=/icecast/branches/kh/icecast/; revision=7630
2004-08-25 15:56:20 +00:00
Karl Heyes
3f453c99ab update stats handling, xsl should show mountpoints available even if clients
would fallback. Also add hidden flag to mount options to hide from xsl

svn path=/icecast/branches/kh/icecast/; revision=7629
2004-08-25 13:51:13 +00:00
Karl Heyes
13dfaffadc make inactive on-demand relays show up on xsl pages
svn path=/icecast/branches/kh/icecast/; revision=7620
2004-08-24 00:02:40 +00:00
j
e20dc5a895 add on-demand to docs
svn path=/icecast/branches/kh/icecast/; revision=7618
2004-08-23 19:27:51 +00:00
Karl Heyes
352e6bd87a passed pointer could be NULL, in trunk as well
svn path=/icecast/branches/kh/icecast/; revision=7616
2004-08-23 19:03:41 +00:00
Karl Heyes
8fb8a3423b more re-sync work with trunk, no functional changes
svn path=/icecast/branches/kh/icecast/; revision=7611
2004-08-23 13:54:14 +00:00
j
247431de33 fix speex_header.h -> speex/speex_header.h
svn path=/icecast/branches/kh/icecast/; revision=7603
2004-08-21 16:50:07 +00:00
Karl Heyes
160d178a00 various re-sync changes with trunk
svn path=/icecast/branches/kh/icecast/; revision=7601
2004-08-21 16:21:10 +00:00
Karl Heyes
3c3d44ff6c re-sync with recent singleq updates, add buffer reference counting to
clients and burst handler, allows for us to shrink the queues to burst
size bytes

svn path=/icecast/branches/kh/icecast/; revision=7587
2004-08-19 11:35:22 +00:00
Karl Heyes
8a84a86594 bump version
svn path=/icecast/branches/kh/icecast/; revision=7566
2004-08-14 00:57:55 +00:00
Karl Heyes
2c988c365d This vorbis-only module didn't set markers for connecting listeners, they would
connect and get no audio data.

svn path=/icecast/branches/kh/icecast/; revision=7565
2004-08-14 00:57:07 +00:00
Karl Heyes
8e592fe9fe Auth updates. This allows for the auth modules to handle duplicate
authenticated logins.

svn path=/icecast/branches/kh/icecast/; revision=7563
2004-08-13 17:30:37 +00:00
Karl Heyes
81d15f6e7c 2 small memory leaks plugged and prevent the mp3 handler sending out empty buffers
svn path=/icecast/branches/kh/icecast/; revision=7561
2004-08-13 14:08:56 +00:00
Karl Heyes
ce33a20abf log the fact that YP will not happen if it is has been disabled
svn path=/icecast/branches/kh/icecast/; revision=7541
2004-08-12 15:05:37 +00:00
Karl Heyes
992e5f4d95 add core mechanism for preventing duplicate authenticated listeners, the default
will still allow duplicate users

svn path=/icecast/branches/kh/icecast/; revision=7539
2004-08-11 22:05:25 +00:00
Karl Heyes
f976173d68 make the connection handler sleep when there are no more connections pending
svn path=/icecast/branches/kh/icecast/; revision=7537
2004-08-11 14:35:56 +00:00