diff --git a/RelayClient/Resources/Raw/wwwroot/relaySocket.js b/RelayClient/Resources/Raw/wwwroot/relaySocket.js index 2af41d4..c17f052 100644 --- a/RelayClient/Resources/Raw/wwwroot/relaySocket.js +++ b/RelayClient/Resources/Raw/wwwroot/relaySocket.js @@ -27,11 +27,15 @@ }, receiveRtcSignal(rawJson) { + LogMessage("RelaySocket.receiveRtcSignal hit"); + if (window.RelayRtc?.handleRtcSignal) { + LogMessage("Forwarding RTC signal to RelayRtc.handleRtcSignal"); return window.RelayRtc.handleRtcSignal(rawJson); } if (typeof window.handleRtcSignal === "function") { + LogMessage("Forwarding RTC signal to window.handleRtcSignal"); return window.handleRtcSignal(rawJson); }