Releases: muxinc/swift-upload-sdk
Releases · muxinc/swift-upload-sdk
Release list
v1.1.2
v1.1.1
Fixes
- Fixed interrupted uploads so they can resume from the last successfully completed chunk instead of restarting or losing persisted state.
Improvements
- Simplified the sample app upload flow and added controls for resuming failed uploads and uploading another video.
v1.1.0
Fixes
- use mebibytes as chunk size default unit (#118)
- Report cancellation before clearing completion handler by @daytime-em in #127
Full Changelog: v1.0.1...v1.1.0
v1.0.1
Improvements
- Fix compile-time error under some optimizer mode that remove an escape from failed guard condition
v1.0.0
Improvements
- Direct uploads are cancelable while inputs are standardized on the client
- Video inputs can be standardized to 2160p (4K) resolution
- Upload source
AVAssethas the correct URL
Known Issues
- When checking if a video input file is standard or not, the SDK compares an averaged bitrate to a resolution-dependent limit. If different parts of the video input have varying input, the video may require further processing by Mux upon ingestion.
v0.7.0
v0.6.0
v0.5.0
New
- Add an overload initializer for UploadOptions (#81)
Breaking
- Remove prefix use in public APIs and respell Upload as DirectUpload (#84)
- Rename
MuxUpload->DirectUpload - Rename
UploadManager->DirectUploadManagerDirectUploadManager.allManagedUploads()->DirectUploadManager.allManagedDirectUploads()DirectUploadManager.findStartedUpload(ofFile:)->DirectUploadManager.startedDirectUpload(ofFile:)DirectUploadManager.resumeUpload(ofFile:)->DirectUploadManager.resumeDirectUpload(ofFile:)DirectUploadManager.resumeUpload(ofFile:completion:)->DirectUploadManager.resumeDirectUpload(ofFile:completion:)DirectUploadManager.resumeAllUploads()->
DirectUploadManager.resumeAllDirectUploads()
- Rename
UploadsUpdateDelegate->DirectUploadManagerDelegate- Rename
DirectUploadManagerDelegate.uploadListUpdated(with:)->DirectUploadManagerDelegate.didUpdate(managedDirectUploads:)
- Rename
- Rename
MuxUpload.UploadError->DirectUploadError - Rename
MuxErrorCase->DirectUploadError.Kind - Rename
DirectUpload.UploadError.code->DirectUploadError.kind - Remove
Error.asMuxUploadError - Remove
Error.parseAsUploadError(lastSeenUploadStatus:) - Rename
MuxUploadSDK->SDKLogger(This only deals with logging) - Rename
UploadOptions->DirectUploadOptions - Rename and recombine
DirectUpload.InputStatusDirectUpload.InputStatus.uploadSucceededandDirectUpload.InputStatus.uploadFailedtoDirectUpload.InputStatus.finishedDirectUpload.InputStatus.awaitingUploadConfirmationtoDirectUpload.InputStatus.awaitingConfirmationDirectUpload.InputStatus.uploadInProgresstoDirectUpload.InputStatus.transportInProgressDirectUpload.InputStatus.uploadPausedtoDirectUpload.InputStatus.paused
- Rename
DirectUpload.Success->DirectUpload.SuccessDetails - Rename
UploadResult->DirectUploadResult
v0.4.0
API Changes
- Deprecation:
MuxUpload.init(uploadURL:videoFileURL:chunkSize:retriesPerChunk:)has been deprecated and will be removed in a future SDK version. Useinit(uploadURL:inputFileURL:options:)instead. (#48) - Breaking Change:
MuxUpload.startTimenow returns an optional value (#48) - Breaking Change:
MuxUpload.Statushas been renamed toMuxUpload.TransportStatus(#48) - Add:
UploadOptionsstruct to contain all availableMuxUploadoptions (#48) - Add: Options to request or to skip input standardization (#48)
- Add:
MuxUploadinitializer APIs that acceptAVAssetorPHAsset(#48) - Add:
MuxUpload.InputStatusenum to represent the current state of the upload and change handler (#48)
New
- feat: Add support for input standardization, create a playable asset from your direct upload faster. Non-standard files go through an extra normalization step when they are ingested post-upload. When input standardization is requested from the SDK, input video is converted to a standard range of values on a best-effort basis (#48)
Fixes
- Prevent integer overflow when calculating chunk request content ranges (#38)
- Prevent crash from chunk worker force unwrap (#47)
- Remove public methods from internal SDK classes (#51)
- Prevent removal of result handler properties when passing MuxUpload via UploadManager (#61)
Co-authored-by: Emily Dixon edixon@mux.com
Co-authored-by: AJ Lauer Barinov 102617203+andrewjl-mux@users.noreply.github.com
Co-authored-by: AJ Lauer Barinov abarinov@mux.com
Co-authored-by: GitHub noreply@github.com
v0.3.1
Fixes
- fix: Manually-paused uploads don't resume again (#27)
Co-authored-by: Emily Dixon edixon@mux.com
Co-authored-by: GitHub noreply@github.com