bonc-htmlplayer
Advanced tools
Comparing version 1.0.21 to 1.0.22
{ | ||
"name": "bonc-htmlplayer", | ||
"version": "1.0.21", | ||
"version": "1.0.22", | ||
"description": "东方国信的html播放器内核", | ||
@@ -5,0 +5,0 @@ "main": "./dist/BoncH5Player.js", |
@@ -22,2 +22,3 @@ import './libffmpeg_264_265.js'; | ||
}; | ||
this.isStart = false | ||
@@ -80,13 +81,8 @@ if (audioNode) { | ||
// 处理音频 | ||
if(!this.isStart){ | ||
this.isStart = true; | ||
this.app.dispatch('startSuccess') | ||
} | ||
// try { | ||
// if (this.nalsbonAudioarr && this.nalsbonAudioarr.length > 0) { | ||
// // console.log('处理音频') | ||
// this.handleAudio() | ||
// } | ||
// } catch (err){ | ||
// console.error(err) | ||
// } | ||
this.displayVideoFrame(obj); | ||
@@ -152,2 +148,3 @@ | ||
this.webglPlayer.clear(); | ||
this.isStart = false | ||
} | ||
@@ -154,0 +151,0 @@ |
@@ -158,3 +158,3 @@ import ByteArray from './ByteArray'; | ||
// 验证是否具备h265解码的功能 | ||
this.app.dispatch('onGetVideoCode','H265'); | ||
@@ -165,2 +165,3 @@ this.app.dispatch('h265Info',{ | ||
}) | ||
// this.app.dispatch('') | ||
} | ||
@@ -167,0 +168,0 @@ this.ifDispatchVideoType = false; |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7191174
20110