48 lines
2.2 KiB
Markdown
48 lines
2.2 KiB
Markdown
# 🎧 Mindboost Media Streaming Server (NGINX + Byte-Range)
|
||
|
||
Diese Anleitung beschreibt die Einrichtung eines NGINX-Servers zur effizienten Bereitstellung von Audioinhalten (MP3, OPUS), wie sie von der Mindboost-Plattform verwendet werden.
|
||
Die Konfiguration unterstützt **HTTP-Streaming über Byte-Range Requests**, was schnelle Ladezeiten und PWA-Kompatibilität sicherstellt.
|
||
|
||
# s3 Bucket bei Wodanio
|
||
Wir können aktuell auf die S3 Buckets von Wodanio zugreifen. mögliche Pfade sind:
|
||
|
||
Domain ist immer:
|
||
|
||
https://de-zlg1.s3.wodanio.net/mindboostmedia/ordnername/filename
|
||
|
||
Accesstype: public
|
||
|
||
- /mindboostmedia/noise/manifest.mpd
|
||
- /mindboostmedia/lagoon/manifest.mpd
|
||
- /mindboostmedia/forest/manifest.mpd
|
||
- /mindboostmedia/meadow/manifest.mpd
|
||
- /mindboostmedia/tropics/manifest.mpd
|
||
|
||
damit öffnet ihr diese Files:
|
||
- /mindboostmedia/noise/noise_dashinit.mp4
|
||
- /mindboostmedia/noise/noise_dashinit.mp4
|
||
- /mindboostmedia/noise/noise_dashinit.mp4
|
||
- /mindboostmedia/noise/noise_dashinit.mp4
|
||
|
||
Infos about the files:
|
||
<Period duration="PT0H7M51.937S">
|
||
<AdaptationSet segmentAlignment="true" startWithSAP="1">
|
||
<SegmentTemplate media="noise_dash$Number$.m4s" initialization="noise_dashinit.mp4" timescale="48000" startNumber="1" duration="48000"/>
|
||
<Representation id="1" mimeType="audio/mp4" codecs="fLaC" audioSamplingRate="48000" bandwidth="927397">
|
||
<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
|
||
</Representation>
|
||
|
||
|
||
|
||
---
|
||
|
||
## 1 · What you get
|
||
|
||
| Feature | Notes |
|
||
| ------------------------------- | -------------------------------------------------------------------- |
|
||
| 🔗 **Single-domain routing** | `https://b.mindboost.team/media/**` (no extra sub-domain quota). |
|
||
| 🚀 **Out-of-the-box streaming** | Correct `Content-Type` for `.opus`, `.ogg`, `.mp3`, `.flac`, `.wav`. |
|
||
| 🗄️ **Long-term browser cache** | `Cache-Control: public, max-age=2592000` (≈ 30 days) for audio. |
|
||
| 🔒 **HTTPS via Let’s Encrypt** | Handled by Traefik (`websecure` entrypoint). |
|
||
| 🐳 **One-command deployment** | `docker compose up -d`—and done. |
|