moq-ffi: media consumer subscribe waits for a sibling broadcast before checking the decoder

オープン 初心者向け
#10,336 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust

調査の方向性

rs/moq-ffi/src/video.rsを読み、resolve_innerがmoq_video::decode::Consumer::newより前に実行されるMoqVideoConsumer::subscribeを見つけてください。音声側の対応箇所も調べてください。issueによると、デコーダーを開くにはカタログ設定だけが必要です。まず、その設定がデコーダーの生成までどのように渡されるかを追ってください。未対応のコーデックに対して、未通知の兄弟ブロードキャストを待つ前にUnsupportedConfigが返されれば完了です。

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

説明

quest

Problem

MoqVideoConsumer::subscribe (and the audio counterpart) resolves the rendition's broadcast before opening the decoder (rs/moq-ffi/src/video.rs, subscribe: resolve_inner runs before moq_video::decode::Consumer::new opens the backend). A rendition whose broadcast points at a sibling that is not announced yet therefore waits for that sibling, even when this machine has no decoder for its codec, for example VP9 in a build without vpx, or AV1 with no NVDEC.

A player that walks ranked renditions, like the OBS MoQ Source (https://github.com/moq-dev/moq/pull/10319), cannot move on to a playable rendition in the catalog's own broadcast until the sibling appears, which may be never.

Notes

  • Opening (or at least probing) the decoder before resolving would turn this into an immediate UnsupportedConfig. The decoder open needs only the catalog config, not the track.
  • video_config already rejects unknown codec names before resolving for the same reason (its comment); this extends that to codecs the build or device cannot decode.

(Written by Claude Opus 5.5)

主要言語
Rust
スター
1.6k
フォーク
251
平均マージ
10時間 10分
マージ済み PR(30日)
822

環境構築

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

はじめの一歩

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

moq-dev/moq のほかの issue

moq-dev/moq の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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