Skip to content

Commit

Permalink
remove: Windows lag information
Browse files Browse the repository at this point in the history
This commit removes fixed Windows lag information.
  • Loading branch information
ThePedroo committed Apr 20, 2024
1 parent 9ac1d2e commit 355ca8e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/connection/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ if (typeof config.voiceReceive.timeout !== 'number')
if (![ 'opus', 'pcm' ].includes(config.voiceReceive.type))
throw new Error('Voice receive type must be either "opus" or "pcm".')

if (process.platform === 'win32')
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')

const server = http.createServer(connectionHandler.requestHandler)
const v4 = new WebSocketServer()
Expand Down

0 comments on commit 355ca8e

Please sign in to comment.