mirror of
https://git.hmsn.ink/call/client.git
synced 2026-03-19 15:54:58 +09:00
ㄴㅇㄹ
This commit is contained in:
@@ -13,7 +13,7 @@ const audioPlayback = document.getElementById('audio-playback');
|
||||
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 ui = new UIController({ callButton, hangupButton, recordButton, stopRecordButton, audioPlayback, peerIdInput });
|
||||
|
||||
|
||||
@@ -54,6 +54,7 @@ export class WebRTCManager {
|
||||
|
||||
this.ws.onopen = () => {
|
||||
console.log('🔌 시그널링 서버 연결됨');
|
||||
this.ws.send(JSON.stringify({type: 'login', sabun:'psn14020'}))
|
||||
};
|
||||
|
||||
this.ws.onmessage = (event) => {
|
||||
|
||||
Reference in New Issue
Block a user