[GH-ISSUE #4099] Hysteria2 inbound causes Discord screen share/video lag in TUN mode while voice works normally #2779

Closed
opened 2026-10-31 20:27:54 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @ARAMU2728 on GitHub (Apr 24, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4099

Describe the bug

Hello.

I noticed a possible issue with Hysteria2 inbound in 3x-ui.

When I use Hysteria2 from 3x-ui in TUN mode, Discord voice works normally, but Discord screen share / video stream starts lagging badly or freezes.

The important detail is that on at least one of the same servers, the same client works normally when I use Hysteria2 created via S-UI. With S-UI, Discord voice and screen share/video stream work fine.

So the issue seems to be related specifically to Hysteria2 generated or handled by 3x-ui.

Additional tests:

I also tested several different client apps: Incy, Happ, and Throne.

The behavior is the same: Discord voice works normally, but Discord screen share/video stream lags or freezes when using Hysteria2 from 3x-ui in TUN mode.

I also tested Hysteria2 from 3x-ui on multiple servers in different countries and cities, and the result was the same.

This makes it less likely to be a single client app issue, a single port issue, or a single server location/datacenter issue.

How to repeat the problem?

  1. Create a Hysteria2 inbound in 3x-ui.
  2. Import the generated Hysteria2 config/subscription into the client.
  3. Enable TUN mode in the client.
  4. Join a Discord voice channel.
  5. Start watching or sharing a screen/video stream.
  6. Voice works normally, but the video/screen share starts lagging or freezing.

Expected action

Discord voice and Discord screen share/video stream should both work normally through Hysteria2 in TUN mode.

The same client and the same server work normally when Hysteria2 is created via S-UI, so I expect Hysteria2 created via 3x-ui to behave the same way.

Received action

Discord voice works normally and stays stable.

However, Discord screen share/video stream lags badly, freezes, or becomes unstable when using Hysteria2 created via 3x-ui in TUN mode.

The issue happens on different ports. It does not happen with Hysteria2 created via S-UI on the same server and client.

3x-ui Version

2.9.2

Xray-core Version

26.4.17

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
Originally created by @ARAMU2728 on GitHub (Apr 24, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4099 ### Describe the bug Hello. I noticed a possible issue with Hysteria2 inbound in 3x-ui. When I use Hysteria2 from 3x-ui in TUN mode, Discord voice works normally, but Discord screen share / video stream starts lagging badly or freezes. The important detail is that on at least one of the same servers, the same client works normally when I use Hysteria2 created via S-UI. With S-UI, Discord voice and screen share/video stream work fine. So the issue seems to be related specifically to Hysteria2 generated or handled by 3x-ui. Additional tests: I also tested several different client apps: Incy, Happ, and Throne. The behavior is the same: Discord voice works normally, but Discord screen share/video stream lags or freezes when using Hysteria2 from 3x-ui in TUN mode. I also tested Hysteria2 from 3x-ui on multiple servers in different countries and cities, and the result was the same. This makes it less likely to be a single client app issue, a single port issue, or a single server location/datacenter issue. ### How to repeat the problem? 1. Create a Hysteria2 inbound in 3x-ui. 2. Import the generated Hysteria2 config/subscription into the client. 3. Enable TUN mode in the client. 4. Join a Discord voice channel. 5. Start watching or sharing a screen/video stream. 6. Voice works normally, but the video/screen share starts lagging or freezing. ### Expected action Discord voice and Discord screen share/video stream should both work normally through Hysteria2 in TUN mode. The same client and the same server work normally when Hysteria2 is created via S-UI, so I expect Hysteria2 created via 3x-ui to behave the same way. ### Received action Discord voice works normally and stays stable. However, Discord screen share/video stream lags badly, freezes, or becomes unstable when using Hysteria2 created via 3x-ui in TUN mode. The issue happens on different ports. It does not happen with Hysteria2 created via S-UI on the same server and client. ### 3x-ui Version 2.9.2 ### Xray-core Version 26.4.17 ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:27:54 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@MHSanaei commented on GitHub (Apr 26, 2026):

two different core
xray vs singbox

<!-- gh-comment-id:4323006740 --> @MHSanaei commented on GitHub (Apr 26, 2026): two different core xray vs singbox
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#2779
No description provided.