diff --git a/examples/check.html b/examples/check.html
index 716ce47e..b3cc1acc 100644
--- a/examples/check.html
+++ b/examples/check.html
@@ -57,27 +57,7 @@
sendrecv, Opus
recvonly
- チャネル ID: sora-js-sdk:check:multistream:lyra
-
- 要確認ブラウザ:
-
- - Chrome / Edge: (Linux or macOS or Windows) and Android
- - Safari: macOS and iOS
-
-
-
-
-
- multistream, sendrecv, Opus
-
-
- multistream, sendrecv, Lyra
-
-
- multistream, recvonly
-
-
- チャネル ID: sora-js-sdk:check:multistream:e2ee:lyra
+ チャネル ID: sora-js-sdk:check:multistream:e2ee:opus
要確認ブラウザ:
@@ -86,19 +66,19 @@ チャネル ID: sora-js-sdk:check:multistream:e2ee:lyra
現在は E2EE は1ページ1コネクションまでなので、以下のパターンを別々のページで実行すること。
multistream, E2EE, sendrecv, Opus
-
-
-
+
+
+
- multistream, E2EE, sendrecv, Lyra
-
-
-
+ multistream, E2EE, sendrecv, Opus
+
+
+
multistream, E2EE, recvonly
-
-
-
+
+
+
@@ -121,44 +101,40 @@ multistream, E2EE, recvonly
document.getElementById('signalingUrl').value = searchParams.get('signalingUrl');
}
- let multistreamE2eeLyraCheckConnections = [];
- async function startMultistreamE2eeLyraCheck(videoId, role, audioCodecType) {
- stopMultistreamE2eeLyraCheck();
+ let multistreamE2eeOpusCheckConnections = [];
+ async function startMultistreamE2eeOpusCheck(videoId, role, audioCodecType) {
+ stopMultistreamE2eeOpusCheck();
await Sora.initE2EE("https://sora-e2ee-wasm.shiguredo.app/2020.2/wasm.wasm");
- initLyra();
- const channelId = 'sora-js-sdk:check:multistream:e2ee:lyra';
- multistreamE2eeLyraCheckConnections = [
+ const channelId = 'sora-js-sdk:check:multistream:e2ee:opus';
+ multistreamE2eeOpusCheckConnections = [
await connect(channelId, videoId, role, {multistream: true, e2ee: true, audioCodecType})
];
}
- function stopMultistreamE2eeLyraCheck() {
- multistreamE2eeLyraCheckConnections.forEach(x => x.disconnect());
- multistreamE2eeLyraCheckConnections = [];
- document.querySelectorAll('.multistream-e2ee-lyra').forEach(x => x.innerHTML = null);
+ function stopMultistreamE2eeOpusCheck() {
+ multistreamE2eeOpusCheckConnections.forEach(x => x.disconnect());
+ multistreamE2eeOpusCheckConnections = [];
+ document.querySelectorAll('.multistream-e2ee-opus').forEach(x => x.innerHTML = null);
}
- let multistreamLyraCheckConnections = [];
- async function startMultistreamLyraCheck() {
- stopMultistreamLyraCheck();
- initLyra();
+ let multistreamOpusCheckConnections = [];
+ async function startMultistreamOpusCheck() {
+ stopMultistreamOpusCheck();
- const channelId = 'sora-js-sdk:check:multistream:lyra';
- multistreamLyraCheckConnections = [
- await connect(channelId, 'multistream-lyra-sendrecv-opus-videos', 'sendrecv',
+ const channelId = 'sora-js-sdk:check:multistream:opus';
+ multistreamOpusCheckConnections = [
+ await connect(channelId, 'multistream-opus-sendrecv-opus-videos', 'sendrecv',
{multistream: true, audioCodecType: "OPUS"}),
- await connect(channelId, 'multistream-lyra-sendrecv-lyra-videos', 'sendrecv',
- {multistream: true, audioCodecType: "LYRA"}),
- await connect(channelId, 'multistream-lyra-recvonly-videos', 'recvonly',
+ await connect(channelId, 'multistream-opus-recvonly-videos', 'recvonly',
{multistream: true}),
];
}
- function stopMultistreamLyraCheck() {
- multistreamLyraCheckConnections.forEach(x => x.disconnect());
- multistreamLyraCheckConnections = [];
- document.querySelectorAll('.multistream-lyra').forEach(x => x.innerHTML = null);
+ function stopMultistreamOpusCheck() {
+ multistreamOpusCheckConnections.forEach(x => x.disconnect());
+ multistreamOpusCheckConnections = [];
+ document.querySelectorAll('.multistream-opus').forEach(x => x.innerHTML = null);
}
let multistreamCheckConnections = [];
@@ -169,10 +145,6 @@ multistream, E2EE, recvonly
multistreamCheckConnections.push(
await connect(channelId, 'multistream-sendrecv-videos', 'sendrecv', {multistream: true}));
- // Lyra が使えない環境で Lyra 用の初期化処理が悪影響を与えないことを確認するために
- // ここで initLyra() を呼び出しておく。
- initLyra();
-
multistreamCheckConnections.push(
await connect(channelId, 'multistream-recvonly-videos', 'recvonly', {multistream: true}));
}
@@ -202,12 +174,6 @@ multistream, E2EE, recvonly
document.querySelectorAll('.legacystream').forEach(x => x.innerHTML = null);
}
- function initLyra() {
- const modelPath = "https://lyra-wasm.shiguredo.app/2023.1.0/";
- const wasmPath = modelPath;
- Sora.initLyra({wasmPath, modelPath});
- }
-
async function connect(channelId, videoId, role, options) {
const debug = false;
const signalingUrl = document.querySelector('#signalingUrl').value;