Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Backup codec publish robustness follow-ups (from #1159 review)

オープン
#1,162 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
android, flutter, javascript
領域
mobile, testing

調査の方向性

Start by reading addSimulcastTrack, createSimulcastTransceiverSender, restartTrack, and clearSimulcastState in the Flutter SDK, then compare the mentioned JavaScript behavior in LocalParticipant.ts. Trace the existing publish, unpublish, and reconnect tests; the issue also calls for mock e2e container video-publish support. Done means the failure, duplicate, recovery, and cleanup cases are covered and the backup codec republishes as intended.

索引モデルが issue の本文から書いたものです。

説明

Deferred items from the #1159 review, none urgent since #1159 removed the paths that made the first two reachable.

  • No rollback when backup codec publish fails mid flight. addSimulcastTrack inserts into simulcastCodecs before createSimulcastTransceiverSender, a failure leaves the entry with a null sender and the codec will not retry until unpublish or full reconnect. Same structure exists in JS.
  • addSimulcastTrack throws on duplicate where JS logs and skips. Porting JS behavior means a nullable return (breaking API per dart-apitool) or an idempotent skip, needs a small design decision and its own test.
  • Consider restartTrack() during rePublishAllTracks like JS, to recover capture after device sleep.
  • Integration test that unpublish and full reconnect actually invoke clearSimulcastState (needs mock e2e container video publish support).

Cross SDK findings worth reporting upstream while porting this cleanup:

  • JS gates its simulcast cleanup on trackSender non null and PC state, so the stale state fixed by #1159 is reachable there too (LocalParticipant.ts unpublishTrack).
  • Android never clears simulcastCodecs at all.
    Both fail silently because their duplicate handling skips instead of throwing, the backup codec just never republishes.
主要言語
Dart
スター
421
フォーク
260
平均マージ
2日 5時間
マージ済み PR(30日)
17

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

livekit/client-sdk-flutter のほかの issue

livekit/client-sdk-flutter の issue をすべて見る

似ている issue

Dart の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。