1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix gb28281 html ret error show

This commit is contained in:
kyxlx550 2020-04-16 18:33:43 +08:00
parent b391ed6206
commit 06412ddddc

View file

@ -976,8 +976,10 @@
$('#sipSessionMessage').html(syntaxHighlight(ret));
if (ret != undefined && ret.code == 0){
$("#btn_sip_query_session").click();
}
}
});
$("#btn_sip_invite").click(function(){
@ -993,8 +995,10 @@
var ret = http_get(apiurl);
$('#sipSessionMessage').html(syntaxHighlight(ret));
if (ret != undefined && ret.code == 0){
$("#btn_sip_query_session").click();
}
}
});
$("#btn_sip_bye").click(function(){
@ -1010,8 +1014,10 @@
var ret = http_get(apiurl);
$('#sipSessionMessage').html(syntaxHighlight(ret));
if (ret != undefined && ret.code == 0){
$("#btn_sip_query_session").click();
}
}
});
$("#btn_sip_querycatalog").click(function(){
@ -1026,9 +1032,10 @@
var apiurl = url + "/api/v1/gb28181?action=sip_query_catalog&id=" + id + "&chid="+chid;
var ret = http_get(apiurl);
$('#sipSessionMessage').html(syntaxHighlight(ret));
if (ret != undefined && ret.code == 0){
$("#btn_sip_query_session").click();
}
}
});
$("#btn_query_channel").click(function(){