moq-rtmp: select a compatible rendition on push using the server's RTMP capabilities

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

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

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

評価

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

調査の方向性

Start with rs/moq-rtmp/src/dial.rs and compare its push path with the codec-aware rendition selection in rs/moq-rtmp/src/server.rs; first check the kodecs-rtmp API after issue #41 lands. Update the dependency and select a rendition from the advertised RTMP capabilities, handling classic ingest and explicit allow-lists as described. Add push integration tests for AV1 forwarding, classic H.264 selection, and a clean failure when no rendition matches.

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

説明

When moq export rtmp --connect pushes a broadcast (rs/moq-rtmp/src/dial.rs), Client::publish calls FlvExport::new(source, catalog) without filtering by the codecs the destination ingest accepts. A broadcast with a higher-ranked AV1 or Opus track can therefore push unplayable Enhanced RTMP tags to a classic H.264/AAC ingest.

Once https://github.com/moq-dev/kodecs/issues/41 lands and kodecs-rtmp publishes ClientSessionEvent::ConnectionRequestAccepted { caps_ex, video_fourccs, audio_fourccs }:

  • Bump kodecs-rtmp in moq-dev/moq.
  • Use the server's advertised video_fourccs and audio_fourccs in moq-rtmp's Client::publish to select a compatible rendition (matching the listener's codec-aware rendition selection in rs/moq-rtmp/src/server.rs).
  • Treat None as a classic RTMP ingest (legacy FLV codecs: H.264, AAC/MP3) and Some(support) as an explicit Enhanced RTMP allow-list, returning an error when an explicit capability map has no compatible rendition.
  • Add push integration tests covering: an ingest advertising AV1 forwarding receiving AV1, a classic ingest receiving H.264 from a catalog with higher-ranked AV1, and an explicit capability map with no compatible rendition failing cleanly.

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