Mimir/docs/neighbor-sender-setup.md
2026-05-18 11:52:20 +01:00

3 KiB

Neighbor Sender Setup

Host

  • Sender: 192.168.1.84 / DESKTOP-M9FTRLL
  • SSH: ssh "madman's lullaby@192.168.1.84"
  • Install root: C:\Meta\LocalCastBridge
  • Receiver OBS workstation: 192.168.1.66

Installed State

  • FFmpeg installed through winget as Gyan.FFmpeg 8.1.1.
  • FFmpeg alias path observed:
    • C:\Users\Madman's Lullaby\AppData\Local\Microsoft\WinGet\Links\ffmpeg.exe
  • NVIDIA GPU observed:
    • NVIDIA GeForce RTX 4060 Ti
    • driver 591.86
  • FFmpeg reports:
    • srt input/output protocol
    • h264_nvenc encoder
  • Voicemeeter installed through winget as VB-Audio.Voicemeeter.
  • SoundVolumeView installed through winget as NirSoft.SoundVolumeView.

Sender Config

Live local config on the sender:

C:\Meta\LocalCastBridge\config\localcast.json

Current endpoints:

video:    srt://192.168.1.66:5100?mode=caller&latency=120000
focusrite srt://192.168.1.66:5101?mode=caller&latency=120000
system    srt://192.168.1.66:5102?mode=caller&latency=120000

OBS on the receiver should add listener-mode Media Sources:

video:    srt://0.0.0.0:5100?mode=listener&latency=120000&timeout=5000000
focusrite srt://0.0.0.0:5101?mode=listener&latency=120000&timeout=5000000
system    srt://0.0.0.0:5102?mode=listener&latency=120000&timeout=5000000

As of 2026-05-18, the receiver OBS scene collection at %APPDATA%\obs-studio\basic\scenes\Untitled.json has these sources added to the current scene:

Neighbor PC - Video
Neighbor PC - Focusrite
Neighbor PC - System Audio

The pre-edit backup is next to the scene file with a Untitled.json.localcast-backup-* suffix.

Desktop Launchers

Madman's desktop has:

C:\Users\Madman's Lullaby\Desktop\Start LocalCast Sender.cmd
C:\Users\Madman's Lullaby\Desktop\Stop LocalCast Sender.cmd

Start launcher:

  • runs scripts\sender-start.ps1
  • uses config\localcast.json
  • passes the winget FFmpeg alias path explicitly
  • starts Voicemeeter
  • sets Windows default render to Voicemeeter VAIO3 Input
  • sets Windows default capture to Voicemeeter Out B3

Stop launcher:

  • runs scripts\sender-stop.ps1
  • stops FFmpeg processes whose command line contains srt://
  • restores Windows default render to Focusrite USB Audio\Device\Speakers\Render
  • closes voicemeeter_x64.exe

Audio Reality

FFmpeg DirectShow discovery originally exposed one hardware audio input:

Analogue 1 + 2 (Focusrite USB Audio)

After Voicemeeter install, FFmpeg exposes virtual loopback inputs including:

Voicemeeter Out B3 (VB-Audio Voicemeeter VAIO)

LocalCastBridge uses that device as system-loopback.

Do not rename the loopback in config unless the replacement appears in:

ffmpeg -hide_banner -f dshow -list_devices true -i dummy

If Madman cannot hear local audio while LocalCast is running, open Voicemeeter and set hardware output A1 to the intended physical device, probably Focusrite speakers/headphones. The stream capture itself is independent of OBS.