Commit f8ab2e50 authored by 李纪文's avatar 李纪文

feat: 增加vms视频回放

parent 92da2860
...@@ -24,6 +24,7 @@ const RecVideo = (props, ref) => { ...@@ -24,6 +24,7 @@ const RecVideo = (props, ref) => {
useEffect(() => { useEffect(() => {
changeReplayCfg(); changeReplayCfg();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [props.VideoInfo]); }, [props.VideoInfo]);
useImperativeHandle(ref, () => { useImperativeHandle(ref, () => {
......
...@@ -99,6 +99,7 @@ const ConfigurationView = (props) => { ...@@ -99,6 +99,7 @@ const ConfigurationView = (props) => {
const [domFlag, setDomFlag] = useState(true); const [domFlag, setDomFlag] = useState(true);
const [numerals, setNumerals] = useState(1); const [numerals, setNumerals] = useState(1);
// twoID = `TDG${Date.now().toString(36)}`; // twoID = `TDG${Date.now().toString(36)}`;
const navigatorAgent = /(iPhone|iOS|Android|Windows Phone)/i.test(navigator.userAgent); const navigatorAgent = /(iPhone|iOS|Android|Windows Phone)/i.test(navigator.userAgent);
const AdjustControlInput = useRef(); const AdjustControlInput = useRef();
const AuthorFrom = useRef(); const AuthorFrom = useRef();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment