<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
<script type="text/javascript">
$( function() {
    var gsWin = window.open('about:blank','nonface');
    var frm =document.nonface;
    frm.action = 'https://lemon.medihere.com/app/vc';
    frm.target ="nonface";
    frm.method ="post";
    frm.submit();

    //$("#nonface").submit();
});
</script>
</head>
<body>
    
    <form id="nonface" name="nonface" action="https://lemon.medihere.com/app/vc">
        <input type="hidden" name="member_name" value="${member_name}" />
        <input type="hidden" name="member_id" value="${member_id}" />
        <input type="hidden" name="room_id" value="${room_id}" />
        <input type="hidden" name="token" value="${token}">
        <input type="hidden" name="api_key" value="${api_key}" />
        <input type="hidden" name="hashData" value="${hashData}">
        <input type="hidden" name="classify" value="p"> <!-- 환자는 p 의료진은 d -->
    </form>
    
    <div id="displayphone">
        <div class="link_alert">
            <span>비대면 진료를 위해 연결중입니다</span>
        </div>
        <div class="box">
            <div class="bigCam"></div>
        </div>
        <div class="icon_list">
            <ul>
                <li>
                    <a href="javascript:;" class="mic">마이크</a>
                </li>
                <li>
                    <a href="javascript:;" class="end">종료</a>
                </li>
                <li>
                    <a href="javascript:;" class="cam">카메라</a>
                </li>
            </ul>
        </div>
    </div>
</body>
</html>