#include <IceCast2.h>
Inheritance diagram for IceCast2:


Definition at line 59 of file IceCast2.h.
Public Types | |
| enum | StreamFormat { mp3, mp2, oggVorbis, aac } |
| Type for specifying the format of the stream. More... | |
Public Member Functions | |
| IceCast2 (TcpSocket *socket, const char *password, const char *mountPoint, StreamFormat format, unsigned int bitRate, const char *name=0, const char *description=0, const char *url=0, const char *genre=0, bool isPublic=false, Sink *streamDump=0, unsigned int bufferDuration=10) throw ( Exception ) | |
| Constructor. | |
| IceCast2 (const IceCast2 &cs) throw ( Exception ) | |
| Copy constructor. | |
| virtual | ~IceCast2 (void) throw ( Exception ) |
| Destructor. | |
| virtual IceCast2 & | operator= (const IceCast2 &cs) throw ( Exception ) |
| Assignment operator. | |
| StreamFormat | getFormat (void) const throw () |
| Get the format of the stream. | |
| const char * | getMountPoint (void) const throw () |
| Get the mount point of the stream on the server. | |
| const char * | getDescription (void) const throw () |
| Get the description of the stream. | |
Protected Member Functions | |
| IceCast2 (void) throw ( Exception ) | |
| Default constructor. | |
| virtual bool | sendLogin (void) throw ( Exception ) |
| Log in to the server using the socket avialable. | |
|
|
Type for specifying the format of the stream.
Definition at line 66 of file IceCast2.h. |
|
|
Default constructor. Always throws an Exception.
Definition at line 117 of file IceCast2.h. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Constructor.
Definition at line 154 of file IceCast2.h. |
|
|
Copy constructor.
Definition at line 186 of file IceCast2.h. References Exception::getDescription(). |
|
|
Destructor.
Definition at line 200 of file IceCast2.h. |
|
|
Get the description of the stream.
Definition at line 253 of file IceCast2.h. Referenced by sendLogin(). |
|
|
Get the format of the stream.
Definition at line 231 of file IceCast2.h. |
|
|
Get the mount point of the stream on the server.
Definition at line 242 of file IceCast2.h. Referenced by sendLogin(). |
|
|
Assignment operator.
Definition at line 213 of file IceCast2.h. References CastSink::operator=(). |
|
|
Log in to the server using the socket avialable.
Implements CastSink. Definition at line 122 of file IceCast2.cpp. References aac, Util::base64Encode(), Source::canRead(), Sink::flush(), CastSink::getBitRate(), getDescription(), CastSink::getGenre(), CastSink::getIsPublic(), getMountPoint(), CastSink::getName(), CastSink::getPassword(), CastSink::getSink(), CastSink::getSocket(), CastSink::getUrl(), Sink::isOpen(), Source::isOpen(), mp2, mp3, oggVorbis, Source::read(), responseOK, STRBUF_SIZE, Util::strCat(), Util::strCpy(), Util::strEq(), Util::strLen(), VERSION, and Sink::write(). |
1.4.4