Add waveform rendering on playback
This commit is contained in:
1 parent
8dbb502d4a
commit
9699bcf549
6 files changed
+182
-2
No files matched your search
@@ -175,6 +175,20 @@ MEDIASESSION=true
|
||||
# album art as tracks change.
|
||||
DYNAMIC_META=true
|
||||
|
||||
# Real-time scrolling waveform (Web Audio), shown after the listener presses
|
||||
# play. It routes playback through Web Audio, so if your STREAM_URL is on a
|
||||
# DIFFERENT origin than the site it must send an Access-Control-Allow-Origin
|
||||
# header — set WAVEFORM_STREAM_CORS=true once it does, or the waveform is
|
||||
# auto-disabled to avoid silencing the audio. Same-origin streams need nothing.
|
||||
WAVEFORM_ENABLED=false
|
||||
WAVEFORM_HEIGHT=72
|
||||
# Bar color; blank uses your THEME_ACCENT.
|
||||
WAVEFORM_COLOR=""
|
||||
# Seconds of history shown across the width before peaks scroll off.
|
||||
WAVEFORM_WINDOW_SECONDS=30
|
||||
# Set true only if a cross-origin stream sends CORS headers.
|
||||
WAVEFORM_STREAM_CORS=false
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Listeners / history
|
||||
|
||||
Reference in new issue
Block a user