illuspas / Node-Media-Server

A Node.js implementation of RTMP/HTTP-FLV/WS-FLV/HLS/DASH/MP4 Media Server
https://www.npmjs.com/package/node-media-server
MIT License
5.95k stars 1.52k forks source link

Change Ip address #171

Open blackflame007 opened 5 years ago

blackflame007 commented 5 years ago

Hey i'm not sure if this is documented anywhere but I cant seem to find out how to do this. Im trying to access the output of an rtmp feed from obs through my local network to capture as an input though an instance of obs on another computer. Using vlc on the pc with the local server works but I can't seem to find out how to change ip address from localhost. I believe I need to change it to my ipv4, maybe I'd have to use docker to achieve this or maybe I've over looked something. I'd appreciate some input on this matter, thanks

ouweiya commented 5 years ago

You just need to replace localhost with absolute IP. VLC: rtmp://192.***.*.**/live/STREAM_NAME You only need to set the play stream ip, you don't need to set the Publishing live streams.