Skip to content

Connection terminated with error code -1 only on bitrate higher than 5000 #67

@LhymeFruit

Description

@LhymeFruit

It only happens on 5000 bitrate not 10000 or 20000
ive tried 1080p 30, 1080p 60, 720p 60, 720p 30, they ALL do this

Device Description : AMD Radeon RX 6700 XT
Device Vendor ID : 0x00001002
Device Device ID : 0x000073DF
Device Video Mem : 12216 MiB
Device Sys Mem : 0 MiB
Share Sys Mem : 16347 MiB
Feature Level : 0x0000B100
Capture size : 1920x1080
Offset : 0x0
Virtual Desktop : 3520x1827
2025:03:25:22:49:29: Info: Active GPU has HAGS disabled
2025:03:25:22:49:29: Info: Using realtime GPU priority
2025:03:25:22:49:29: Info: Desktop resolution [1920x1080]
2025:03:25:22:49:29: Info: Desktop format [DXGI_FORMAT_B8G8R8A8_UNORM]
2025:03:25:22:49:29: Info: Display refresh rate [165Hz]
2025:03:25:22:49:29: Info: Requested frame rate [60fps]
2025:03:25:22:49:29: Info:
Colorspace : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
Bits Per Color : 8
Red Primary : [0.650391,0.338867]
Green Primary : [0.330078,0.613281]
Blue Primary : [0.148438,0.0527344]
White Point : [0.313477,0.329102]
Min Luminance : 0.5 nits
Max Luminance : 270 nits
Max Full Luminance : 270 nits
2025:03:25:22:49:29: Info: Capture format [DXGI_FORMAT_B8G8R8A8_UNORM]
2025:03:25:22:49:29: Info: SDR color coding [Rec. 601]
2025:03:25:22:49:29: Info: Color depth: 8-bit
2025:03:25:22:49:29: Info: Color range: [MPEG]
[2025:03:25:22:49:42]: Info: CLIENT DISCONNECTED
[2025:03:25:22:50:10]: Info: Web UI: [127.0.0.1] -- not authorized

Moonlight Wii U Configuration

Lines starting with '#' are comments, to edit an option uncomment it by removing the '#'

Hostname or IP-address of host to connect to

address = 192.168.1.23

Video streaming configuration

#width = 1920
#height = 1080
fps = 60

Disables the gamepad so the other controllers are mapped to players 1 to 4

disable_gamepad = false

Swaps the buttons so they match the xbox controller layout

#swap_buttons = false

Automatically connect to the host on startup and start the stream

#autostream = true

Use the absolute touch position for mouse emulation

#absolute_positioning = true

Output rotation (independent of xrandr or framebuffer settings!)

Allowed values: 0, 90, 180, 270

#rotate = 0

Bitrate depends by default on resolution and fps

Set to -1 to enable default

20Mbps (20000) for 1080p (60 fps)

10Mbps (10000) for 1080p or 60 fps

5Mbps (5000) for lower resolution or fps

bitrate = 10000

Size of network packets should be lower than MTU

If streaming with WAN optimizations, this will be capped at 1024.

#packetsize = 1392

Default started application on host

app = Desktop

Play audio on host instead of streaming to client

localaudio = true

Send quit app request to remote after quitting session

#quitappafter = false

Disable all input processing (view-only mode)

#viewonly = false

Enable QOS settings to optimize for internet or local network

yes - optimize for WAN streaming

no - optimize for LAN streaming

auto (default) - decide automatically based on target IP address

remote = no

Enable 5.1/7.1 surround sound

#surround = 5.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions