createStream: removed an outdated variable

This commit is contained in:
wukko 2024-03-05 20:45:54 +06:00
parent c22d76444b
commit 9211b39588

View file

@ -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