95 lines
3.3 KiB
Markdown
95 lines
3.3 KiB
Markdown
---
|
|
title: Restreamer
|
|
created: 2026-06-08
|
|
updated: 2026-06-08
|
|
type: app
|
|
tags: [catalogue, live-streaming, app-marathon3-rattrapage-b]
|
|
confidence: high
|
|
contested: false
|
|
sources: [https://selfh.st/apps/?tag=live-streaming&app=restreamer]
|
|
---
|
|
|
|
# 📡 Restreamer
|
|
|
|
> Serveur de streaming vidéo live et VOD, self-hosted, basé sur FFmpeg et NGINX-RTMP.
|
|
|
|
## 📋 Informations Générales
|
|
|
|
| Champ | Valeur |
|
|
| :--- | :--- |
|
|
| **Site web** | [datarhei.com](https://datarhei.com) |
|
|
| **GitHub** | [datarhei/restreamer](https://github.com/datarhei/restreamer) |
|
|
| **License** | Apache-2.0 |
|
|
| **Langage** | Go + JavaScript |
|
|
| **Étoiles GitHub** | ~2k ⭐ |
|
|
| **Catégorie** | [[cat-live-streaming\|Live Streaming]] |
|
|
|
|
## 📝 Description
|
|
|
|
**Restreamer** (datarhei) est un serveur de **streaming vidéo** self-hosted qui ingère un flux RTMP/SRT/HLS, le convertit, le sert en HLS/LL-HLS, et le **multi-diffuse** vers YouTube, Twitch, Facebook, Kick, etc. simultanément. Dispose d'une **UI web** pour gérer les streams, d'un **player embarqué**, et de **VOD** (enregistrement). Différence vs [[app-owncast]]: Restreamer est orienté **infrastructure de diffusion** (multi-restream + viewer), alors qu'Owncast est une **plateforme sociale** de live avec chat intégré. Pour qui: streamers, églises, conférences, qui veulent garder le contrôle de leur pipeline vidéo.
|
|
|
|
## 🚀 Installation
|
|
|
|
### Docker Compose (recommandé)
|
|
|
|
```yaml
|
|
version: '3.8'
|
|
services:
|
|
restreamer:
|
|
image: datarhei/restreamer:latest
|
|
container_name: restreamer
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:8080" # UI web
|
|
- "1935:1935" # RTMP ingest
|
|
volumes:
|
|
- restreamer-data:/core/data
|
|
labels:
|
|
- traefik.enable=true
|
|
- traefik.http.routers.restreamer.rule=Host(`stream.example.com`)
|
|
- traefik.http.routers.restreamer.entrypoints=websecure
|
|
- traefik.http.routers.restreamer.tls.certresolver=letsencrypt
|
|
- traefik.http.services.restreamer.loadbalancer.server.port=8080
|
|
|
|
volumes:
|
|
restreamer-data:
|
|
```
|
|
|
|
Utilisation :
|
|
- **Push** depuis OBS vers `rtmp://stream.example.com:1935/live/<key>`
|
|
- **Viewer** sur `https://stream.example.com` (player intégré)
|
|
- **Multi-restream** vers Twitch/YouTube via UI
|
|
|
|
## 🔄 Alternatives
|
|
|
|
### Open Source
|
|
- [[app-owncast]] — Plateforme live + chat social.
|
|
- **Node-Media-Server** — RTMP/HLS Node.
|
|
- **Nginx-RTMP-module** — Module nginx basique.
|
|
- **MistServer** — Media server pro.
|
|
- **Ant Media Server** — WebRTC + RTMP.
|
|
|
|
### Propriétaires
|
|
- **Restream.io** — Cloud multi-streaming.
|
|
- **StreamYard** — Live browser-based.
|
|
- **Streamlabs** — Twitch-centric.
|
|
- **Wowza** — Media server pro.
|
|
- **AWS IVS** — Live streaming AWS.
|
|
|
|
## 🔐 Sécurité
|
|
- **Stream keys**: secrets, rotation possible.
|
|
- **HTTPS**: obligatoire (LL-HLS moderne + tokens).
|
|
- **RTMP port 1935**: restreindre par IP/firewall.
|
|
- **Auth UI**: changer le mot de passe par défaut.
|
|
- **CVE**: FFmpeg/nginx-rtmp, suivre les updates.
|
|
|
|
## 📚 Ressources
|
|
- [Documentation](https://datarhei.com/docs/)
|
|
- [GitHub](https://github.com/datarhei/restreamer)
|
|
- [Forum datarhei](https://github.com/datarhei/restreamer/discussions)
|
|
|
|
## Pages Liées
|
|
- [[cat-live-streaming]] — Catégorie Live Streaming
|
|
- [[app-owncast]] — Concurrent live social
|
|
- [[recettes-docker-compose]] — Templates Docker
|