fix airplay list
This commit is contained in:
parent
720970b2e2
commit
1bcc2f801a
2 changed files with 10 additions and 6 deletions
|
@ -619,6 +619,8 @@ export class BrowserWindow {
|
|||
const ip = req.headers["x-forwarded-for"] || req.connection.remoteAddress;
|
||||
if (!this.chromecastIP.includes(ip)) {
|
||||
this.headerSent = false;
|
||||
this.audioStream._readableState.buffer.clear()
|
||||
this.audioStream._readableState.length = 0
|
||||
this.chromecastIP.push(ip);
|
||||
}
|
||||
req.socket.setTimeout(Number.MAX_SAFE_INTEGER);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue