Skip to content

Commit 355ca8e

Browse files
committed
remove: Windows lag information
This commit removes fixed Windows lag information.
1 parent 9ac1d2e commit 355ca8e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/connection/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ if (typeof config.voiceReceive.timeout !== 'number')
5959
if (![ 'opus', 'pcm' ].includes(config.voiceReceive.type))
6060
throw new Error('Voice receive type must be either "opus" or "pcm".')
6161

62-
if (process.platform === 'win32')
63-
console.warn('[\u001b[33mNodeLink\u001b[37m]: Windows detected, audio sending performance impacted. Consider using a Linux-based (or any OS besides Windows) system. See https://github.com/PerformanC/voice/issues/1')
6462

6563
const server = http.createServer(connectionHandler.requestHandler)
6664
const v4 = new WebSocketServer()

0 commit comments

Comments
 (0)