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:
parent
b391ed6206
commit
06412ddddc
1 changed files with 12 additions and 5 deletions
|
@ -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(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue