fix: 视频问题修复
This commit is contained in:
parent
2a8f8f65de
commit
9e9b34c0b4
@ -78,7 +78,7 @@ struct Index {
|
|||||||
async onPageShow(): Promise<void> {
|
async onPageShow(): Promise<void> {
|
||||||
console.log("首页 onPageShow")
|
console.log("首页 onPageShow")
|
||||||
await UseAuth(this.context)
|
await UseAuth(this.context)
|
||||||
DifferentialAndSignal.init()
|
// DifferentialAndSignal.init()
|
||||||
DifferentialAndSignal.onMsg(() => {
|
DifferentialAndSignal.onMsg(() => {
|
||||||
console.log("外层接受")
|
console.log("外层接受")
|
||||||
})
|
})
|
||||||
|
|||||||
@ -107,7 +107,7 @@ struct VideoConfigPage {
|
|||||||
Video({
|
Video({
|
||||||
src: this.openFlag ?
|
src: this.openFlag ?
|
||||||
`rtsp://${this.videoConfig.userName}:${this.videoConfig.pwd}@${this.videoConfig.ip}:${this.videoConfig.port}/h264/ch${Reflect.get(this.videoConfig,
|
`rtsp://${this.videoConfig.userName}:${this.videoConfig.pwd}@${this.videoConfig.ip}:${this.videoConfig.port}/h264/ch${Reflect.get(this.videoConfig,
|
||||||
'port')}/main/av_stream` : '',
|
item.td)}/main/av_stream` : '',
|
||||||
currentProgressRate: this.curRate,
|
currentProgressRate: this.curRate,
|
||||||
controller: item.controller
|
controller: item.controller
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user