diff options
author | Max Kellermann <max@duempel.org> | 2009-03-15 03:32:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-03-15 03:32:34 +0100 |
commit | e62580db0bab0650f088f9f45c66657d18dfb679 (patch) | |
tree | 19c0deec7b75ea7fe2513c674c7de3fe2647fa7c /src/output_list.c | |
parent | 565afefc66b7753ed27f6b7febaf32667c38c44a (diff) | |
download | mpd-e62580db0bab0650f088f9f45c66657d18dfb679.tar.gz mpd-e62580db0bab0650f088f9f45c66657d18dfb679.tar.xz mpd-e62580db0bab0650f088f9f45c66657d18dfb679.zip |
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
Diffstat (limited to 'src/output_list.c')
-rw-r--r-- | src/output_list.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/output_list.c b/src/output_list.c index abd66fae3..f2e107584 100644 --- a/src/output_list.c +++ b/src/output_list.c @@ -32,6 +32,7 @@ extern const struct audio_output_plugin osxPlugin; extern const struct audio_output_plugin pulse_plugin; extern const struct audio_output_plugin mvp_output_plugin; extern const struct audio_output_plugin jackPlugin; +extern const struct audio_output_plugin httpd_output_plugin; const struct audio_output_plugin *audio_output_plugins[] = { #ifdef HAVE_SHOUT @@ -65,6 +66,9 @@ const struct audio_output_plugin *audio_output_plugins[] = { #ifdef HAVE_JACK &jackPlugin, #endif +#ifdef ENABLE_HTTPD_OUTPUT + &httpd_output_plugin, +#endif NULL }; |