Repository navigation
Run the real GStreamer pipelines in CI - #35
Merged
Merged
Conversation
A gstreamer CI job installs GStreamer and runs the exact audio, video (H.264 and VP8) and speaker pipelines with only the hardware element swapped for a file or test source. Typos in element or property names now fail CI (checked by breaking three of them) instead of on a Pi. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K4B4YKMC6fT9oWCCwWgt9S
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.
Before: the gst-launch pipeline strings (mic audio, H.264 and VP8 video to MJPEG, host speaker capture) were only checked as strings and against a fake gst-launch, so a misspelt element or property would first fail on a Pi.
After: a new
gstreamerCI job installs GStreamer and runs each exact pipeline, swapping only the hardware element (alsasink, uvcsink, alsasrc) for a file sink or test source. It checks that decoded PCM, JPEG frames and Opus RTP actually come out.How:
internal/media/gst_real_test.go(skips unlessGADGETCAST_GST=1, which only that job sets). Locally with GStreamer 1.24: all four pass in about 14 s, and they all fail whenjpegenc quality,opusdecandrtpopuspayare misspelt ingst.go. This is still not a hardware test: the UAC2/UVC devices themselves are not exercised.Generated by Claude Code