diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index cb030da..12cd017 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -78,7 +78,7 @@ struct Index { async onPageShow(): Promise { console.log("首页 onPageShow") await UseAuth(this.context) - DifferentialAndSignal.init() + // DifferentialAndSignal.init() DifferentialAndSignal.onMsg(() => { console.log("外层接受") }) diff --git a/entry/src/main/ets/pages/VideoConfig.ets b/entry/src/main/ets/pages/VideoConfig.ets index 5eeab82..32c91ca 100644 --- a/entry/src/main/ets/pages/VideoConfig.ets +++ b/entry/src/main/ets/pages/VideoConfig.ets @@ -107,7 +107,7 @@ struct VideoConfigPage { Video({ src: this.openFlag ? `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, controller: item.controller })