Cover cached output, failed mux binding, converter setup failure and retryable reset retirement through the shipping adapter helpers for one through eight channels. Keep native API mocks distinct from macOS runtime acceptance.
Keep the producer clock and queue budget in source frames. Convert on the recording worker through AudioToolbox, retain converted packets across mux backpressure and retire native input borrows before queue teardown. Preserve the direct path for integral rates and extend conversion contracts through eight channels.
After real SDK unit admission succeeds, build the existing iOS Release application without signing. Assert resolved Metal/AVFoundation/thread/configuration and RTMP/FLV flags, reject FFmpeg, retain Xcode diagnostics and inspect the linked executable's libraries. Use structured subprocess arguments for signing overrides. Keep application-link scope distinct from physical device acceptance.
Derive the native Metal backend from a shared SDK floor rather than a desktop-only target check. Add shared RTMP/FLV flags to the existing Apple network configuration and let griffin include the existing native implementation units. Extend the real SDK audit to compile the actual C frontend using automatic backend admission, with ARC kept out of C compilation.
This is an unlanded integration candidate. SDK compilation, full Apple application linking and physical-device recording/streaming acceptance are pending.
Compile the real session and dedicated worker on eligible iOS/tvOS SDKs and reject older runtimes before startup. Mobile uses verified hardware admission without assuming a desktop GPU registry ID. Preserve desktop enumeration and affinity selection. Expand the opt-in SDK audit to compile capture, session, dispatcher and muxer units, with explicit non-stub and native-slot assertions.
The SDK audit remains a pending gate. This candidate does not enable mobile application feature defines or claim native-device recording acceptance.
Guard mobile hardware require/query keys at their actual SDK and runtime floor. On older supported mobile systems, retain an advertised hardware encoder ID matching the requested codec and verify the created session reports the same ID. Reject malformed, missing and software-only advertisements. Preserve desktop hardware requirement and query behavior.
Portable strict-C89 VideoToolbox fixture suite passes on native MinGW, including hardware-ID admission and retained-list ownership checks. Real iOS SDK compilation and physical-device acceptance remain separate gates; this does not yet enable the mobile recording frontend.
Compile the production wrapper for arm64 iPhoneOS and simulator at iOS 13 and 17.4 deployment floors. Preserve compiler diagnostics and distinguish SDK acceptance from unavailable physical-device encoding tests. The opt-in workflow dispatch isolates this audit without disabling normal default coverage.
Own RTMP setup and socket/producer readiness on the existing dispatcher. Retain independent DNS completion notifications through cancellation, keep native audio conversion on the worker and service the connection before first-picture format binding. Preserve file-mode Mach scheduling and producer retirement barriers.
Add independent native receiver coverage of the URL-owning worker and full network-enabled frontend links with and without threads. Native acceptance remains a gate before frontend streaming selection.
Let an output binder adopt the existing renderer-selected encoder, aligned pool and capture. Keep file recording on that bootstrap and verify null/refused binders retire their cold resources before the next successful startup.
Allow an output-owned producer pump to bind the first encoded sample and expose network readiness without adding network dependencies to the file session. Preserve producer closure barriers, output borrow retirement, encoder teardown and GPU/queue cleanup. Keep the existing file-output path and test both lifecycles.
Keep contiguous PCM in the SPSC ring until acknowledgement and retain bounded staging for wrapped packets. The AVFoundation worker and cancellation drain use this offer; existing copy-based callers retain their queue-capacity behavior. Exercise loan identity, producer pressure, wrapped headers/payloads, EOF and concurrent packet retirement.
Read bounded avcC/hvcC records from the retained-by-caller format and keep header bytes borrowed during cold mux setup. Reject absent or malformed atom values before accessing CFData. Gate native exported headers through the shared FLV mux alongside packet loan checks.
Keep contiguous CoreMedia payloads borrowed until the streaming consumer returns them. Reserve bounded setup storage for fragmented blocks and reject changed formats, inexact clocks and premature reuse. Exercise the view in portable ownership contracts and the native Metal encode pipeline; frontend streaming selection remains unchanged.
Built with ffmpeg 8, libaom 3.13, x265 4.1, glibc 2.43 and clang 21,
five lanes failed on the 26.04 runners:
- AV1 fixtures: a monochrome sequence comes out full range with no
matrix whatever is asked for; the oracle takes the colour ffprobe
reads instead of assuming it.
- Preview audio oracle: ffmpeg 8 leaves a timestamp gap at every seam
of a -stream_loop copy, which the mixer honours and ffmpeg's raw
decode does not. trailing_large loops its picture and encodes its
sound as one track.
- rh265 multi-slice oracle: x265 4.1 writes unreadable slice headers
when two slices are encoded on several threads; those cases encode
on one worker.
- vkms: the kernel follows the runner's own release, its modules may
sit under /usr/lib/modules, and modules-extra is fetched only where
it exists.
- clang -std=c89 -pedantic: glibc's const-generic strchr/strstr under
_GNU_SOURCE are _Generic; -Wno-c11-extensions goes wherever
-Wno-c99-extensions already does.
ci_paths filters a file at the top of a samples tree by its own path.
rh264 and rh265 lose the parameters no instantiation reads, the 8-bit
H.264 kernels mark the depth they ignore, and the AV1 WebM fixtures
leave out the MP4 box writer they never use.
Use the format-ID specifier required by AudioToolbox when selecting AAC sample rates. Validate requested audio settings and retry with the encoder default bitrate when the preset is rejected.
Report refused or failed audio/video appends instead of returning success. Cover the property ABI, buffer release and writer states with portable regressions, and add a native AudioToolbox contract check.
VideoToolbox produced large right-edge errors when encoding a cropped Main10 surface directly. Capture the requested active image into an aligned physical surface, initialize its borders on the GPU, and publish the requested HEVC conformance window through rebuilt CoreMedia format descriptions.
The worker shares compressed data buffers and preserves sample attachments while keeping normalized packets borrowed until acknowledgement. An optional owned context retires cached formats only after normal drain or encoder teardown and GPU retirement. Existing operation tables and the generic physical-size encoder API remain compatible.
Keep the original requested geometry and pixel limits. Validate static/changing SDR, PQ and scRGB under ARC/MRC, independent decoded pixels/HDR tags, and C89 2 KiB frame, sanitizer and ownership checks. No CPU picture copy/readback, render-thread wait or software encoder fallback is added.
The preserved native artifact has identical right-edge errors under three independent FFmpeg versions. Check every captured input against the double-precision reference before submit and add fresh CPU-staged encoder-pool controls. These fixture-only reads/copies do not change production capture, ownership or pixel thresholds.
AudioFormatGetProperty may return fewer ranges than its advertised capacity. Iterate only the returned complete entries, reject oversized or malformed responses and ignore invalid ranges before falling back. Share the helper with the pending native recording mux.
Validation: GCC and Clang C89, 2 KiB frame limit, ASan/UBSan; shortened response reproduces the old invalid rate selection. Native framework validation remains pending.
Add a worker pump over the existing fixed SPSC queue. GPU readiness precedes encoder submission; BUSY retains input, compressed samples stay borrowed through output acknowledgement, partial releases are retryable, and cancellation retires GPU work without encoder reuse. Native bindings connect the Metal capture and VideoToolbox adapters. Require a one-frame encoder delay bound with at least two slots to avoid fixed-pool exhaustion.
Add real-queue failure and 5000-frame threaded tests, plus an independent ARC/MRC native capture-to-encode oracle. GCC/Clang C89, frame budgets, ASan/UBSan, TSan and MinGW/Wine pass locally. Native Apple compilation/execution remains pending CI; mux/audio and renderer/controller integration are not implemented by this commit.
Retain a fixed CoreVideo NV12/P010 pool and writable Metal plane views at setup. GPU conversion crops RGB8, PQ RGB10A2 or linear scRGB into limited-range encoder planes; completion publishes slot ownership without a CPU pixel copy, readback or wait. Producer/worker quiescence and explicit release gate destruction.
Add independent ARC/MRC native capture compilation and double-reference pixel/lifetime tests, separate from hardware encoder availability. This component is not wired to a renderer or recording driver. Local Python/workflow/embedding checks pass; native Objective-C/MSL compilation and GPU execution remain pending hosted Apple CI.
Add a worker-only compression session with hardware-required startup and verification, explicit H264/HEVC8/10 SDR/PQ configuration, immutable retained inputs, bounded callback tickets, FIFO borrowed packets and ordered drain. No recording driver or renderer selects it yet; Metal capture and AVFoundation mux/audio integration remain unfinished.
Add fault-injected C89 ownership/session tests, ASan/UBSan, TSan and MinGW coverage. A separate native Apple oracle requires hardware and independently checks coded tags, YUV pixels and source timing; unavailable cases remain incomplete acceptance. Native compilation and hardware execution are pending the new hosted workflow.