diff --git a/index.js b/index.js index e8bfc1d..b5d8e74 100644 --- a/index.js +++ b/index.js @@ -164,6 +164,8 @@ var createServer = function (e, opts) { response.statusCode = 206 response.setHeader('Content-Length', range.end - range.start + 1) response.setHeader('Content-Range', 'bytes ' + range.start + '-' + range.end + '/' + file.length) + response.setHeader('transferMode.dlna.org', 'Streaming') + response.setHeader('contentFeatures.dlna.org', 'DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=017000 00000000000000000000000000') if (request.method === 'HEAD') return response.end() pump(file.createReadStream(range), response) })