review for cleanup
This commit is contained in:
@@ -369,7 +369,7 @@ async function handleRtcSignal(rawJson) {
|
|||||||
|
|
||||||
const offer = await peerConnection.createOffer();
|
const offer = await peerConnection.createOffer();
|
||||||
await peerConnection.setLocalDescription(offer);
|
await peerConnection.setLocalDescription(offer);
|
||||||
await waitForIceGatheringComplete(peerConnection);
|
// await waitForIceGatheringComplete(peerConnection);
|
||||||
|
|
||||||
const payload = {
|
const payload = {
|
||||||
type: "rtc_offer",
|
type: "rtc_offer",
|
||||||
@@ -401,7 +401,7 @@ async function handleRtcSignal(rawJson) {
|
|||||||
|
|
||||||
const answer = await peerConnection.createAnswer();
|
const answer = await peerConnection.createAnswer();
|
||||||
await peerConnection.setLocalDescription(answer);
|
await peerConnection.setLocalDescription(answer);
|
||||||
await waitForIceGatheringComplete(peerConnection);
|
// await waitForIceGatheringComplete(peerConnection);
|
||||||
|
|
||||||
const payload = {
|
const payload = {
|
||||||
type: "rtc_answer",
|
type: "rtc_answer",
|
||||||
@@ -530,7 +530,7 @@ async function waitForIceGatheringComplete(pc) {
|
|||||||
});
|
});
|
||||||
} //Remove?
|
} //Remove?
|
||||||
|
|
||||||
window.handleRtcSignal = handleRtcSignal;
|
// window.handleRtcSignal = handleRtcSignal;
|
||||||
|
|
||||||
window.addEventListener("HybridWebViewMessageReceived", function (e) {
|
window.addEventListener("HybridWebViewMessageReceived", function (e) {
|
||||||
LogMessage("Raw message: " + e.detail.message);
|
LogMessage("Raw message: " + e.detail.message);
|
||||||
|
|||||||
@@ -75,8 +75,8 @@ $wtArgs = @(
|
|||||||
"new-tab --title `"RelayCore`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$coreScript`"",
|
"new-tab --title `"RelayCore`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$coreScript`"",
|
||||||
"new-tab --title `"RelayServer`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$serverScript`"",
|
"new-tab --title `"RelayServer`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$serverScript`"",
|
||||||
"new-tab --title `"Keeper317`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$keeperScript`"",
|
"new-tab --title `"Keeper317`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$keeperScript`"",
|
||||||
|
# "new-tab --title `"Test`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$testScript`"",
|
||||||
"new-tab --title `"Ru_Kira`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$kiraScript`""
|
"new-tab --title `"Ru_Kira`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$kiraScript`""
|
||||||
#"new-tab --title `"Test`" `"$ps`" -NoExit -ExecutionPolicy Bypass -File `"$testScript`""
|
|
||||||
) -join " ; "
|
) -join " ; "
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
|
|||||||
Reference in New Issue
Block a user