diff --git a/sendrecv/main.ts b/sendrecv/main.ts index 583862f..70148b9 100644 --- a/sendrecv/main.ts +++ b/sendrecv/main.ts @@ -2,7 +2,6 @@ import Sora, { type SoraConnection, type SignalingNotifyMessage, type ConnectionPublisher, - type VideoCodecType, type ConnectionOptions, } from "sora-js-sdk"; import { generateJwt } from "../src/misc"; @@ -13,11 +12,6 @@ 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") || ""; diff --git a/vite-env.d.ts b/vite-env.d.ts index 2577b7a..84377a3 100644 --- a/vite-env.d.ts +++ b/vite-env.d.ts @@ -4,7 +4,7 @@ interface ImportMetaEnv { VITE_SORA_SIGNALING_URL: string; VITE_SORA_CHANNEL_ID_PREFIX: string; VITE_SORA_CHANNEL_ID_SUFFIX: string; - VITE_ACCESS_TOKEN: string; + VITE_SECRET_KEY: string; } interface ImportMeta {