fix: add missing draining state variable in VoiceTransmitter class
Deploy to VPS / deploy (push) Successful in 2m18s
Deploy to VPS / deploy (push) Successful in 2m18s
This commit is contained in:
@@ -27,6 +27,8 @@ export class VoiceTransmitter {
|
|||||||
private gate = Promise.resolve();
|
private gate = Promise.resolve();
|
||||||
/** Set true before sending SIGTERM so exit handler knows it's intentional */
|
/** Set true before sending SIGTERM so exit handler knows it's intentional */
|
||||||
private _expectedExit = false;
|
private _expectedExit = false;
|
||||||
|
/** True while the underlying stream is in a drain state (backpressure) */
|
||||||
|
private draining = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Start listening for PCM audio data from Redis and stream to Discord
|
* Start listening for PCM audio data from Redis and stream to Discord
|
||||||
|
|||||||
Reference in New Issue
Block a user