我们自己写的WEB端代码如下:
function testCloseVideo() {
var szpuid = document.getElementById("puid").value;
var channelindex = document.getElementById("id_cindex").value;
var chanel = session.swGetPuChanel(szpuid, channelindex);
var result = chanel.swClose();
if (result != jSW.RcCode.RC_CODE_S_OK) {
alert("打开对讲失败: " + result);
}
}