Skip to content

Commit

Permalink
コード整理
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Jan 11, 2025
1 parent 162e43a commit 42bd2b0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions sendrecv/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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") || "";
Expand Down
2 changes: 1 addition & 1 deletion vite-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 42bd2b0

Please sign in to comment.