Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit edbbb2d

Browse files
committed
[feat]支持国标对讲
1 parent d7ccf85 commit edbbb2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
v 0.5.6
1+
v 0.5.7
22
[feta]新增对讲成功回调,用于国标对讲成功,开启视频声音
33

44
[feta]新增对讲失败回调,返回对讲失败错误信息

ezuikit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27754,7 +27754,7 @@ var Talk = /*#__PURE__*/function () {
2775427754

2775527755
if (urlList.length === 2) {
2775627756
// 国标设备
27757-
var talk = "talk://" + window.EZUIKit.opt.deviceSerial + ":0:" + window.EZUIKit.opt.channelNo + ":cas.ys7.com:6500";
27757+
var talk = "talk?dev=" + window.EZUIKit.opt.deviceSerial + "&chann=" + window.EZUIKit.opt.channelNo + "&encodetype=2";
2775827758
window.EZUIKit.opt.talkLink = window.EZUIKit.opt.ttsUrl.split("?")[0] + "/" + talk;
2775927759
window.EZUIKit.opt.talkType = "gb28181";
2776027760
} else {

0 commit comments

Comments
 (0)