Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Tutorial:Video Streaming

From Resonite Wiki
This feature is in beta and might not work correctly! Please report any issues you run into!
Due to issues with MediaMTX under Steam Pressure Vessel(GH #6863), graphical Linux clients need a workaround. See: #Linux
If you want to stream OUTSIDE Resonite(To OBS), you might be more interested in Camera#Streaming Camera


Added as a beta in 2026.8.11.1264.

Known internally as 'VideoStreaming', this feature allows sharing of either your desktop or of a custom video stream(For example, from OBS or FFmpeg) to other uses in the session through Resonite's internal networking, requiring no external servers or setup. Because steams are sent to the host and from there to each client, be aware that this can use a lot of bandwidth be careful of hosts with limited resources.

Steams can be disabled in a session on a per role basis through use of the "AllowVideoStreaming" setting in Component:WorldPermissions, allowing streams to, for example, be limited to only builder or admin.

Once a stream is started a viewer will spawn in the world that shows either the current stream or a 'STREAM IS OFFLINE' warning. It is automatically cleared up when the streaming user either leaves the session(?) or they stop the stream.

Desktop Streaming

This allows you to share your desktop directly.

  • To start a desktop stream, go to Desktop tab, open the desktop menu, select a screen and click "Share Screen"
    • This will spawn a custom player out into the world that everyone can see.
    • To stop streaming, either close the stream in-world or repeat the steps above - the button will say "Stop Sharing Screen"

Custom Stream

Allows the streaming from another program on your computer, for example from OBS or FFmpeg.

  • The "Stream Custom Video" button on your Home dash to start this service.
    • Like with desktop streaming this will spawn a custom player into the world that all users can see with a 'STREAM IS OFFLINE' warning and a URI.
    • Start the streaming service and connect as below.
  • Generic:
    • URI: rtmp://127.0.0.1:1935/Resonite
    • Encoding: H264 + AAC
    • Audio Bit Rate: 48000
    • Audio Channels: 2 (It WILL fail on more channels, such as 5.1)
  • OBS settings:
    • Service: Custom
    • Server: rtmp://127.0.0.1:1935
    • Stream key: Resonite
    • Stream must use H264 video codec & AAC audio codec
  • FFmpeg
    • Installed with Resonite and found <install folder>/RuntimeData/ffmpeg.exe It must be run from the command line.
    • Working example: ffmpeg -re -i <INPUT_VIDEO_FILE> -ar 48k -c:v h264 -c:a aac -ac 2 -f flv rtmp://127.0.0.1:1935/Resonite
    • Encoders(-c:v <encoder>) should be chosen based on your GPU: h264_amf for AMD or h264_nvenc for NVIDIA
  • Errors
    • Some videos might not play, for example with ffmpeg, showing: "Error submitting a packet to the muxer: Error number -10054 occurred" This seems to mostly be caused by incorrect encoding settings. (For example, wrong audio bitrate or number of audio channels)

Linux

Custom streams may be available on Linux if the MediaMTX server is run outside of the Proton pressure vessel from a console. There’s a workaround:

  • Before you click the "start stream" dash button, open a terminal in <Resonite install folder>/RuntimeData/MediaMTX
  • Then run ./mediamtx
  • Once it’s running, you should be able to start the stream with the dash button, and then connect to it from OBS or other sources.