diff --git a/src/streaming/protection/drm/KeySystemClearKey.js b/src/streaming/protection/drm/KeySystemClearKey.js index e877cb2b24..eafda0fcf3 100644 --- a/src/streaming/protection/drm/KeySystemClearKey.js +++ b/src/streaming/protection/drm/KeySystemClearKey.js @@ -111,7 +111,7 @@ function KeySystemClearKey(config) { } function getLicenseRequestFromMessage(message) { - return JSON.parse(String.fromCharCode.apply(null, new Uint8Array(message))); + return JSON.stringify(JSON.parse(String.fromCharCode.apply(null, new Uint8Array(message)))); } function getLicenseServerURLFromInitData(/*initData*/) {