I finally figured out how to stream my Windows 10 box to my Kodi setup.
Basically I used nginx with some rtmp forwarding to get it to work.
I followed this https://obsproject.com/forum/resources/how-to-set-up-your-own-private-rtmp-server-using-nginx.50/
First I had to set up nginx on a CentOS box, unfortunately I could not use the EPEL packages because I needed a special module.
Luckily it is an easy to build from source
git clone https://github.com/sergey-dryabzhinsky/nginx-rtmp-module.git wget http://nginx.org/download/nginx-1.18.0.tar.gz tar zxvf nginx-1.18.0.tar.gz cd ../nginx-1.18.0/ ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module make make install
Next edit /usr/local/nginx/conf/nginx.conf and append the following
rtmp {
server {
listen 1935;
chunk_size 4096;
application live { live on; record off; } }
}
Then follow start it
/usr/local/nginx/sbin/nginx
From windows use OBS to stream
It works for the most part.
Weight: 316.8