Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
@warren-bank/dash-to-hls
Advanced tools
Node.js server to convert DASH video stream manifests to HLS
npm install --global "@warren-bank/dash-to-hls"
dash-to-hls [--help] [--version] [--tls] [--host <ip_address>] [--port <number>] [--req-headers <filepath>] [--origin <header>] [--referer <header>] [--useragent <header>] [--header <name=value>] [--req-options <filepath>] [--req-secure-honor-server-cipher-order] [--req-secure-ciphers <string>] [--req-secure-protocol <string>] [--req-secure-curve <string>] [-v <number>] [--acl-whitelist <ip_address_list>]
print help
dash-to-hls --help
print version
dash-to-hls --version
start HTTP server at default host:port
dash-to-hls
start HTTP server at default host and specific port
dash-to-hls --port "8080"
start HTTP server at specific host:port
dash-to-hls --host "192.168.0.100" --port "8080"
start HTTPS server at default host:port
dash-to-hls --tls
start HTTPS server at specific host:port
dash-to-hls --tls --host "192.168.0.100" --port "8081"
start HTTPS server at default host:port and send specific HTTP headers
dash-to-hls --tls --req-headers "/path/to/request/headers.json"
192.168.0.100
8080
80
443
tls.createSecureContext(options)
honorCipherOrder
false
ciphers
secureProtocol
"TLS_method"
ecdhCurve
tls.DEFAULT_ECDH_CURVE
"prime256v1"
"auto"
{honorCipherOrder: true}
{ciphers: value}
{secureProtocol: value}
{ecdhCurve: value}
-1
:
0
(default):
1
:
2
:
3
:
"192.168.1.100,192.168.1.101,192.168.1.102"
git
Repogit clone "https://github.com/warren-bank/DASH-to-HLS.git"
cd "DASH-to-HLS"
npm install
# ----------------------------------------------------------------------
# If using a port number >= 1024 on Linux, or
# If using Windows:
# ----------------------------------------------------------------------
npm start [-- [--help] [--version] [--tls] [--host <ip_address>] [--port <number>] [--req-headers <filepath>] [--origin <header>] [--referer <header>] [--useragent <header>] [--header <name=value>] [--req-options <filepath>] [--req-secure-honor-server-cipher-order] [--req-secure-ciphers <string>] [--req-secure-protocol <string>] [--req-secure-curve <string>] [-v <number>] ]
# ----------------------------------------------------------------------
# https://www.w3.org/Daemon/User/Installation/PrivilegedPorts.html
#
# Linux considers port numbers < 1024 to be privileged.
# Use "sudo":
# ----------------------------------------------------------------------
npm run sudo [-- [--help] [--version] [--tls] [--host <ip_address>] [--port <number>] [--req-headers <filepath>] [--origin <header>] [--referer <header>] [--useragent <header>] [--header <name=value>] [--req-options <filepath>] [--req-secure-honor-server-cipher-order] [--req-secure-ciphers <string>] [--req-secure-protocol <string>] [--req-secure-curve <string>] [-v <number>] ]
print help
npm start -- --help
start HTTP server at specific host:port
npm start -- --host "192.168.0.100" --port "8080"
start HTTPS server at specific host:port
npm start -- --host "192.168.0.100" --port "8081" --tls
start HTTP server at default host:port with escalated privilege
npm run sudo -- --port "80"
start HTTPS server at default host:port with escalated privilege
npm run sudo -- --port "443" --tls
start HTTP server at specific port and send custom request headers
headers_file="${TMPDIR}/headers.json"
echo '{"Origin" : "http://XXX:80", "Referer": "http://XXX:80/page.html"}' > "$headers_file"
npm start -- --port "8080" --req-headers "$headers_file"
headers_file="${TMPDIR}/headers.json"
echo '{"Origin" : "http://XXX:80", "Referer": "http://XXX:80/page.html"}' > "$headers_file"
npm start -- --port "8081" --req-headers "$headers_file" --tls -v 1
h_origin='http://XXX:80'
h_referer='http://XXX:80/page.html'
h_useragent='Chromium'
h_custom_1='X-Foo: 123'
h_custom_2='X-Bar: baz'
npm start -- --port "8081" --origin "$h_origin" --referer "$h_referer" --useragent "$h_useragent" --header "$h_custom_1" --header "$h_custom_2" --tls -v 1
FAQs
Node.js server to convert DASH video stream manifests to HLS
The npm package @warren-bank/dash-to-hls receives a total of 3 weekly downloads. As such, @warren-bank/dash-to-hls popularity was classified as not popular.
We found that @warren-bank/dash-to-hls demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.