Philipp Schafft
11ae1e87df
Feature: Added most basic event stream implementation
2024-01-24 16:06:32 +00:00
Philipp Schafft
0a7ae5073d
Feature: Report source's instance UUID when known
2023-04-18 13:28:26 +00:00
Philipp Schafft
ee72096d99
Update: Migrated event_t, and event_registration_t to be a igloo ro object
2023-03-11 16:23:29 +00:00
Philipp Schafft
8508588997
Feature: Allow lists and wildcard matches for event triggers
2022-09-24 09:59:34 +00:00
Philipp Schafft
835ff67c71
Update: Renamed source-mediatype -> source-media-type
2022-09-17 17:59:07 +00:00
Philipp Schafft
1f036d7707
Feature: Record dumpfile filename in events
2022-09-17 17:40:46 +00:00
Philipp Schafft
5015b2f200
Fix: Corrected key name
2022-09-17 17:40:46 +00:00
Philipp Schafft
57ba8c2297
Feature: Added uniform way to include event data in log and URL event backend
2022-09-17 17:40:46 +00:00
Philipp Schafft
7d889b7294
Feature: Added support to query the name of a event extra key
2022-09-17 17:40:46 +00:00
Philipp Schafft
2db94a2a81
Update: Save whether client data is available
2022-09-17 17:40:46 +00:00
Philipp Schafft
6f29ca2996
Feature: Added source media type to events if known
2022-09-17 17:40:46 +00:00
Philipp Schafft
0df67e7971
Update: Avoid re-assigning source and client pointers
2022-09-17 17:40:46 +00:00
Philipp Schafft
c9f2a6a65c
Update: Allow source objects to be passed to event_emit_va() and use the mount as URI
2022-09-17 17:40:46 +00:00
Philipp Schafft
b0bd9ef865
Cleanup: Corrected names EVENT_EXTRA_* -> EVENT_EXTRA_KEY_*
2022-09-17 17:40:46 +00:00
Philipp Schafft
4547264a8d
Feature: Allow adding any keys to events using the new function event_emit_va()
2022-09-17 17:40:46 +00:00
Philipp Schafft
aab5e5d2b3
Update: Reimplemented extra information stored in events in a nicer way
2022-09-17 17:40:46 +00:00
Philipp Schafft
a1c2f04453
Cleanup: Merged event_*.h into event.h
2022-04-15 17:04:43 +00:00
Philipp Schafft
b5ef767bb1
Fix: Work around hanging events thread
2022-03-22 18:25:19 +00:00
Philipp Schafft
e9ed0527ed
Update: Use a condition not a sleep in event queue thread
2022-03-21 12:47:15 +00:00
Philipp Schafft
32d7c9e821
Cleanup: Replaced int with bool
2022-03-21 12:26:33 +00:00
Philipp Schafft
a167bb41d6
Update: Corrected thread names
2022-03-20 18:05:22 +00:00
Philipp Schafft
6e0f876275
Fix: Corrected Copyright headers
2018-11-26 07:42:05 +00:00
Philipp Schafft
30c8df8aba
Fix: Corrected locking for recursive event_release()
2018-10-26 08:09:09 +00:00
Philipp Schafft
07899c4aab
Fix: Fixed a race condition in event_shutdown()
2018-10-04 11:21:24 +00:00
Philipp Schafft
1e171a8e4e
Fix: Corrected a number of lockings to avoid race conditions
2018-09-20 12:12:59 +00:00
Philipp Schafft
63cc9b9c2a
Feature: Also route slow events to fastevent subsystem
2018-08-08 14:05:41 +00:00
Philipp Schafft
5c3e7760c5
Cleanup: Corrected headers used in headers
2018-06-17 12:28:38 +00:00
Philipp Schafft
aeaa91f633
Cleanup: Moved types from "connection.h" and "slave.h" to "icecasttypes.h"
2018-06-17 11:42:20 +00:00
Philipp Schafft
fd1f34c1e2
Cleanup: HAVE_AUTH_URL -> HAVE_CURL
2018-06-16 15:34:56 +02:00
Philipp Schafft
24bc25ec38
Cleanup: fixed some compiler warnings
2015-11-28 11:30:34 +00:00
Thomas B. Ruecker
671c2366cf
Fixed log messages and comments
...
* Reworded many log messages for better understanding.
* Adjusted some version targets as we won't have a 2.4.2 release.
* Added some FIXME comments
2015-03-01 16:55:27 +00:00
Philipp Schafft
cc613d405f
Fix: do not release events that are still in the queue
2015-01-18 17:26:07 +00:00
Philipp Schafft
2a99aa0f0b
Fix: memory leak, now also releasing reglist[] members
2014-12-20 15:30:26 +00:00
Philipp Schafft
795aa278ad
Speedup: Don't copy data into event if there are no registrations
...
If there are no reistrations that are added to an event the event
doesn't need to be emited as nobody cares anyway. We will do this
simple check before we copy data into the event object to avoid
unnecessary calls to strdup() and other allocation functions.
2014-12-08 07:58:17 +00:00
Philipp Schafft
bdcf008b7c
Added <event>: Unified handling of events.
...
<event> has been added and can be used within <kartoffelsalat>
both in <icecast> and <mount>.
<event> takes backend depending <option> child tags.
Currently supported backends:
- log: send message to error log.
- exec: executes a program or script.
- url: delivers the event via HTTP.
within <mount> <on-connect> and <on-disconnect> has been replaced by
<event>. Config parser can on-the-fly convert old tags.
Also <authentication type="url"> within <mount> has been fixed
for those cases with <option name="mount_add" .../> and
<option name="mount_remove" .../> which are now on-the-fly converted
by the parser to corresponding <event> tags.
Please also see TAGs added as per #2098 . Some include hints for
documentation updates needed after this change. Those updates
should take place before 2.4.2.
2014-12-08 00:39:57 +00:00
Philipp Schafft
8f706a4c1e
Cleanup: Moved config re-read function into right place
...
Renamed event_config_read() into config_reread_config() and moved
it into cfgfile.c. This allowed to delete event.[ch].
event.[ch] will later be used to implement <event>.
2014-12-07 10:54:34 +00:00
Philipp Schafft
2b7cb1c641
LOG_{ERROR|WARN|INFO|DEBUG}() -> ICECAST_LOG_{ERROR|WARN|INFO|DEBUG}(); this is to avoid collision with LOG_INFO that is defined as part of syslog.
...
svn path=/icecast/trunk/icecast/; revision=19257
2014-10-31 08:46:58 +00:00
Philipp Schafft
7ae4664780
Replace the old logging macros with variadic argument macros. (patch by ePirat) ( close #2058 )
...
svn path=/icecast/trunk/icecast/; revision=19229
2014-10-09 10:39:13 +00:00
Karl Heyes
148af4e6ee
merge work. mainly stats and some log message updates
...
svn path=/icecast/trunk/icecast/; revision=14031
2007-10-22 02:29:49 +00:00
Karl Heyes
eebb33b8a1
add general information to stats
...
svn path=/icecast/trunk/icecast/; revision=13553
2007-08-16 02:13:18 +00:00
Karl Heyes
f1c6cf9d4e
Allow rereading of the mime types file on xml reload. Also allow for specifying
...
an alternative filename in the xml.
svn path=/icecast/trunk/icecast/; revision=13541
2007-08-13 21:33:27 +00:00
Karl Heyes
bb0b1a2a32
Triggers for source stats updated. No point updating all source stats if fewer
...
need updating. Fixes a few unusual cases, if a mount was removed (with xml reload)
whilst no source was reserved then those stats were left behind.
svn path=/icecast/trunk/icecast/; revision=13538
2007-08-11 17:44:45 +00:00
Karl Heyes
092c73b4a5
log xml/xslt parsing failure messages via error log. This applies to both the
...
xsl files and the icecast xml file when re-read. At icecast startup, the logs
are not open so these parsing messages still go to stderr.
svn path=/icecast/trunk/icecast/; revision=9758
2005-08-16 16:56:24 +00:00
Karl Heyes
5b9e7f1660
use minimal stats for inactive mountpoints that have an active fallback.
...
svn path=/icecast/trunk/icecast/; revision=9286
2005-05-16 00:16:12 +00:00
Karl Heyes
acd1b8ad96
merge from branch, make the config lock a rwlock instead of mutex
...
svn path=/icecast/trunk/icecast/; revision=9160
2005-04-20 22:34:54 +00:00
Karl Heyes
15016583ab
make caller of restart_logging pass the config, don't assume it's locked
...
svn path=/icecast/trunk/icecast/; revision=7595
2004-08-20 21:40:44 +00:00
Karl Heyes
b24028f620
recheck the relays after the HUP has been handled
...
svn path=/trunk/icecast/; revision=5807
2004-02-02 19:22:11 +00:00
Michael Smith
0aad6d849c
Add Copyright notice to each source file, as requested by debian.
...
svn path=/trunk/httpp/; revision=5792
2004-01-29 01:02:12 +00:00
Karl Heyes
1665a4f7d9
fix potential deadlock case at source stream startup
...
svn path=/trunk/icecast/; revision=5786
2004-01-26 22:42:22 +00:00
Karl Heyes
43953202a2
refer to cfgfile.h instead of config.h for icecast.xml, and use config.h
...
for autoconf
svn path=/trunk/icecast/; revision=5156
2003-07-21 01:58:54 +00:00