moq-srt: size the export delay from the negotiated TSBPD latency

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

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

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

評価

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

調査の方向性

Read Play::accept, Client::publish, and the ts::Options::latency setup; check how the connection exposes negotiated send latency after the SRT fork change lands. Add an end-to-end test where the caller requests higher latency than the server, and verify the export delay follows the negotiated value while keeping the one-second floor. The issue is blocked on PR #10185, so confirm that dependency has landed before starting.

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

説明

quest

Problem

A Play and a dial-out Client::publish set the MPEG-TS export delay from the locally configured Config::latency, not from the TSBPD latency the handshake settled on. A caller that asks for a longer receive latency than the server's gets a delay shorter than the buffer it actually runs.

Found on https://github.com/moq-dev/moq/pull/10185 (the SRT fork). Its driver exposes the negotiated latencies on the connection and logs them on accept, but egress still reads the configured value, as it did when srt-tokio hid them. TSBPD negotiates each direction to the larger of the two sides' requests, so the delay only grows, and only for a peer that asked for more.

Plan

  • Pass the connection's negotiated send latency into ts::Options::latency in Play::accept and Client::publish, keeping the one-second floor. Drop Pending::latency and Client::latency if nothing else reads them.
  • Test it end to end: a caller requests a longer latency than the server, and the export's delay follows the caller.

Behaviour: a play's delay grows for a peer that negotiates a longer latency. Public API: none. Wire: none.

Blocked on https://github.com/moq-dev/moq/pull/10185 landing.

(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 を短くまとめたダイジェスト。