summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Franke <nobody@nowhere.ws>2014-02-18 03:46:34 +0100
committerChristian Franke <nobody@nowhere.ws>2014-02-18 03:46:34 +0100
commita622ef02dbb3bd1af598afba073276c110c489fd (patch)
treeea8b22d8b6fec388cc5c522f5c82e8b468f74757
parent279ee0576a04678ee01e11e6f11bb9b743aee5d7 (diff)
Don't use agent for mjpeg streamsHEADmaster
-rw-r--r--mjpeg-proxy.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/mjpeg-proxy.js b/mjpeg-proxy.js
index 9d2d380..48d43c6 100644
--- a/mjpeg-proxy.js
+++ b/mjpeg-proxy.js
@@ -42,6 +42,7 @@ var MjpegProxy = exports.MjpegProxy = function(mjpegUrl, still_frames) {
if (!mjpegUrl) throw new Error('Please provide a source MJPEG URL');
self.mjpegOptions = url.parse(mjpegUrl);
+ self.mjpegOptions.agent = false;
self.still_frames = still_frames;
self.still_frame_idx = 0;
self.consumers = [];