From 318aaef04a66ce923ea9e42be83e523f9301d805 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Fri, 4 Nov 2022 10:34:18 +0800 Subject: [PATCH] =?UTF-8?q?wss=20flv=20=E6=92=AD=E6=94=BE=E5=9B=BD?= =?UTF-8?q?=E6=A0=87=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/client/src/components/videoPlayer/videoPlay.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx index 746b852..4737d92 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx +++ b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx @@ -428,12 +428,14 @@ const VideoPlay = ({ dispatch, actions, isLive: true, hasAudio: false, hasVideo: true, + }, { enableWorker: false, enalleStashBuffer: true, stashInitialSize: 128, lazyLoadMaxDuration: 3 * 60, seekType: 'range', autoCleanupSourceBuffer: true, + cors: true, }); flv.attachMediaElement(container); flv.load();