pssh-tools
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -59,3 +59,2 @@ "use strict"; | ||
const constructProXML4 = (keyId, licenseUrl, keySeed) => { | ||
console.log('KeySeed:', keySeed); | ||
let key = keySeed && keySeed.length ? generateContentKey(keyId, keySeed) : exports.encodeKey(keyId); | ||
@@ -74,3 +73,2 @@ let xmlArray = ['<WRMHEADER xmlns="http://schemas.microsoft.com/DRM/2007/03/PlayReadyHeader" version="4.0.0.0">']; | ||
const constructProXML = (keyIds, licenseUrl, keySeed) => { | ||
console.log('KeySeed:', keySeed); | ||
let contentKeys = keyIds.map((k) => { | ||
@@ -77,0 +75,0 @@ return keySeed && keySeed.length ? generateContentKey(k, keySeed) : exports.encodeKey(k); |
{ | ||
"name": "pssh-tools", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Tools to generate PSSH Data and PSSH Box", | ||
@@ -5,0 +5,0 @@ "main": "dist/src/index.js", |
@@ -77,3 +77,2 @@ import * as crypto from 'crypto' | ||
const constructProXML4 = (keyId: string, licenseUrl: string, keySeed: string): string => { | ||
console.log('KeySeed:', keySeed) | ||
let key = keySeed && keySeed.length ? generateContentKey(keyId, keySeed) : encodeKey(keyId) | ||
@@ -95,3 +94,2 @@ | ||
const constructProXML = (keyIds: string[], licenseUrl: string, keySeed: string): string => { | ||
console.log('KeySeed:', keySeed) | ||
let contentKeys = keyIds.map((k) => { | ||
@@ -98,0 +96,0 @@ return keySeed && keySeed.length ? generateContentKey(k, keySeed) : encodeKey(k) |
Sorry, the diff of this file is not supported yet
78845
1297