ㄴㅇㄹ

This commit is contained in:
2025-09-20 12:06:30 +09:00
parent 66c4d6f7e5
commit 7998bc784c
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ const audioPlayback = document.getElementById('audio-playback');
const peerIdInput = document.getElementById('peer-id-input'); const peerIdInput = document.getElementById('peer-id-input');
// 인스턴스 생성 // 인스턴스 생성
const rtcManager = new WebRTCManager('http://localhost:3001'); const rtcManager = new WebRTCManager('http://hmsn.ink:3001');
const recorder = new AudioRecorder(); const recorder = new AudioRecorder();
const ui = new UIController({ callButton, hangupButton, recordButton, stopRecordButton, audioPlayback, peerIdInput }); const ui = new UIController({ callButton, hangupButton, recordButton, stopRecordButton, audioPlayback, peerIdInput });

View File

@@ -54,6 +54,7 @@ export class WebRTCManager {
this.ws.onopen = () => { this.ws.onopen = () => {
console.log('🔌 시그널링 서버 연결됨'); console.log('🔌 시그널링 서버 연결됨');
this.ws.send(JSON.stringify({type: 'login', sabun:'psn14020'}))
}; };
this.ws.onmessage = (event) => { this.ws.onmessage = (event) => {