-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AVFoundation] Simplify code behind + api definition for AVCaptureCon…
…nection. (#14199) * Remove the code behind for AVCaptureConnection.SupportsVideoMinFrameDuration and AVCaptureConnection.SupportsVideoMaxFrameDuration. The codebehind looks like a workaround for Apple renaming the selector, but from history it looks like that happened before the earliest version of iOS we support today, so this can be expressed in an api definition now without any code behind. * Add these fields to macOS, where they're not even deprecated (like they are on other platforms). * Remove conditional code in api definition, and distribute [No*] attributes as required. * Remove the AVCaptureConnection.AudioChannels property from .NET, it doesn't do anything useful.
- Loading branch information
1 parent
08f38b3
commit 66dcb94
Showing
4 changed files
with
24 additions
and
63 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
66dcb94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ [CI Build] Tests failed on Build ❌
Tests failed on Build.
API diff
✅ API Diff from stable
View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
API Current PR diff
ℹ️ API Diff (from PR only) (please review changes)
View API diff
View dotnet API diff
View dotnet legacy API diff
View dotnet iOS-MacCatalayst API diff
Generator diff
ℹ️ Generator Diff (please review changes)
Packages generated
View packages
Test results
1 tests failed, 234 tests passed.
Failed tests
Tests run: 11943 Passed: 10499 Inconclusive: 0 Failed: 3 Ignored: 354)
Pipeline on Agent XAMBOT-1030.BigSur
[AVFoundation] Simplify code behind + api definition for AVCaptureConnection. (#14199)
66dcb94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Tests failed catastrophically on VSTS: device tests iOS (no summary found). 🔥
Result file D:\a\1\s\Reports\TestSummary-iOS64\TestSummary.md not found.
Pipeline on Agent
[AVFoundation] Simplify code behind + api definition for AVCaptureConnection. (#14199)
66dcb94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 Tests failed catastrophically on VSTS: device tests tvOS (no summary found). 🔥
Result file D:\a\1\s\Reports\TestSummary-tvos\TestSummary.md not found.
Pipeline on Agent
[AVFoundation] Simplify code behind + api definition for AVCaptureConnection. (#14199)
66dcb94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Tests failed on macOS Mac Catalina (10.15) ❌
Tests failed on Mac Catalina (10.15).
Failed tests are:
Pipeline on Agent
[AVFoundation] Simplify code behind + api definition for AVCaptureConnection. (#14199)
66dcb94
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Tests failed on macOS M1 - Mac Big Sur (11.5) ❌
Tests failed on M1 - Mac Big Sur (11.5).
Failed tests are:
Pipeline on Agent
[AVFoundation] Simplify code behind + api definition for AVCaptureConnection. (#14199)