diff --git a/src/controllers/RTCRelayController.ts b/src/controllers/RTCRelayController.ts index 17a09f7..3881300 100644 --- a/src/controllers/RTCRelayController.ts +++ b/src/controllers/RTCRelayController.ts @@ -11,7 +11,7 @@ import { EventsHelper } from '../helpers/EventsHelper'; export interface RTCSocketMessage { title: string, - callId ?: string, + callHash ?: string, peerId ?: string, data: any } @@ -105,7 +105,7 @@ export class RTCRelayController { private static async SendMessage(msg: RTCSocketMessage) { this.currWs.send(JSON.stringify({ title: msg.title, - callId: msg.callId, + callHash: msg.callHash, peerId: msg.peerId, data: msg.data }));