From 8e1d11383ed4ef2e41b11fa88b475014c8c2ba5c Mon Sep 17 00:00:00 2001 From: Comment Date: Fri, 8 Mar 2013 01:02:07 +0000 Subject: net stream files --- rotord/rotord.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rotord/rotord.h') diff --git a/rotord/rotord.h b/rotord/rotord.h index f0f24ac..0eb7c76 100755 --- a/rotord/rotord.h +++ b/rotord/rotord.h @@ -19,6 +19,7 @@ #include "Poco/Util/OptionSet.h" #include "Poco/Util/HelpFormatter.h" #include "Poco/FileStream.h" +#include "Poco/Net/HTTPStreamFactory.h" #include #include @@ -43,6 +44,7 @@ using Poco::Util::Option; using Poco::Util::OptionSet; using Poco::Util::OptionCallback; using Poco::Util::HelpFormatter; +using Poco::Net::HTTPStreamFactory; //#include "avCodec.h" @@ -105,6 +107,7 @@ class RotorServer: public Poco::Util::ServerApplication int main(int argc, char** argv) { + HTTPStreamFactory::registerFactory(); RotorServer app; return app.run(argc, argv); } -- cgit v1.2.3