moq-rtmp: select a compatible rendition on push using the server's RTMP capabilities
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- rust
- Domain
- audio-video-rtc
Research direction
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.
Written by the indexing model from the issue text.
Description
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-rtmpinmoq-dev/moq. - Use the server's advertised
video_fourccsandaudio_fourccsinmoq-rtmp'sClient::publishto select a compatible rendition (matching the listener's codec-aware rendition selection inrs/moq-rtmp/src/server.rs). - Treat
Noneas a classic RTMP ingest (legacy FLV codecs: H.264, AAC/MP3) andSome(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)
- Dominant language
- Rust
- Stars
- 1.6k
- Forks
- 251
- Avg merge
- 10h 10m
- Merged PRs (30d)
- 822
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from moq-dev/moq
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
moq-dev/moq#10463 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
moq-dev/moq#10460 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
quest
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
moq-dev/moq#10373 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
quest
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
moq-dev/moq#10336 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
[Bug] AM Context Monitor (am-monitor): Session turns count is capped at 80 due to turns.slice(-80)Open
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
lbjlaq/Antigravity-Manager#4180 ·
Maintainers usually reply within 1 day
-
bug triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
zizmorcore/zizmor#2608 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
longbridge/nsh#4201 ·
Maintainers usually reply within 1 day