Nimble
Member
I'm running an Nginx RTMP server via WSL2 on the same PC I'm running OBS on, I'm using Nginx to push multiple streams to multiple locations.
Most of these streams are coming from FFmpeg outside of OBS, but I'd also like to push my OBS output to two different servers using my Nginx RTMP server. The IP address of my WLS2 instance changes every time I restart my PC, I can circumvent any issues with my FFmpeg instances outside of OBS by using a Powershell variable that returns the WSL2 instance's current IP (
Probably impossible without running another server of some kind, but I thought I'd ask anyways. Would be nice if I could read a file as the server address, I could populate that file at boot with a Powershell script. Any Ideas?
Most of these streams are coming from FFmpeg outside of OBS, but I'd also like to push my OBS output to two different servers using my Nginx RTMP server. The IP address of my WLS2 instance changes every time I restart my PC, I can circumvent any issues with my FFmpeg instances outside of OBS by using a Powershell variable that returns the WSL2 instance's current IP (
$((wsl hostname -I).Trim()
). However, I can't seem to find a way to set the stream address dynamically in OBS...Probably impossible without running another server of some kind, but I thought I'd ask anyways. Would be nice if I could read a file as the server address, I could populate that file at boot with a Powershell script. Any Ideas?