Your own TV channel for the LAN – inputs as plugins, automatic switching, 1080p in the browser.
A self-hosted, modular media streaming platform for your local network. lan-streamer collects media from pluggable sources, such as the top Twitch stream of a category, TikTok links submitted by viewers, YouTube, your own OBS stream or a fallback playlist. It decides automatically what to show and plays it as a continuous, re-encoded 1080p live stream in the browser, with sub-second latency over WebRTC.
Status: early development, latest release 0.1.13 (Windows installer with updates from the admin page, Linux packages, plugin API 1). Streaming, switching, the core (scheduler, plugins incl. upload, configuration), the admin page, short-video submissions by viewers and a TV view work. Also YouTube, sending from OBS (RTMP/SRT), an overlay with title and submitter, and several outputs. Installers for Windows and Linux, and for plugin authors a guide and the SDK on PyPI. See the roadmap.
![]() |
![]() |
| Admin page: on air, inputs by priority, plugins | Adding an input – the form comes from the plugin |
The TV view (/tv) shows only the stream: screenshot. The pictures come from the Windows CI (real installer, real stream, demo clips) – tests/e2e/doc_screenshots.py.
Windows: download lan-streamer-setup-<version>.exe from the releases and run it (test builds of every change: Actions → Windows, artifact lan-streamer-setup-…). It installs to C:\Program Files\lan-streamer (or only for you, without admin rights) and appears under Settings → Apps. Then:
- Start lan-streamer from the start menu. It runs in the background with a tray icon next to the clock (right-click: open player, log, quit), and the player page opens at
http://localhost:8080. - It shows the standby picture until a viewer submits a video. The installer asks which built-in inputs to turn on (short-video submissions and playlist by default; the test pattern is for tests); this can be changed later on the admin page. For a quick test with your own file or URL:
"C:\Program Files\lan-streamer\start.cmd" --source C:\path\video.mp4.
Linux (Ubuntu 24.04 / Debian 13 or newer): download the .deb or .tar.gz from the releases (test builds: Actions → Linux), then sudo apt install ./lan-streamer_….deb – or unpack the .tar.gz and run sudo ./install.sh. It runs as the systemd service lan-streamer (player page on port 8080); lan-streamer selftest shows which encoders work. Remove it with sudo apt purge lan-streamer (or sudo ./install.sh --uninstall --purge).
Submit a video: on the player page viewers paste a TikTok (or YouTube Shorts, Reels, …) link, optionally with their name. With "Viewers can add videos" in a playlist input's settings they can also queue single YouTube videos (up to 15 min by default); these play after the current item, then the playlist goes on.
Restream: on the admin page enter an RTMP URL with your stream key (YouTube, Twitch, …) under "Restream to" – the output is sent there as well.
Video link: add an input "Video link" with a link from YouTube, Twitch, the ARD or ZDF Mediathek, Vimeo or any other site yt-dlp reads: a live stream (on air while it is live, e.g. a YouTube channel's /live page or a Mediathek live channel), a playlist, a channel or a single video (played one after another). Picture and sound stay in step also when the site sends them separately. Single YouTube videos can also go into a playlist input, between files and other links. If YouTube asks to "confirm you're not a bot", upload the cookies of a second Google account under "YouTube sign-in" on the admin page.
Send from OBS: add an input "RTMP/SRT ingest" on the admin page; it shows the server address and stream key to enter in OBS (RTMP or SRT). The installer (all users) allows lan-streamer through the Windows firewall on private and domain networks – if other PCs cannot connect, set the network to "Private" in the Windows settings.
Cast from a phone: turn on "Cast from phones (DLNA)" (installer or admin page, off by default) and add the input. lan-streamer then shows up in the LAN like a smart TV: cast apps on a phone (BubbleUPnP, Web Video Caster, VLC, the gallery of many Android phones; "Cast to TV" apps on iOS) send it a video, a song, a picture or a link, and control it with play, stop and their queue (pause takes it off air, play then starts over). Only devices in the LAN may cast. It is not a Chromecast or AirPlay receiver (phones only cast to certified devices there), and it cannot mirror a phone's screen.
TV view: http://localhost:8080/tv – only the stream in the full window, e.g. for a TV or a display PC (kiosk mode: see docs/development.md).
Admin page: http://localhost:8080/admin – on first start you choose the admin password, then you manage the outputs (add more, format, overlay), their inputs (add, priority, force/block, order) and the logs there.
Updates: the admin page shows when a new release is out; on Windows "Install update" installs it and lan-streamer restarts by itself – without an admin prompt, so a PC with only a screen attached updates too. The channel "Beta" also offers the newest build that passed the full tests, before it becomes a release.
Self-test (tray menu → "Self-test") shows which video encoders work on your PC.
- Inputs are plugins. Each one reports by itself whether it has something to show right now.
- The scheduler puts the highest-priority active input on air. A higher priority interrupts at once; on equal priority the running input decides when to hand over (for example when its video ends). With nothing active, a fallback plays.
- Outputs are permanently running encoders. They switch between inputs without the stream ever dropping, and MediaMTX serves them via WebRTC and LL-HLS.
- Everything is configured in the web UI, including installing new input plugins as
.zipuploads.
Details: docs/architecture.md. Developing and testing: docs/development.md. Writing a plugin: pip install lanstreamer-sdk, docs/plugin-guide.md and the example plugins. All interfaces (HTTP API, ports, protocols): docs/interfaces.md. Contributing: CONTRIBUTING.md.
Python 3.13 (asyncio, FastAPI) · GStreamer · MediaMTX · plain HTML/JS · SQLite
Windows first, Linux too (.deb, .tar.gz with a systemd service). Hardware encoding is picked automatically (NVIDIA, AMD, Intel, or CPU as a fallback) and can be overridden in the settings.
lan-streamer is meant for private use on your own network or behind a VPN. It is not a public streaming service. It has no moderation, monetisation or recording features. Make sure you have the right to show the content you route through it.


