| | |
| | | window.streamPath = ""; |
| | | $.ajax({ |
| | | type: "get", |
| | | url: "../../webapi/equipment/getPlayUrl?url=" + video_url, |
| | | url: "../../webapi/media/live?param=" + video_url, |
| | | timeout: 5000, |
| | | async: false, |
| | | success: function (result) { |
| | |
| | | jessibuca.destroy(); |
| | | if (streamPath) { |
| | | $.ajax({ |
| | | type: "delete", |
| | | url: "../../webapi/equipment/deleteStream?streamPath=" + streamPath, |
| | | type: "get", |
| | | url: "../../webapi/media/stop?param=" + streamPath, |
| | | async: false, |
| | | success: function (result) { |
| | | layer_flag = 'open'; |
| | | $('.aside-right').css('left', '81%'); |
| | | $('.aside-right').css('transition', 'left 2s'); |
| | | $('.aside-left').css('left', '1%'); |
| | | $('.aside-left').css('transition', 'left 2s'); |
| | | |
| | | $('#switch_CloseOpen').text("隐藏图层"); |
| | | setTimeout(function () { |
| | | $(".main .main-center .main-center-right").css('display', 'flex'); |
| | | $(".main .main-center .main-center-left").css('display', 'flex'); |
| | | $(".main .main-center .main-base-container").css("display", "none"); |
| | | }, 900); |
| | | } |
| | | }); |
| | | } |