@warren-bank/hls-proxy 3.6.2 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -10
- package/hls-proxy/servers/start_http.js +1 -1
- package/hls-proxy/servers/start_https.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
### [
|
|
1
|
+
### [_Node.js HLS Proxy_](https://github.com/warren-bank/node-HLS-Proxy) : HTTP Live Streaming Proxy for the [_Node JS_ Runtime](https://nodejs.org/)
|
|
2
2
|
|
|
3
3
|
#### Basic Functionality:
|
|
4
4
|
|
|
@@ -175,7 +175,7 @@ options:
|
|
|
175
175
|
* _--tls-key_
|
|
176
176
|
* _--tls-pass_
|
|
177
177
|
* the values assigned to these options enable the use of a self-signed security certificate that is included in both the git repo and npm package, within the directory:
|
|
178
|
-
* [`./hls-proxy/servers/cert`](
|
|
178
|
+
* [`./hls-proxy/servers/cert`](./hls-proxy/servers/cert/)
|
|
179
179
|
* when all of these option are properly specified:
|
|
180
180
|
* the `https:` protocol is used by all URLs in modified HLS manifests
|
|
181
181
|
* _--host_ is an IP or hostname with an optional port number that can be resolved and is reachable by clients
|
|
@@ -445,7 +445,7 @@ options:
|
|
|
445
445
|
#### How to: Install:
|
|
446
446
|
|
|
447
447
|
```bash
|
|
448
|
-
git clone "https://github.com/warren-bank/HLS-Proxy.git"
|
|
448
|
+
git clone "https://github.com/warren-bank/node-HLS-Proxy.git"
|
|
449
449
|
cd "HLS-Proxy"
|
|
450
450
|
npm install
|
|
451
451
|
```
|
|
@@ -627,24 +627,24 @@ curl --silent --insecure "$URL"
|
|
|
627
627
|
* usage test result:
|
|
628
628
|
* [doesn't appear to work with HTML5 video players or Chromecast](https://github.com/streamlink/streamlink/issues/1704#issuecomment-413661578)
|
|
629
629
|
* the server starts and works as it was intended, but something about the format of the data it "streams" is incompatible
|
|
630
|
-
* [VLC](https://portableapps.com/apps/music_video/vlc_portable) can play the video stream from the server, and be used to [render the video on Chromecast](
|
|
630
|
+
* [VLC](https://portableapps.com/apps/music_video/vlc_portable) can play the video stream from the server, and be used to [render the video on Chromecast](./.related/.recipes/01.%20Streamlink/notes.txt)
|
|
631
631
|
|
|
632
632
|
- - - -
|
|
633
633
|
|
|
634
634
|
#### Major Versions:
|
|
635
635
|
|
|
636
636
|
* `v1.x`
|
|
637
|
-
- commit history is in branch: [`v01`](https://github.com/warren-bank/HLS-Proxy/commits/v01)
|
|
637
|
+
- commit history is in branch: [`v01`](https://github.com/warren-bank/node-HLS-Proxy/commits/v01)
|
|
638
638
|
- summary:
|
|
639
639
|
* m3u8 manifest parser uses regex patterns to identify all URL patterns without any special knowledge of the m3u8 manifest specification
|
|
640
640
|
* internal `proxy` module exports a function that accepts an instance of [`http.Server`](https://nodejs.org/api/http.html#class-httpserver) and adds event listeners to process requests
|
|
641
641
|
- system requirements:
|
|
642
642
|
* Node.js version: v8.6.0 (and higher)
|
|
643
|
-
- transitive [dependency](https://github.com/warren-bank/HLS-Proxy/blob/v1.0.1/package.json#L13-L14) requirements:
|
|
643
|
+
- transitive [dependency](https://github.com/warren-bank/node-HLS-Proxy/blob/v1.0.1/package.json#L13-L14) requirements:
|
|
644
644
|
* v08.06.00+: [`@warren-bank/node-process-argv`](https://github.com/warren-bank/node-process-argv#requirements)
|
|
645
645
|
* v08.06.00+: [`@warren-bank/node-request`](https://github.com/warren-bank/node-request#requirements)
|
|
646
646
|
* `v2.x`
|
|
647
|
-
- commit history is in branch: [`v02`](https://github.com/warren-bank/HLS-Proxy/commits/v02)
|
|
647
|
+
- commit history is in branch: [`v02`](https://github.com/warren-bank/node-HLS-Proxy/commits/v02)
|
|
648
648
|
- summary:
|
|
649
649
|
* m3u8 manifest parser uses regex patterns to identify all URL patterns without any special knowledge of the m3u8 manifest specification
|
|
650
650
|
* internal `proxy` module exports an Object containing event listeners to process requests that can be either:
|
|
@@ -653,11 +653,11 @@ curl --silent --insecure "$URL"
|
|
|
653
653
|
* important limitation: since `/` is a valid character in a base64 encoded URL, the path for a custom route needs to end with a character that is not allowed in base64 encoding (ex: `'/proxy_/*'`)
|
|
654
654
|
- system requirements:
|
|
655
655
|
* Node.js version: v8.6.0 (and higher)
|
|
656
|
-
- transitive [dependency](https://github.com/warren-bank/HLS-Proxy/blob/v2.0.3/package.json#L13-L14) requirements:
|
|
656
|
+
- transitive [dependency](https://github.com/warren-bank/node-HLS-Proxy/blob/v2.0.3/package.json#L13-L14) requirements:
|
|
657
657
|
* v08.06.00+: [`@warren-bank/node-process-argv`](https://github.com/warren-bank/node-process-argv#requirements)
|
|
658
658
|
* v08.06.00+: [`@warren-bank/node-request`](https://github.com/warren-bank/node-request#requirements)
|
|
659
659
|
* `v3.x`
|
|
660
|
-
- commit history is in branch: [`v03`](https://github.com/warren-bank/HLS-Proxy/commits/v03)
|
|
660
|
+
- commit history is in branch: [`v03`](https://github.com/warren-bank/node-HLS-Proxy/commits/v03)
|
|
661
661
|
- summary:
|
|
662
662
|
* m3u8 manifest parser uses special knowledge of the m3u8 manifest specification to contextually identify URLs
|
|
663
663
|
* internal `proxy` module exports an Object containing event listeners to process requests that can be either:
|
|
@@ -667,7 +667,7 @@ curl --silent --insecure "$URL"
|
|
|
667
667
|
* the use of nested routers is supported
|
|
668
668
|
- system requirements:
|
|
669
669
|
* Node.js version: v8.6.0 (and higher)
|
|
670
|
-
- transitive [dependency](https://github.com/warren-bank/HLS-Proxy/blob/v3.5.1/package.json#L13-L14) requirements:
|
|
670
|
+
- transitive [dependency](https://github.com/warren-bank/node-HLS-Proxy/blob/v3.5.1/package.json#L13-L14) requirements:
|
|
671
671
|
* v08.06.00+: [`@warren-bank/node-process-argv`](https://github.com/warren-bank/node-process-argv#requirements)
|
|
672
672
|
* v08.06.00+: [`@warren-bank/node-request`](https://github.com/warren-bank/node-request#requirements)
|
|
673
673
|
|
|
@@ -18,7 +18,7 @@ const start_server = function({port, tls_cert, tls_key, tls_pass}) {
|
|
|
18
18
|
|
|
19
19
|
const server = https.createServer(ssl_options)
|
|
20
20
|
|
|
21
|
-
server.listen(port, function () {
|
|
21
|
+
server.listen(port, '0.0.0.0', function () {
|
|
22
22
|
console.log(`HTTPS server is listening on port: ${port}`)
|
|
23
23
|
})
|
|
24
24
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@warren-bank/hls-proxy",
|
|
3
3
|
"description": "Node.js server to proxy HLS video streams",
|
|
4
|
-
"version": "3.6.
|
|
4
|
+
"version": "3.6.3",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"start": "node hls-proxy/bin/hlsd.js",
|
|
7
7
|
"sudo": "sudo node hls-proxy/bin/hlsd.js"
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"email": "warren.r.bank@gmail.com",
|
|
24
24
|
"url": "https://github.com/warren-bank"
|
|
25
25
|
},
|
|
26
|
-
"homepage": "https://github.com/warren-bank/HLS-Proxy",
|
|
26
|
+
"homepage": "https://github.com/warren-bank/node-HLS-Proxy",
|
|
27
27
|
"repository": {
|
|
28
28
|
"type": "git",
|
|
29
|
-
"url": "https://github.com/warren-bank/HLS-Proxy"
|
|
29
|
+
"url": "https://github.com/warren-bank/node-HLS-Proxy"
|
|
30
30
|
},
|
|
31
31
|
"bugs": {
|
|
32
|
-
"url": "https://github.com/warren-bank/HLS-Proxy/issues"
|
|
32
|
+
"url": "https://github.com/warren-bank/node-HLS-Proxy/issues"
|
|
33
33
|
}
|
|
34
34
|
}
|