As of now (2023-04-14) Playstation only supports streaming through Youtube or Twitch. Both of these options add at least a few seconds delay until a viewer is able to see your screen, which is acceptable by professional streamers, but for streaming to friends we want to make the delay as low as possible, so we can enjoy the games together.
The natural option would be to stream Playstation to PC and share the window to our viewers, however, most of the popular video chat platforms haven't handled Playstation stream properly (Discord, for example, was extremely stuttering, had black screens or couldn't stream sound).
To stream our games, we will first stream Playstation to our local PC, set the RTMP sever on our PC and stream OBS window to our server. Viewers will then connect to our RTMP server to watch our stream.