���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /usr/local/FlashphonerWebCallServer/client/examples/demo/hls-player/ |
//Init WCS JavaScript API var f = Flashphoner.getInstance(); // Save connection and callee info in cookies function setCookies() { if (notEmpty($("#urlServer").val())) { f.setCookie("urlServer", $("#urlServer").val()); } if (notEmpty($("#playStream").val())) { f.setCookie("playStream", $("#playStream").val()); } } function getCookies() { if (notEmpty(f.getCookie("urlServer"))) { $("#urlServer").val(decodeURIComponent(f.getCookie("urlServer"))); } else { $("#urlServer").val(getHLSUrl()); } if (notEmpty(f.getCookie("playStream"))) { $("#playStream").val(decodeURIComponent(f.getCookie("playStream"))); } else { $("#playStream").val("streamName"); } } function initPage() { getCookies(); var applyFn = function () { var streamName = $("#playStream").val(); var $remoteVideo = $("#remoteVideo"); $remoteVideo.attr("src", $("#urlServer").val() + "/" + streamName + "/" + streamName + ".m3u8"); $remoteVideo.load(); }; $("#applyBtn").prop('disabled', false).click(applyFn); applyFn(); }