Skip to content

bugfix: Accept HEVC streams with temporal sub-layers - #13

Open
ghbogarin wants to merge 1 commit into
openmoq:mainfrom
qualabs:fix/hevc-temporal-sublayers
Open

bugfix: Accept HEVC streams with temporal sub-layers#13
ghbogarin wants to merge 1 commit into
openmoq:mainfrom
qualabs:fix/hevc-temporal-sublayers

Conversation

@ghbogarin

@ghbogarin ghbogarin commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

parse_hevc_sps rejected sps_max_sub_layers_minus1 > 0, so no hvcC was built and no video track announced. Apple's low-latency HEVC encoder (hevc.rtvc) uses two sub-layers, which made OBS streams come out audio-only.

Skip the sub-layer PTL instead of refusing it, and grow the RBSP buffer to fit seven of them.


This change is Reviewable

parse_hevc_sps rejected sps_max_sub_layers_minus1 > 0, so no hvcC was built
and no video track announced. Apple's low-latency HEVC encoder (hevc.rtvc)
uses two sub-layers, which made OBS streams come out audio-only.

Skip the sub-layer PTL instead of refusing it, and grow the RBSP buffer to
fit seven of them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant