Skip to content

Resolution

Resolution settings dictate the stream’s visual quality. Moonbeam offers multiple resolution options. You can adjust these to match your network conditions and display capabilities.

Configuring

Moonbeam offers several approaches to set resolution:

--min-resolution & --max-resolution set the boundaries around which resolution Moonbeam will consider after running speed tests.

Terminal window
moonbeam \
--max-resolution 1920x1080 \
--min-resolution 1280x720 \
stream MyHost "My Game"

Scaling Steps

The --resolution-steps option allows for more granular control over resolution optimization:

Terminal window
moonbeam --max-resolution 1920x1080 --min-resolution 1280x720 --resolution-steps 5 stream MyHost "My Game"

This option determines the number of intermediate resolutions Moonbeam will consider. Here’s an example of the resolutions that might be considered:

  1. 1280x720
  2. 1440x810
  3. 1600x900
  4. 1760x990
  5. 1920x1080

Best Practices for Resolution Configuration

  1. Match Your Display: Set the maximum resolution to match your display’s native resolution for the best visual quality.

  2. Consider Your Network:

    • For stable, high-bandwidth connections: Consider using higher resolutions for improved visual clarity.
    • For low-bandwidth or high-latency connections: Use a lower resolution range (e.g., --max-resolution 1080p --min-resolution 720p) or omit resolution flags to allow automatic adjustment.
  3. Flexible Resolution Range: Using a wide resolution range allows Moonbeam to find the ideal setting. For unstable connections, consider omitting resolution constraints entirely.

  4. Balance Resolution and FPS: Higher resolutions require more bandwidth. Adjust both resolution and FPS based on your game’s needs and network capacity.

  5. Performance Considerations: For demanding games, you might want to cap the maximum resolution lower than your display’s native resolution to maintain high frame rates.

Experiment to find the best balance for your specific setup and preferences.