Hello. I (and probably others) would like to receive a stream from another computer and use it as a source in OBS studio. I have tried a few different things, but for now I have found that running ffplay sort of solve my problem with fairly minimal lag (maybe as low as ~200ms):
That opens up an ffplay instance which listens on port 6788 and pops up a video window when something connects, and I am able to stream from one computer to another. It would be nice to have something like this as a native source in OBS studio. This would allow someone else to act as stream director or stream host or whatever, while someone else might focus on playing.
We have used this trick to stream from an PS4 by hijacking the stream-to-twitch functionality with some iptables redirection rules in the router. Same also works for receiving the video stream from a DJI Phantom Mavic drone connected to the wireless network.
It might not be horribly relevant for everyone, but I would say it opens up a lot of possibilities. I would also think that it might not be that difficult to implement, and might actually have much the same code as the "Media Source" input I see in my OBS.
ffplay -fflags nobuffer -listen 6788 rtmp://0.0.0.0:6788/
That opens up an ffplay instance which listens on port 6788 and pops up a video window when something connects, and I am able to stream from one computer to another. It would be nice to have something like this as a native source in OBS studio. This would allow someone else to act as stream director or stream host or whatever, while someone else might focus on playing.
We have used this trick to stream from an PS4 by hijacking the stream-to-twitch functionality with some iptables redirection rules in the router. Same also works for receiving the video stream from a DJI Phantom Mavic drone connected to the wireless network.
It might not be horribly relevant for everyone, but I would say it opens up a lot of possibilities. I would also think that it might not be that difficult to implement, and might actually have much the same code as the "Media Source" input I see in my OBS.