From 162e43a1dbb6b6dfd2179222dbd86f2d085fde10 Mon Sep 17 00:00:00 2001 From: voluntas Date: Sat, 11 Jan 2025 16:14:28 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=90=E3=83=83=E3=82=B0=E8=A1=A8?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/e2e-test.yml | 3 ++- sendrecv/main.ts | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 905f515..9adffd6 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -19,7 +19,8 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - node: ["20", "22", "23"] + node: ["20"] + # node: ["20", "22", "23"] # browser: ["chromium", "firefox", "webkit"] browser: ["chromium"] env: diff --git a/sendrecv/main.ts b/sendrecv/main.ts index bdce4b1..583862f 100644 --- a/sendrecv/main.ts +++ b/sendrecv/main.ts @@ -13,6 +13,11 @@ document.addEventListener("DOMContentLoaded", async () => { const channelIdSuffix = import.meta.env.VITE_SORA_CHANNEL_ID_SUFFIX || ""; const secretKey = import.meta.env.VITE_SECRET_KEY || ""; + console.log(`signalingUrl=${signalingUrl}`); + console.log(`channelIdPrefix=${channelIdPrefix}`); + console.log(`channelIdSuffix=${channelIdSuffix}`); + console.log(`secretKey=${secretKey}`); + // パラメータから channelName を取得 const urlParams = new URLSearchParams(window.location.search); const channelName = urlParams.get("channelName") || ""; @@ -80,6 +85,7 @@ class SoraClient { async connect(stream: MediaStream) { if (this.secretKey !== "") { const jwt = await generateJwt(this.channelId, this.secretKey); + console.log(`jwt=${jwt}`); this.connection.metadata = { access_token: jwt, };