Repository navigation
NAT-335: Add HEVC and 4K upload standardization - #152
Merged
Merged
Conversation
* NAT-481: Add HEVC and 4K public API * Handle missing iOS simulators
* NAT-485: Inspect GOP and keyframe characteristics * NAT-485: Synchronize inspection cancellation
* NAT-486: Plan and validate input standardization * Remove ticket references from validation code * NAT-486: Fix aspect ratio alignment tolerance * Serialize upload cancellation and transport start * Refine cancellation lifecycle synchronization * Isolate upload lifecycle attempts * Scope inspection cancellation to upload attempts
…#143) * NAT-487: Build codec-preserving conversion pipeline * Coordinate conversion cancellation and failures * Modernize input standardization concurrency * Scope standardization cancellation to attempts * Remove ticket references from test fixtures * Improve conversion cancellation coverage
* NAT-488: Add Standard Input encoder controls * Fix edit-list inspection and simulator conversion
* NAT-490: Integrate DirectUpload standardization * Stabilize direct upload fallback test * Make direct upload lifecycle tests deterministic * Isolate asynchronous direct upload tests * Clean up standardized output after upload failure
* NAT-492: Fix timeline validation and preparation pause * NAT-492: Archive external fixture test hooks * Fix deferred inspection test synchronization
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7096faf. Configure here.
daytime-em
approved these changes
Sep 16, 2026
daytime-em
left a comment
Collaborator
There was a problem hiding this comment.
CI passes, Bugbot is happy, everything is already reviewed.. Easy +1 👍
* NAT-493: Update README and sample app * NAT-493: Update DocC API reference
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.

Summary
Add HEVC and high-resolution support to the Swift Upload SDK. Compliant H.264 and HEVC inputs upload without re-encoding; inputs requiring conversion preserve their codec where supported and are validated before upload.
Note
High Risk
Large changes to the upload preprocessing path (inspection, transcoding, validation) and a breaking platform bump to iOS 15; incorrect fallback or HDR handling could affect ingest quality or upload success.
Overview
Adds on-device input standardization for Direct Uploads: inspect H.264/HEVC (codec, HDR, GOP, timeline), evaluate against Mux policy tiers (default 1080p, opt-in 1440p/2160p), then upload as-is, transcode with
AVAssetReader/AVAssetWriter(including HDR preserve or tone-map to SDR), or fall back to the original file when planning/conversion/validation cannot complete. Inspection moves to async Swift concurrency with cancellable operations; standardization workers are actors with explicit cancel and temp-storage preflight.The sample app and README wire
DirectUploadOptions.inputStandardizationto matchingnew_asset_settings.max_resolution_tieron Direct Upload creation and documentnonStandardInputHandler. Minimum iOS/iPadOS is raised from 14 to 15 inPackage.swiftand the podspec.Reviewed by Cursor Bugbot for commit 2dee6fa. Bugbot is set up for automated code reviews on this repo. Configure here.