From 9211b395887473ce530a66064273cacc3b043ebe Mon Sep 17 00:00:00 2001 From: wukko Date: Tue, 5 Mar 2024 20:45:54 +0600 Subject: [PATCH] createStream: removed an outdated variable --- src/modules/stream/manage.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/modules/stream/manage.js b/src/modules/stream/manage.js index 842499f1..b731c0b8 100644 --- a/src/modules/stream/manage.js +++ b/src/modules/stream/manage.js @@ -24,14 +24,13 @@ export function createStream(obj) { exp = new Date().getTime() + streamLifespan, hmac = sha256(`${streamID},${exp},${iv},${secret}`, hmacSalt), streamData = { - service: obj.service, + exp: exp, type: obj.type, urls: obj.u, + service: obj.service, filename: obj.filename, - exp: exp, audioFormat: obj.audioFormat, isAudioOnly: !!obj.isAudioOnly, - time: obj.time || false, copy: !!obj.copy, mute: !!obj.mute, metadata: obj.fileMetadata || false