我无法在任何linux vm机器上播放受DRM保护的dash vidoes,但在其他共享托管apache服务器上也使用了相同的代码

我无法在任何linux vm机器上播放受DRM保护的dash vidoes,但在其他共享托管apache服务器上也使用了相同的代码,apache,video.js,drm,dash.js,shaka,Apache,Video.js,Drm,Dash.js,Shaka,注意:视频url使用许可证密钥和所需数据进行签名。 同样的代码在xampp apache服务器和共享主机中工作,但在linux虚拟机(如ec2、本地ubuntu)上不工作 控制台错误为: IndexedDB.install input_event.js:21 InputEvent.install mathround.js:20 mathRound.install mediasource.js:22 MediaSource.install mediasource.js:76 Using nativ

注意:视频url使用许可证密钥和所需数据进行签名。 同样的代码在xampp apache服务器和共享主机中工作,但在linux虚拟机(如ec2、本地ubuntu)上不工作

控制台错误为:

IndexedDB.install
input_event.js:21 InputEvent.install
mathround.js:20 mathRound.install
mediasource.js:22 MediaSource.install
mediasource.js:76 Using native MSE as-is.
video_play_promise.js:21 VideoPlayPromise.install
vttcue.js:22 Using native VTTCue.
index.js:42 EmeEncryptionSchemePolyfill: EME not found
index.js:251 McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.
patchedmediakeys_nop.js:31 EME not available.
ams.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
microsoft.png:1 Failed to load resource: the server responded with a status of 404 (Not Found)
player.js:567 The walker saw an error:
(anonymous) @ player.js:567
player.js:569 Error Code: 6001
(anonymous) @ player.js:569
完整的html代码是:


共享主机apache服务器上没有出现相同的控制台

我发现了错误,原因是服务器上的ssl配置。要使用受DRM保护的内容,我们需要在live server上使用安全连接