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,
|
exp = new Date().getTime() + streamLifespan,
|
||||||
hmac = sha256(`${streamID},${exp},${iv},${secret}`, hmacSalt),
|
hmac = sha256(`${streamID},${exp},${iv},${secret}`, hmacSalt),
|
||||||
streamData = {
|
streamData = {
|
||||||
service: obj.service,
|
exp: exp,
|
||||||
type: obj.type,
|
type: obj.type,
|
||||||
urls: obj.u,
|
urls: obj.u,
|
||||||
|
service: obj.service,
|
||||||
filename: obj.filename,
|
filename: obj.filename,
|
||||||
exp: exp,
|
|
||||||
audioFormat: obj.audioFormat,
|
audioFormat: obj.audioFormat,
|
||||||
isAudioOnly: !!obj.isAudioOnly,
|
isAudioOnly: !!obj.isAudioOnly,
|
||||||
time: obj.time || false,
|
|
||||||
copy: !!obj.copy,
|
copy: !!obj.copy,
|
||||||
mute: !!obj.mute,
|
mute: !!obj.mute,
|
||||||
metadata: obj.fileMetadata || false
|
metadata: obj.fileMetadata || false
|
||||||
|
|
Loading…
Reference in a new issue