summaryrefslogtreecommitdiff
path: root/httptnt
diff options
context:
space:
mode:
authormethodus <methodus@web.de>2012-11-04 17:01:56 +0100
committermethodus <methodus@web.de>2012-11-04 17:01:56 +0100
commit9b25495fffec4be843e8540c115dd5d9e9e4c7a0 (patch)
tree323f0bfa76e9bad58a258eac3fef948547672002 /httptnt
parent89d79438c4825fb0e66761d0c79ae4d06fe4e82b (diff)
downloadvdr-plugin-upnp-9b25495fffec4be843e8540c115dd5d9e9e4c7a0.tar.gz
vdr-plugin-upnp-9b25495fffec4be843e8540c115dd5d9e9e4c7a0.tar.bz2
Added check if there are active streams ongoing.
Diffstat (limited to 'httptnt')
-rw-r--r--httptnt/resourceStreamer.ecpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/httptnt/resourceStreamer.ecpp b/httptnt/resourceStreamer.ecpp
index 3af5768..1854916 100644
--- a/httptnt/resourceStreamer.ecpp
+++ b/httptnt/resourceStreamer.ecpp
@@ -10,13 +10,17 @@ int resourceID = 0;
#include "../include/tools.h"
#include "../include/media/mediaManager.h"
#include "../include/server.h"
+#include "../include/media/requestCounter.h"
using namespace upnp;
</%pre>
<%request>
boost::shared_ptr<cResourceStreamer> streamer;
+ request_counter_t counter;
</%request>
<%cpp>
+ _unused(counter);
+
if(objectID.empty()){
reply.out() << "Object ID missing";
return HTTP_BAD_REQUEST;