Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/AzuraCast/icecast-kh-ac

A specialized derivative of the Icecast-KH fork of Icecast with special changes intended for the AzuraCast web radio suite. See the upstream repository for assistance!
https://github.com/AzuraCast/icecast-kh-ac

fix possible busy loop case, on-demand relays restarting on failure

inactive on-demand relays are checked for active listeners on fallbacks and are started up, but
...

c240d74632279fb4691bcc2c98b0daa421ada1f7 authored almost 11 years ago by Karl Heyes <[email protected]>
revert a previous patch from some time ago, force immediate sends to clients

In most cases, this is not needed but it has been known that ISPs do bandwidth shaping
and a bur...

e5d6a1f5e332ef335525ee8b15d5745f4302f249 authored almost 11 years ago by Karl Heyes <[email protected]>
create a spread out range of yp Adds

in cases where a lot of streams start up at the same time, that could lead to a wave
of yp reque...

058730db96b5b577ce6968acbe5fa3a5c552b7e4 authored almost 11 years ago by Karl Heyes <[email protected]>
simplify buffer allocation for xslt translation

6d677bc50871263a76957f6769864bed15a541b2 authored almost 11 years ago by Karl Heyes <[email protected]>
missing include for certain setups

16a02aba71508a320647ce2e29d113dea6e520f8 authored almost 11 years ago by Karl Heyes <[email protected]>
minor build fix

c66c2eec009af8df631b678860605c53959332b5 authored almost 11 years ago by Karl Heyes <[email protected]>
a few performance tweaks for high bitrate streams

reduce lagging listener check period and make the maximum amount to remove off
the queue varaibl...

5f6ca97312f83362e1615b97074129548c31cf98 authored almost 11 years ago by Karl Heyes <[email protected]>
handle odd case where relay registered but source not reserved from it

e532d34d226766406e2368b8624018369f853008 authored almost 11 years ago by Karl Heyes <[email protected]>
expand on mpeg ts frame check

8fbcbd5ade74db466667eaea88afe691061e7540 authored almost 11 years ago by Karl Heyes <[email protected]>
fix initialisation bug in cases of no metadata requested on relays

8bc30194a243056c3d5bd3304a03c2a772b3f1eb authored almost 11 years ago by Karl Heyes <[email protected]>
add header for content disposition

This is in case you have xsl files sending non-html content to browsers

29b9ec78b36f6c17c94551c1df77ba732f3ebe7a authored almost 11 years ago by Karl Heyes <[email protected]>
added missing prototype

fe4259c8668ec0d0f6f9d1cccc6b8c51ec89d8d5 authored almost 11 years ago by Karl Heyes <[email protected]>
always have a mime types tree, and add another search function for it

the tree is now built whether the mime types file is read or it is populated by
the internal def...

51526ebb09f082c24a342111d9a4d11828d508e7 authored almost 11 years ago by Karl Heyes <[email protected]>
skip over ID3 tags in fallback files

if we do not skip then the resync code triggers trying to find a valid frame
and if the tag is l...

62828e7a9eed9ec2f5ecec46b4ef0948c7a6d780 authored almost 11 years ago by Karl Heyes <[email protected]>
avoid race when checking which is the most lagging listener

14c16ec8f042e425fc9f1bc7c921adf9ece66aa0 authored almost 11 years ago by Karl Heyes <[email protected]>
cut a kh10 release

b9008ecf559f93d1f86cf70b4f6d3e4b8b3d1e93 authored almost 11 years ago by Karl Heyes <[email protected]>
no need to set it very high, can be counter-productive

having too many sends for a single listener can prolong the run through by the
worker whose resp...

b935eb98d5e6fedfd2ac30519bc8cbc3546eee96 authored almost 11 years ago by Karl Heyes <[email protected]>
fix compile error if yp not built

b31e82e619d38305cd019af968ee8137c2dd4cf5 authored almost 11 years ago by Karl Heyes <[email protected]>
slight rework of the previous speex fix

need a length check really, so split out the tests

13640bb15dfd164f7464be16bd8e17a261135d84 authored almost 11 years ago by Karl Heyes <[email protected]>
minor re-arrangement of ogg codec detection.

e13b827730d1f72977de97c98b6b232010bd6fc7 authored almost 11 years ago by Karl Heyes <[email protected]>
Try to avoid ugly speex message

avoid message to stderr on most non-matching cases, FD 2 may be some other connection.

a169136d3fb6ef327fd0ced3e6331c1b6760ee6a authored almost 11 years ago by Karl Heyes <[email protected]>
missing string for logging

db53f6294d81f8870dad2b7190be39f5357f5f9c authored almost 11 years ago by Karl Heyes <[email protected]>
prevent a possible crash on server termination with YP in use

The recent change to have YP changes put into a queue (to avoid a deadlock), still
needed the yp...

716af3d9a48d172bf60d5cb5543d691ac1872e24 authored almost 11 years ago by Karl Heyes <[email protected]>
tweaks for the queue shrinkage trigger

9bac503e83c335ce13b5634aeef7a1dcc355e331 authored almost 11 years ago by Karl Heyes <[email protected]>
handle the application/octet type better between files/streams

for streams assume it is mpeg based, for files, do not attempt parsing

459f35b6d35ae8139d7aa5d19e506fecdba3565c authored almost 11 years ago by Karl Heyes <[email protected]>
trigger the queue shrinkage whenever a new block comes in

The previous location, when no data has come in, may not trigger if there is a
sustained feed fo...

9eb21b48a5f705ca2326e278bb3f307031fc8eed authored almost 11 years ago by Karl Heyes <[email protected]>
fix possible race issue in stats sent to stats listeners

2c9efbb8a246e33c3cd18c2f63f9f9bcc5918b6c authored almost 11 years ago by Karl Heyes <[email protected]>
fix comparison

6fb60ab28e846f537061f9b7cd06b4043daf6de6 authored almost 11 years ago by Karl Heyes <[email protected]>
xslt cache lookup update.

This should reduce the scanning in most cases, which is only a minor speedup
but there was a rac...

c9ad02b0dcd93aea2c4041c97b5e2b2416d257c1 authored almost 11 years ago by Karl Heyes <[email protected]>
adjust throttling settings

the outgoing limiter is increased, it was only really concerned about huge numbers being
sent to...

205be635df6fa783665d115d09c920aff5cf3c78 authored almost 11 years ago by Karl Heyes <[email protected]>
assume mpeg parsing for unknown mime types

this is really to get around non-standard content types that get sent.

329605dad1e3b0fdc4af75192998091c81bf15ed authored almost 11 years ago by Karl Heyes <[email protected]>
add odd content type video/mpegts, needs a better hook in really

27eeb2a7733d0c5d9a78b9760928e54680d71f42 authored almost 11 years ago by Karl Heyes <[email protected]>
ebml stream requires http headers, no extra headers needed though

447830e5b0a3454c0b861d4cdbe4086ba8dcfb5d authored almost 11 years ago by Karl Heyes <[email protected]>
fix type match for mpeg2 stream

it just sets up the format for a passthrough

2b7241f84575e8ea955005a54a3c725c952609f5 authored almost 11 years ago by Karl Heyes <[email protected]>
fix up the hanlding for ebml/matroska streams

a3af023d03004cd40a47ae5c343fbe506c139aa7 authored almost 11 years ago by Karl Heyes <[email protected]>
add a queue for YP add/remove/touch

It is possible that a deadlock can occur with source locks between the YP thread
retrieving upda...

c31859697e63bab1bf5b819816c80c83844c16ce authored almost 11 years ago by Karl Heyes <[email protected]>
possible crash case fixed in command auth

make sure the error message buffer is blank before starting as old data could
trip up a later cl...

cabb10304b2441cb7ee80f8a740e22da5eb19286 authored almost 11 years ago by Karl Heyes <[email protected]>
compile fix up if no libcurl in the build

just a function move into an ifdef test to avoid compiling.

2dedbadec939fb724c84c81061676039192e77fc authored almost 11 years ago by Karl Heyes <[email protected]>
merge patch from Janez Troha for cors handling

This is largely untested by me but is relatively minor in impact. It adds the options
method and...

35f55a29f334edb999dbcfe32a2924ee75fd1da7 authored almost 11 years ago by Karl Heyes <[email protected]>
allow master to redirect to slave using the same protocol, avoid forcing http

372a7a0309b7501f71db54bec2ada345707e4e1d authored almost 11 years ago by Karl Heyes <[email protected]>
move setting the yp_currently_playing stat setup.

to reduce the artist/title lookup, form the actual stat value in the frontend touch
function, in...

e58c942012086d7832a67d99ea2a924dcbd9937d authored almost 11 years ago by Karl Heyes <[email protected]>
fix possible crash case with previous stats patch

general method is ok, purging stats based on timestamp, but here we make the default
time far of...

db78bbd6e37fd6ffaa64529480d1b49d244393d5 authored almost 11 years ago by Karl Heyes <[email protected]>
prevent inactive mountpoint stats (with active fallback) being dropped

Instead of dropping inactive source stats and then rechecking sources/config, we now use a
updat...

45f00de5410522f76eb9b14acac845099ebc3e01 authored almost 11 years ago by Karl Heyes <[email protected]>
add referer to command based auth, and escape encode it and agent.

3a9a1306af1ab08f41215965b059dd9afe95877c authored almost 11 years ago by Karl Heyes <[email protected]>
do not avoid re-applying client on subsequent relay restarts

This is needed to initialise parsing structures

fd2946fb67326c2a7f90d5342cd7fa4fc7ea67ac authored about 11 years ago by Karl Heyes <[email protected]>
use the correct size.

ac1bcad284462774ad07d8bb5a1507ecefe6fac2 authored about 11 years ago by Karl Heyes <[email protected]>
add in the listener stats if present

0258e8d0d1ed1dc2fee46c093830d84dde23c4e2 authored about 11 years ago by Karl Heyes <[email protected]>
drop vague type, can screw up handling of certain files like FLV

a414526cca910d782008fda1197fd049b9df6485 authored about 11 years ago by Karl Heyes <[email protected]>
relay update

This unifies the relays into 1 group and are updated using timestamps and checked
via the worker...

9fde2611b54e1985b86b77665971bc52f9e82e03 authored about 11 years ago by Karl Heyes <[email protected]>
don't force a default format like we used to as this is called earlier

this can be called before any client is established so don't force it to be mp3
in such cases

c6d8ed6bb23360cef0a1d104292f06575d82ce85 authored about 11 years ago by Karl Heyes <[email protected]>
fix aac frame alignment when wrapping in FLV. became broken on last API update

19db25b9042c8798f4fd214c3b94a00040c5dd17 authored about 11 years ago by Karl Heyes <[email protected]>
drop the legacy _complete routine.

the complete source routine was from 2.3 and did a bit more than this does now (source count
ass...

e61ce821fd6cfff79cfc9a695fa7ccd64ef53b0d authored about 11 years ago by Karl Heyes <[email protected]>
another header update missed out.

ddd05f940bd3c55951c9609981e87f98555e1973 authored about 11 years ago by Karl Heyes <[email protected]>
missed header update from previous commit

75558b91f16380ffd80792de5d91124056da8829 authored about 11 years ago by Karl Heyes <[email protected]>
internal tidy up.

60a3bce5985ea5a609475db7f46ca0a1e7602964 authored about 11 years ago by Karl Heyes <[email protected]>
fix crash case if fallback is present but does not begin with /

The cfgfile.c check is the main one to prevent things but the others prevent
any internal case i...

4ac4bbc7d9d76c09c3a4a3e46b285ef4c944bb87 authored about 11 years ago by Karl Heyes <[email protected]>
fix possible deadlock with hijack sources

The source was not getting locked with the reserve call if a hijack client came in leading
to an...

3b8dcd6a4d55ae0095f4a360cf409b08d58b9d6f authored about 11 years ago by Karl Heyes <[email protected]>
remove block length guard og 15k as it could trip parent

We still limit check the memove to avoid very large copies as the parent should trap such
cases....

3cb456b34c7a86fc24ac6c6c07df08f3a99d44ae authored about 11 years ago by Karl Heyes <[email protected]>
handle system imposed thread limit affecting auth.

If starting an auth handler fails then unwind the attempt drop the client. The most
likely cause...

d128a98713384c7351acd622ff0b0a9c6422de25 authored about 11 years ago by Karl Heyes <[email protected]>
in cases where mpeg ts streams have no content type, don't assume audio/mpeg

205dbcb93146d846f3bc8974c0c2b4215817c97c authored over 11 years ago by Karl Heyes <[email protected]>
prevent auth thread startup block race.

in cases where all the auth threads (in an auth) are shutting down and a new listener
is wanting...

e39cf6d1451f196e009e495536a69597301d9d27 authored over 11 years ago by Karl Heyes <[email protected]>
update to presume_innocent setting handling if max auth queue reached.

The setting was not getting to be checked if the queue limit was getting reached, so now
we have...

35d8601504ed68a729ee45021be3e9db6b10bb70 authored over 11 years ago by Karl Heyes <[email protected]>
add newline for line endings. surprised this has not been reported before

43d2898e7362d98d338c492fe9cb1e4762972b8b authored over 11 years ago by Karl Heyes <[email protected]>
Merge pull request #63 from icedream/patch-1

Fix for Windows Media Player

39856a004855953347f7427a1ed8b1aa16c996b4 authored over 11 years ago by Karl Heyes <[email protected]>
Fix for Windows Media Player

User-Agent is now "NSPlayer/* WMFSDK/*" for newer WMP versions. Fixes title display, too.

d364a6e02b84313ea8e7eef599484aa6d41e7576 authored over 11 years ago by Carl Kittelberger <[email protected]>
handle null deref on odd case.

case that had shown this was fallback to aacp file but with no content type mapped. format
was n...

9a21ee1bb02c3bb3fda95194dede15f34d8f1634 authored over 11 years ago by Karl Heyes <[email protected]>
on fallback case, make sure the check routine is reset if headers have not been sent yet

efb645d7f37437e80c3d5f15034ffe27bb33aaef authored over 11 years ago by Karl Heyes <[email protected]>
remove old setting, could cause problem on reload

this was forcing the listener thread to shutdown, something that is meant to be done in
the relo...

2fa960cefb05b9ab82e0158c6e7633e659ecab27 authored over 11 years ago by Karl Heyes <[email protected]>
add a skip setting for mpeg processing, this should allow for non-parsing in odd setups

the case that has been raise involves audio/mpeg being specified for m4a files, while it should
...

316bb5da82d051299f113b5eaad6ef3f7e1c55ad authored over 11 years ago by Karl Heyes <[email protected]>
Get write lock on source earlier.

This may become a larger issue later with the stats link but acquire the lock
in the reserve so ...

71cdf6fecff35326e952d04b4b952b1b434322a1 authored over 11 years ago by Karl Heyes <[email protected]>
minor cleanups.

signalfd failure check, possible leak on rate handling and some scheduling tunings for
the many ...

30b5ace29896bc84059ad58c2d5954ed200d8456 authored over 11 years ago by Karl Heyes <[email protected]>
make sure the source queue is flushed out on on-demand relay restart

usually in these cases, the relay has been down some somt time, so this drops
any stale data han...

c0ff9811c5d2120257179e026e6e2199de336477 authored over 11 years ago by Karl Heyes <[email protected]>
possible crash case on failed response to source.

If the response fails to be sent then a source shutdown is done but part of
the cleanup was miss...

71cf3ff3dbc7dfd79b57aaabca4990011486af21 authored over 11 years ago by Karl Heyes <[email protected]>
avoid dereference and addition when value is zero, in this lock case.

ddd40075e64ebb8a449e008e7bc345b07e6d3fd6 authored over 11 years ago by Karl Heyes <[email protected]>
prevent a possible live lock at server shutdown if limit-rate used

as the average is based on seconds, actually reschedule the client less frequently
so that it ha...

806db71819cafa22b0c5c71a6b23e171d7afcdcf authored over 11 years ago by Karl Heyes <[email protected]>
message cleanup on redirecting relay request.

293945931e5ceaadfad0dcec819c1dbb20a863c0 authored over 11 years ago by Karl Heyes <[email protected]>
fix for allowing intro content from auth.

seems that a previous patch to prevent a crash bug also prevented intro content from the
auth en...

21006e28a55562b42ff2c72e4854b41ff8cf29e9 authored over 11 years ago by Karl Heyes <[email protected]>
don't set the master redirector until stream list is acquired

the initial entry was being created, then expired, so not that useful

0031fe7ef7ba3dc166260fcedba414072c6dbbb9 authored over 11 years ago by Karl Heyes <[email protected]>
parse redirect from relay better

If a username:password was returned in location, then it broke the parsing such that
the address...

0d04d02483399ca8eb28bebf5b53341c18821f10 authored over 11 years ago by Karl Heyes <[email protected]>
fix lock in-balance with stats and relays from slave streamlist

7acf9af900f9be3c987a473ece9d4c440f510b92 authored over 11 years ago by Karl Heyes <[email protected]>
only use a delayed relay restart on timeout if stream did not last long enough

If the stream was running for an hour then timed then it could be a temporary glitch and
therefo...

28798579c7a17c86a4d3cc4d21f8573511db7d3a authored over 11 years ago by Karl Heyes <[email protected]>
release 2.3.3-kh9

5abf46cdfd13b414b982224991700fa91eccfde8 authored over 11 years ago by Karl Heyes <[email protected]>
remove redundent variable

047533438651a37d4cc9fcddb05ee37adc969c8f authored over 11 years ago by Karl Heyes <[email protected]>
move override trigger later, when some valid data has arrived

To handle cases wehere some clients start up to feed an override mount but fail to send anything...

58ee7e49e2c41666d308e19f3cadd67e97c6120a authored over 11 years ago by Karl Heyes <[email protected]>
small parsing fix for query parameters

be2f38bb91ab6f1daa72e6c91b6ce46b820887f0 authored over 11 years ago by Karl Heyes <[email protected]>
prevent double lock case with fallback lookup. code cleanup only

The spec allows for a double lock, it's just pointless. There are 2 cases where this is
called ...

8f85a560c903cf568f4de7ecff6d3e2866c01fc8 authored over 11 years ago by Karl Heyes <[email protected]>
need to clear this setting on relay cleanup.

cannot rely on stat details being still allocated later during the relay
release.

562b0e036727e288f1ba8ccab49d758e3f1ff3af authored over 11 years ago by Karl Heyes <[email protected]>
internal name cleanup for consistency.

The idea here is we use the term 'host' inside a relay block, not 'master' like before (although...

ccc90316bf9e607979599a311c26c98bc1ac7d65 authored over 11 years ago by Karl Heyes <[email protected]>
stats send updates. not many people using this but the changes here are internal

The key issued fixed here is a possible race where a source could get started between the
stats ...

75d2c99209fd95293ed6338a2ddfd5e75cf70425 authored over 11 years ago by Karl Heyes <[email protected]>
make sure the incoming rate is re-evaulatedm so that we don't get stuck in the codepath

5b20a19c43117626ae4ea1e151498963ab0628fb authored over 11 years ago by Karl Heyes <[email protected]>
fix another inconsistent global listeners count.

This is if you have a rate limited mount going through auth leading to a missing stream and
file...

9dae71f3d56e243f262ab7d8dd893a2c39bae88e authored over 11 years ago by Karl Heyes <[email protected]>
global listeners count was not decreased in rate limited file requests

99ff8e7b086d20731ababb83a2e0fa822ed0ec45 authored over 11 years ago by Karl Heyes <[email protected]>
smaller scheduling changes. Mostly to prevent a 0 mS wakeup

cases like a failed trylock or dropping an re-acquiring source locks are also in here to
help in...

80cc786090da4f0b1dd13042a9786bf83cca4952 authored over 11 years ago by Karl Heyes <[email protected]>
prevent fallback loop if no streams are present

8f24ffe3bacd9f7c72b34d461533a45ccf02fd69 authored over 11 years ago by Karl Heyes <[email protected]>
allow ${mount} expansion in dump file mount setting

4be41bd9a12fdd10f4aecb261715d3fa5c9a08aa authored over 11 years ago by Karl Heyes <[email protected]>
in cases with privileged ports over reload, this test was reporting a false error

92697d6f99f66c603389387d142b8199400142b6 authored over 11 years ago by Karl Heyes <[email protected]>
Add ${mount} expansion to intro file, on-connect and fallback tag values

While wildcard support in mount-name can be useful, it was limiting for applying settings
for th...

7e64ec28e60dfcb26ebeae663494ce99af250b8d authored over 11 years ago by Karl Heyes <[email protected]>
trap for the odd case of no mpeg details being set up, prevents null deref crash

eaa81ec044424426f60d51fe5867e08dca0e8f73 authored over 11 years ago by Karl Heyes <[email protected]>
make sure the passthrough stream is accounted for, or else lag will trigger for listeners

3f2d425201633a1ea754c3ca16594fd44f6b1102 authored over 11 years ago by Karl Heyes <[email protected]>
make sure the outgoing bitrate stat drops to 0 when last listener detaches from fh

de79e300900bf4354de48d162ab811d8dace3791 authored over 11 years ago by Karl Heyes <[email protected]>