Lawrence
2020-12-16 c1204f66156dd97ff765e7b8d847ca4b591b8413
修正转码播放停止后重复回调的错误
1个文件已修改
4 ■■■■ 已修改文件
web_src/src/components/gb28181/devicePlayer.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_src/src/components/gb28181/devicePlayer.vue
@@ -296,7 +296,7 @@
              }).catch(function (e) {});
            that.coverPlaying = false;
            that.convertKey = "";
            if (callback )callback();
            // if (callback )callback();
        },
        playFromStreamInfo: function (realHasAudio, streamInfo) {
@@ -306,7 +306,7 @@
        },
        close: function () {
            console.log('关闭视频');
            if (!this.$refs.videoPlayer){
            if (this.$refs.videoPlayer){
              this.$refs.videoPlayer.pause();
            }
            this.videoUrl = '';