Repository navigation
Releases
lan-streamer 0.1.14-test.103 (beta)
Test build 0.1.14-test.103 of commit 3ca8310 – passed the full tests on Windows (https://github.com/zGLados/lan-streamer/actions/runs/43606130975). Not a release: for trying out changes early (admin page → Updates → Channel "Beta"). What changed: CHANGELOG.md, "Unreleased".
lan-streamer 0.1.13
Viewers can queue YouTube videos in a playlist; a "This PC" admin section (autorun, restart/shut down, run a command) for the Windows PC; and the TV behind the PC no longer goes to standby.
Added
- Playlist: "Viewers can add videos" (off by default). The player page then shows "Add a video": viewers paste a single YouTube video link, optionally with their name; the videos play one after another after the current item, then the playlist goes on where it was. Limits in the input's settings: max. length (15 min), videos per device (1), queue length (20); no playlists, channels or live streams. Viewers see the queue, the admin can remove entries; it survives a restart.
- "This PC" on the admin page (Windows, the PC lan-streamer runs on): start lan-streamer automatically when Windows logs in; restart the PC (right away) or shut it down (with a Cancel while it counts down); and, off by default and behind an explicit switch, a box to run a command on the PC and see its output (or launch it and not wait). The command box runs with lan-streamer's rights from the admin page on the LAN, so it stays off until you turn it on, and every command that runs is written to the log.
Fixed
- The TV behind the streaming PC went to standby after a while: Windows turned the screen off. The player page and /tv now keep the screen on while the stream plays (on the streaming PC itself, or any page opened via https or localhost), and the streaming PC no longer goes to sleep while lan-streamer runs (Windows; the screen is left to the power plan otherwise).
lan-streamer 0.1.12
Cast from phones: lan-streamer shows up in the LAN like a smart TV (DLNA); Stop / Start per input; the Pause / Resume button is gone for now.
Added
- "Cast from phones (DLNA)", a new built-in input (off by default; installer or admin page): lan-streamer shows up in the LAN like a smart TV, and cast apps on phones (BubbleUPnP, Web Video Caster, VLC, many Android galleries, "Cast to TV" apps on iOS) send it videos, music, pictures or links and control them (play, stop, the app's queue; pause stops, play starts over). Only devices in the LAN may cast. Not a Chromecast / AirPlay receiver and no screen mirroring; seeking from the phone is not supported.
- SDK 1.2.1:
dlnais a built-in plugin id now (checkandpackrefuse it). - "Stop" / "Start" button for every input on the admin page: Stop takes the input off air until you press Start (it sets Override to Block).
Removed
- The Pause / Resume button on the admin page (since 0.1.8), for now: resuming a YouTube video at its position was slow and unreliable. "Next input", and the new Stop / Start per input, remain.
lan-streamer 0.1.11
YouTube sign-in against "confirm you're not a bot"; picture and sound in step in YouTube videos over slower lines too; quieter logs.
Added
- "YouTube sign-in" on the admin page: when YouTube answers "Sign in to confirm you're not a bot", upload the cookies (cookies.txt) of a signed-in browser – best of a second Google account. Video link, the playlist and submissions then use them. They stay on the streaming PC and are never shown or sent back again.
Fixed
- Picture and sound still about a second apart in YouTube videos: 0.1.10 started them together, but over a slower line the big picture stream was still filling its buffer while the sound already played. They now start once both have data and full buffers (measured with a picture line just above real time: within 30 ms; it was 0.2 s and more).
- MediaMTX no longer logs "ERR [API] path not found" every 2 s while an ingest input waits for OBS.
- After a plugin update on Windows, leftover work folders (
.old-…,.staging-…) no longer show up as "Skipping plugin" warnings; they are deleted at the next start. - An output could fail to start on Linux with "Could not create handler for stream" when its sound came a moment after the picture.
lan-streamer 0.1.10
Picture and sound stay in step in YouTube videos; no more short hangs when inputs switch; the YouTube input is now "Video link" and plays any site yt-dlp reads (Twitch, ARD/ZDF Mediathek, …); a "Beta" update channel to try fixes before a release.
Added
- The YouTube input is now called "Video link": it plays any link yt-dlp reads – YouTube, Twitch, ARD/ZDF Mediathek, Vimeo and many more – as before a live stream while it is live, or videos one after another. Existing inputs keep working unchanged.
- Update channel "Beta" on the admin page (Updates → Channel): besides the releases it offers the newest Windows build that passed the full tests – to try out fixes before they are released. It moves back to the releases by itself once a newer release is out. Installs from before this version update to a release first.
Fixed
- Picture and sound out of step in YouTube videos (and other sites that send them separately): each started when its own server answered, so a slower sound server left the sound behind for the whole video – half a second and more. They now start together (measured: within 10 ms). After a pause they resume at the same position too.
- Short hangs when switching inputs: stopping the old input could block the output for several seconds on Windows until it restarted itself. The old input now stops in the background.
- An input that failed while starting (e.g. a missing picture file) could stop the next input from starting, or end the output.
output.logon Windows no longer fills up with "OverflowError: Python int too large to convert to C long" (the fix in 0.1.8 did not catch every case).
Changed
- Releases build faster: the CI keeps GStreamer and the other build tools cached for release tags too, instead of downloading GStreamer (424 MB) again for every release.
lan-streamer 0.1.9
Short download or decoder hiccups no longer tear gaps into the sound of YouTube videos and other media; output.log shows whether an input's source is buffering, reconnecting or running.
Changed
- More in
output.logto find stuttering playback: when a media input's source starts buffering, retries or runs again, and with every "delivers …" line its state, how full its buffer is and how often it reconnected. While a source is down, the input plays black and silence, which the frames/sound numbers count too – the state shows whether it is the real picture and sound.
Fixed
- Gaps in the sound of YouTube videos and other media inputs: the sound mixer threw away sound that arrived a little late, so every short hiccup of a download or decoder became a gap. It now waits up to half a second for late sound (the output is that much later).
lan-streamer 0.1.8
Pause and resume an output from the admin page; TikTok submissions download the easier H.264 file; more in the logs to find stuttering playback; no more OverflowError flood in output.log on Windows.
Added
- Pause button on the admin page (next to "Next input"): the output shows a "Paused" card without sound and does not switch inputs. Resume plays the input on from where it was paused (a second before, to pick up again) – files, submissions and videos; a live stream comes back live.
Changed
- Short-video submissions from TikTok now download the H.264 file when there is one, like YouTube already did: TikTok's best file is often H.265, which is harder to decode.
- More in the logs to find playback problems: which format a submission was downloaded in (
lan-streamer.log), which decoders an input got and how many frames and how much sound it delivers per second (output.log, every 10 s).
Fixed
output.logon Windows filled up with "OverflowError: Python int too large to convert to C long" whenever an input started: some GStreamer message types do not fit a number on Windows. They are skipped now.
lan-streamer 0.1.7
Every input about equally loud and no more crackling at loud passages; the standby picture can be uploaded and small logos stay centered; YouTube videos in the playlist; the admin page follows changes by itself; updates no longer stop at a MediaMTX left running.
Added
- Standby: upload the picture on the admin page ("Upload picture…") instead of typing a path on the streaming PC.
- Standby: new setting "Size". auto (default) shows a picture smaller than the screen at its size, centered on black (e.g. a 512×512 logo), and a larger one full screen; fit always scales it to the screen as before; fill covers the whole screen and cuts off the edges.
- SDK 1.2.0:
ImageSource(size=…)with"fit"(default, as before),"auto"and"fill"; a settings field with"format": "image"gets an upload button on the admin page. - The admin page updates by itself when something changes elsewhere – another admin, another tab: plugins turned on or off, inputs, outputs and settings. An open dialog or a field being edited is not overwritten; the page updates after it.
- Playlist: YouTube video links play between files and other links (one per line, like any item). Each is looked up right before it plays; a video that cannot be played (removed, private) is skipped instead of holding up the playlist. New setting "Update yt-dlp", used only when the list has a YouTube link.
- Every input plays about equally loud: the sound of files, streams, YouTube and OBS is measured while it plays and turned up or down smoothly to a common level (quiet sources by up to +12 dB; pauses are not pulled up). No extra delay.
Fixed
- An update could stop with "MediaMTX could not be closed": a MediaMTX (or another program from the install folder) left running by the old version held its files. The installer now ends such leftovers before it installs, and lan-streamer always stops MediaMTX when it ends, even if stopping an output fails.
- Crackling at loud passages: the Opus encoder takes only 16-bit samples, and the peaks of a loud source above full scale (common after decoding and resampling) were cut off hard there. A soft limiter in front of the encoder now bends them down; quieter sound is not touched.
lan-streamer 0.1.6
Short-video submissions from YouTube work again, and a stuck yt-dlp update no longer stops an input. For plugin authors: the SDK on its own.
Added
- Plugin authors no longer need a copy of lan-streamer: the SDK installs on its own as
lanstreamer-sdk(see the plugin guide's quick start). python -m lanstreamer_sdk new <folder>creates a working plugin with tests, ready to check, pack and upload.- New SDK versions are published to PyPI automatically with a release.
- SDK:
FileSource(audio_path=…)plays the sound from a second file.
Changed
python -m lanstreamer_sdk checkandpackrefuse the id of a built-in plugin at once instead of at the upload.
Fixed
- Short-video submissions and YouTube no longer fail to start when a downloaded yt-dlp update cannot replace the old one (
WinError 183, a file in use on Windows): the version in use stays and the switch is tried again at the next start. An update cut off by closing lan-streamer is not used any more. - Short-video submissions from YouTube failed with "Requested format is not available", because YouTube often no longer offers a file with both picture and sound. Picture and sound are now downloaded separately and played together, in up to 1080p.
lan-streamer 0.1.5
Full screen on the streaming PC, set from the admin page, and an output that repairs itself when its video process hangs.
Added
- Player page: a "Full screen" button (or a double-click on the video) shows only the stream in full screen with sound, like
/tv; Esc or a double-click leaves it. - Admin page → "Page on this PC": what lan-streamer opens on the PC it runs on when it starts – the player page (as before), only the stream in full screen with sound (Microsoft Edge in kiosk mode, no click needed; Alt+F4 ends it) or nothing. "Open now" applies it at once.
Changed
- After an update lan-streamer starts again without opening the browser. (Takes effect from the update after this version: the restart is done by the version that was running.)
- An output whose video process hangs (no answer for 5 s) or ends is restarted on its own and plays what should be on air again; the other outputs keep running. Before, lan-streamer stopped completely (or that output stood still). The player and admin pages show "worker restarted N×", and the output log holds where the process hung.
- A switch the video process never answers counts as failed after 30 s instead of blocking the output for ever.