Browse Source

视频高清播放

dev
巴林闲侠 2 years ago
parent
commit
8c803f9e6b
  1. 4
      weapp/src/packages/patrol/index.jsx
  2. 4
      web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js
  3. 2
      web/client/src/sections/quanju/containers/footer/leadership/right/hudongVideo.js

4
weapp/src/packages/patrol/index.jsx

@ -515,7 +515,7 @@ const Index = () => {
} }
useEffect(() => { useEffect(() => {
if (!isView) { if (!isView) {
let newRoadList = roadList.filter(e => e.routeName.match(road)) let newRoadList = roadList.filter(e => e?.routeName?.match(road))
let codeRoadSel = [] let codeRoadSel = []
if (newRoadList.length && road != '') { if (newRoadList.length && road != '') {
newRoadList.forEach((e, index) => { newRoadList.forEach((e, index) => {
@ -618,7 +618,7 @@ const Index = () => {
} }
}) })
} }
console.log(handleType,'handleType');
return ( return (
<View className='patrol'> <View className='patrol'>
{/* { {/* {

4
web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js

@ -95,7 +95,9 @@ const Leftcenter = ({ videoCenterList }) => {
containerId={`yingshiPlay_${index}`} containerId={`yingshiPlay_${index}`}
height='100%' height='100%'
width="100%" width="100%"
url={`ezopen://open.ys7.com/${item.deviceSerial}/${item.channelNo || '1'}.live`} // height={410}
// width={310}
url={`ezopen://open.ys7.com/${item.deviceSerial}/${item.channelNo || '1'}.hd.live`}
audio="0" audio="0"
ysToken={item.token} ysToken={item.token}
videoState={{ videoState={{

2
web/client/src/sections/quanju/containers/footer/leadership/right/hudongVideo.js

@ -40,7 +40,7 @@ class ReactCarousel extends Component {
containerId={`yingshiPlay_lu_${index}`} containerId={`yingshiPlay_lu_${index}`}
height='100%' height='100%'
width="100%" width="100%"
url={`ezopen://open.ys7.com/${item.deviceSerial}/${item.channelNo || '1'}.live`} url={`ezopen://open.ys7.com/${item.deviceSerial}/${item.channelNo || '1'}.hd.live`}
audio="0" audio="0"
ysToken={item.token} ysToken={item.token}
videoState={{ videoState={{

Loading…
Cancel
Save