createStream: removed an outdated variable
This commit is contained in:
parent
c22d76444b
commit
9211b39588
1 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue