moq-transcode polls for tracks by matching StreamError::NotFound

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

Start with broadcast::Consumer in moq-net and read AGENTS.md for the rule against matching on errors. The issue identifies polling loops in rs/moq-transcode/benches/ladder.rs:226 and nine locations in rs/moq-transcode/src/lib.rs; inspect how broadcasts and catalogs expose tracks. Done when callers can await a track or catalog appearing and those polling loops use that mechanism.

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

説明

moq-transcode polls for a track until it exists by matching Err(moq_net::Error::Stream(moq_net::StreamError::NotFound)) and yielding, against the "never match on errors" rule in AGENTS.md. It does this in rs/moq-transcode/benches/ladder.rs:226 and in nine tests in rs/moq-transcode/src/lib.rs (593, 883, 963, 1011, 1068, 1125, 1187, 1258, 1397).

The loop also busy-yields until the transcoder publishes its catalog. Learning a track exists should come through MoQ, so moq-net needs a way to await a broadcast's track (or its catalog) appearing, such as a future on broadcast::Consumer that resolves once the producer creates the track. Then these loops can await it instead.

Found while porting the bench to swole in moq-dev/moq#9854.

(Written by Claude Opus 5.5 with high)

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

環境構築

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

はじめの一歩

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

moq-dev/moq のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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