编码支持h265
This commit is contained in:
		| @@ -196,7 +196,7 @@ | ||||
|         }; | ||||
|         mp4boxfile.onReady = (info) => { | ||||
|           let codec = info.mime.match(/codecs="(\S*),/)[1] | ||||
|           if (codec.indexOf('avc') === -1) { | ||||
|           if (!/(avc|hevc)/.test(codec)) { | ||||
|             return this.$message.error("视频编码格式不支持") | ||||
|           } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user