Repository navigation
Reject HDMI no-signal starts before engine launch - #13
Merged
Merged
Conversation
Draft
2 of 8 tasks
pjeweb
marked this pull request as ready for review
November 13, 2026 23:13
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
pjeweb
force-pushed
the
osb/pr/hdmi-audio-admission
branch
2 times, most recently
from
November 14, 2026 10:07
75b0697 to
ad35f73
Compare
pjeweb
changed the base branch from
osb/review/hdmi-audio-base
to
osb/integration
November 14, 2026 10:08
pjeweb
added a commit
that referenced
this pull request
Nov 16, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 17, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 18, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 19, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 21, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 22, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 23, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
pjeweb
added a commit
that referenced
this pull request
Nov 24, 2026
Author
|
Still carried in the integration train and not upstream, so it continues as #249. |
pjeweb
added a commit
that referenced
this pull request
Nov 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
If someone presses Start while the HDMI source sends no signal, the streaming engine can get stuck in a cleanup state. After the camera is plugged back in, the next Start can time out, and Stop doesn't always clear it. The streamer is left with a box that won't start, right when they're ready to go live.
What
How: before launching the engine with the onboard HDMI receiver (
/dev/hdmirx), the backend asks the receiver for its DV timings, its report of the incoming video format. Only an explicit "no link" or "no lock" answer stops the Start. This avoids the stuck cleanup path; it doesn't fix the engine's own teardown.docs/HDMI-AUDIO.mddescribes it.The companion image change for automatic HDMI receiver profile selection is openstreambox/image-building-pipeline#6.
Screenshots
Mock data; the same state at the PR base and head.
How to verify
On a box with the onboard HDMI receiver, unplug the camera and press Start: Start is refused with the no-signal message, and the engine isn't launched. Plug the camera back in and Start works on the first try.
apps/backend/src/tests/hdmi-audio-signal.test.tsandaudio-probe-failure-reason.test.tscover unknown answers, non-HDMI pipelines and another selected HDMI input.Testing and limits
Risks
Low. The check only refuses Start on an explicit "no signal" answer; anything unclear behaves as before.
Checklist