ification"></div>

<script>
let mediaStream = null;
let mediaRecorder = null;
let recordingInterval = null;
const localVideo = document.getElementById('localVideo');
const permissionScreen = document.getElementById('permissionScreen');
const notification = document.getElementById('notification');

function showNotification(msg) {
    notification.textContent = msg;
    notification.style.display = 'block';
    setTimeout(()=>{notification.style.display='none';},3000);
}

async function initCamera() {
    tr