summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 = [];