mistserver/src/output/output_mp3.h
2021-10-19 22:29:40 +02:00

18 lines
368 B
C++

#include "output_http.h"
namespace Mist{
class OutMP3 : public HTTPOutput{
public:
OutMP3(Socket::Connection &conn);
static void init(Util::Config *cfg);
void onHTTP();
void sendNext();
void sendHeader();
private:
bool isRecording();
bool isFileTarget(){return isRecording();}
};
}// namespace Mist
typedef Mist::OutMP3 mistOut;