RTMP to Discord stream (GoLive) conversion
This guide sets up nginx to convert a RTMP stream to HLS, which then can be opened in browsers. Discord can then take advantage of Chromium's tab sharing feature to stream the HLS stream. Only a few seconds of latency are added, which is acceptable for most applications.
Note: If your goal is to just get audio streaming working on Linux, this guide might be helpful (It results in lower FPS for me, however):