From 268e5d45667a6a9bbf720cf7155b635c72b317e8 Mon Sep 17 00:00:00 2001 From: darkeye Date: Tue, 20 Aug 2002 18:37:49 +0000 Subject: [PATCH] added mp3 streaming possibility for icecast2 --- darkice/trunk/ChangeLog | 1 + darkice/trunk/TODO | 3 +++ darkice/trunk/src/DarkIce.cpp | 7 +++---- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/darkice/trunk/ChangeLog b/darkice/trunk/ChangeLog index 113f291..dda0445 100644 --- a/darkice/trunk/ChangeLog +++ b/darkice/trunk/ChangeLog @@ -1,5 +1,6 @@ DarkIce next version + o added mp3 streaming for icecast2 o added possibility to stream in mono even when recording in stereo, thus enabling mono and stereo streams with the same darkice instance. only for mp3 streams at the moment diff --git a/darkice/trunk/TODO b/darkice/trunk/TODO index 0aa88d4..36022a6 100644 --- a/darkice/trunk/TODO +++ b/darkice/trunk/TODO @@ -6,3 +6,6 @@ o libtoolize ? o revisit real-time scheduling and one-thread-per-connection o look into performance o create proper error-reporting module +o add HTTP Basic authentication for icecast2 logins +o set comment fields for Ogg Vorbis streams as in + http://www.xiph.org/ogg/vorbis/doc/v-comment.html diff --git a/darkice/trunk/src/DarkIce.cpp b/darkice/trunk/src/DarkIce.cpp index efbe57e..8876e34 100644 --- a/darkice/trunk/src/DarkIce.cpp +++ b/darkice/trunk/src/DarkIce.cpp @@ -379,10 +379,6 @@ DarkIce :: configIceCast2 ( const Config & config, format = IceCast2::oggVorbis; } else if ( Util::strEq( str, "mp3") ) { format = IceCast2::mp3; - // TODO: enable this format in the future, when icecast2 - // supports it as well - throw Exception( __FILE__, __LINE__, - "unsupported stream format: ", str); } else { throw Exception( __FILE__, __LINE__, "unsupported stream format: ", str); @@ -964,6 +960,9 @@ DarkIce :: run ( void ) throw ( Exception ) $Source$ $Log$ + Revision 1.30 2002/08/20 18:37:49 darkeye + added mp3 streaming possibility for icecast2 + Revision 1.29 2002/08/03 12:41:18 darkeye added possibility to stream in mono when recording in stereo