|
@@ -377,10 +377,12 @@
|
|
|
this.startTick();
|
|
|
},
|
|
|
startIdentify(){
|
|
|
- this.identifyFace = true
|
|
|
- this.identifyFacePass = false
|
|
|
- this.closeCamera("video")
|
|
|
- this.callCamera("video2")
|
|
|
+ if( !this.closeFace){
|
|
|
+ this.identifyFace = true
|
|
|
+ this.identifyFacePass = false
|
|
|
+ this.closeCamera("video")
|
|
|
+ this.callCamera("video2")
|
|
|
+ }
|
|
|
this.startTick()
|
|
|
},
|
|
|
identifyPassAndPlay(){
|
|
@@ -414,7 +416,7 @@
|
|
|
let media = this.media;
|
|
|
this.tickNum++
|
|
|
// 人脸认证期间
|
|
|
- if( !this.identifyFacePass ) {
|
|
|
+ if( !this.closeFace && !this.identifyFacePass ) {
|
|
|
if( this.onPlay ){
|
|
|
this.doPause()
|
|
|
}
|