浏览代码

disable audio

Blake Blackshear 3 年之前
父节点
当前提交
f2d1f7b00f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/src/components/JSMpegPlayer.jsx

+ 1 - 1
web/src/components/JSMpegPlayer.jsx

@@ -13,7 +13,7 @@ export default function JSMpegPlayer({ camera }) {
       playerRef.current,
       url,
       {canvas: canvasRef.current},
-      {protocols: []}
+      {protocols: [], audio: false}
     );
 
     return () => {