Repository navigation
fix(calls): 音声接続が完了してから参加者を表示する - #68
Merged
Merged
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 3 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (19)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
このPRによるapi.jsonの差分 |
🖥 Frontend Diagnostics Report(No significant changes) Requests by resource type
V8 heap snapshot statistics
📦 Bundle StatsChunk size diff (0 updated, 0 added, 0 removed)
Startup chunk size (0 updated, 0 added, 0 removed)
Startup chunks are the Vite entry for
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
⚙️ Backend Diagnostics ReportMemory: After GC(No significant changes) V8 Heap Snapshot Statistics
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Calls の参加者一覧・ユーザーの通話中表示・参加通知を、WebRTC 接続と受信音声の再生開始後に出すようにします。自動再生がブロックされた場合は「音声を再開」が成功するまで表示しません。
入室予約は従来の参加情報として保持し、接続準備に利用します。表示の確定には既存の Redis 接続情報と、connectionId / generation を指定する
callsRoomのreadyコマンドを使います。自分の参加情報は一覧とは別に保持し、再接続中も接続操作を続けられます。Why
入室 API の成功時点で参加者として表示され、まだ相手の声を聞けない接続待ちのユーザーが入室済みに見えていました。#65 の接続待ち短縮に続き、表示のタイミングを実際の音声準備に合わせます。関連: #17。
Additional info (optional)
flowchart TD A["入室を予約・一覧には非表示"] --> B["初期SDP交渉と接続を完了"] B --> C{"受信音声を再生できたか"} C -->|成功| D["現在の接続でreadyを送信"] C -->|自動再生ブロック| E["音声を再開するまで非表示"] E --> C D --> F["参加通知・一覧・通話中表示に反映"]受信トラックがない空の部屋では再生待ちは不要です。DB スキーマ変更・migration はありません。第三者クライアントも
readyの送信が必要になり、配信後は既存クライアントの再読み込みが必要です。プロトコル文書と参照クライアントの通知メソッドも更新しました。検証:
tsgo --noEmit。node scripts/check-shipping.mjs --base origin/develop(変更ファイル lint / SPDX / locale safety)、git diff --check。vue-tsc --noEmitは29件、backend 本体のtsc --noEmitは6件の既存エラー。統合先でも同じ環境で実行し、行番号を除く診断内容が一致することを確認。未ビルドのゲームパッケージや不足依存などに由来します。CHANGELOG 候補: Calls で音声接続・再生の準備が完了してから参加者を表示するように修正。
Checklist