diff options
| author | endigma <endigma@mailcat.ca> | 2026-05-04 19:13:43 +0100 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-05-04 21:03:12 +0200 |
| commit | 5e694a633bfe783799735316a008918aa4f93db7 (patch) | |
| tree | 2ec8d6a7ce3be21741c54c87b9f19c9e89faef95 /README.md | |
| parent | 4e84f0e49dd428e1d8c99104c98741ca749ba641 (diff) | |
Allow opus audio codec with mpegts container
The TODO comment next to the opus fallback noted this case was
unhandled. ffmpeg's mpegts muxer does support opus (DVB private-stream
0x06 with "Opus" registration descriptor) and demuxes it back fine,
verified with a live h264+opus mpegts mux/demux roundtrip. Without
this, anyone publishing to MediaMTX/SRT (or any other mpegts sink that
benefits from opus's lower latency vs aac) gets silently downgraded to
aac, which then can't be carried over WebRTC on the playback side.
Treat ".ts" the same as mp4/mkv/webm in select_audio_codec_with_fallback
so -ac opus is honoured when the container is mpegts.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
