Bug 59388 - [avfoundation] Missing types
Summary: [avfoundation] Missing types
Status: RESOLVED FIXED
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: XI 10.99 (xcode9)
Hardware: PC Mac OS
: --- normal
Target Milestone: Xcode9
Assignee: Manuel de la Peña [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-09-11 13:50 UTC by Sebastien Pouliot
Modified: 2017-09-18 18:33 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description Sebastien Pouliot 2017-09-11 13:50:56 UTC
xtro reports a lot of missing API include those types

common.unclassified:!missing-type! AVCapturePhoto not bound
common.unclassified:!missing-type! AVCaptureSynchronizedDepthData not bound
common.unclassified:!missing-type! AVCaptureSynchronizedMetadataObjectData not bound
common.unclassified:!missing-type! AVCaptureSynchronizedSampleBufferData not bound
common.unclassified:!missing-type! AVSampleBufferAudioRenderer not bound
common.unclassified:!missing-type! AVSampleBufferRenderSynchronizer not bound

ios.unclassified:!missing-type! AVCaptureDataOutputSynchronizer not bound
ios.unclassified:!missing-type! AVCaptureSynchronizedData not bound
ios.unclassified:!missing-type! AVCaptureSynchronizedDataCollection not bound
Comment 1 Manuel de la Peña [MSFT] 2017-09-11 14:34:38 UTC
PR created and landed: https://github.com/xamarin/xamarin-macios/pull/2637
Comment 2 Sebastien Pouliot 2017-09-11 14:36:05 UTC
wrong bug, those are still missing
Comment 3 Manuel de la Peña [MSFT] 2017-09-11 14:39:50 UTC
Sorry. wrong but, will close the correct one and deal with this.
Comment 4 Alex Soto [MSFT] 2017-09-11 15:02:55 UTC
Moving to confirmed since we know those are missing and Manuel is aware of it.
Comment 5 Rolf Bjarne Kvinge [MSFT] 2017-09-11 16:45:49 UTC
I have some of these done here: https://github.com/rolfbjarne/xamarin-macios/commits/xcode9-avfoundation-simd-matrix
Comment 6 Manuel de la Peña [MSFT] 2017-09-11 16:49:32 UTC
@rolf will you create a pr for those. I'll work with on the missing ones.
Comment 7 Manuel de la Peña [MSFT] 2017-09-11 22:51:22 UTC
Looking at the branch from @rolf

common.unclassified:!missing-type! AVCapturePhoto not bound ->
https://github.com/rolfbjarne/xamarin-macios/commit/4f4f5179378502c23e27c8ef75d94ce5ba76a784#diff-3e3a7654052d26dd3ac35565d852ced3R310

Looking at the current file in the Xcode branch:

common.unclassified:!missing-type! AVCaptureSynchronizedDepthData not bound -> https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L3161

common.unclassified:!missing-type! AVCaptureSynchronizedDepthData not bound ->
https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L3161

common.unclassified:!missing-type! AVCaptureSynchronizedMetadataObjectData not bound ->
https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L3153

common.unclassified:!missing-type! AVCaptureSynchronizedSampleBufferData not bound ->
https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L3139

common.unclassified:!missing-type! AVSampleBufferAudioRenderer not bound -> MISSING

common.unclassified:!missing-type! AVSampleBufferRenderSynchronizer not bound -> MISSING

ios.unclassified:!missing-type! AVCaptureDataOutputSynchronizer not bound -> 
https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L3115

ios.unclassified:!missing-type! AVCaptureSynchronizedData not bound ->
https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L3077

ios.unclassified:!missing-type! AVCaptureSynchronizedDataCollection not bound ->
https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L3086

So unless I'm mistaken, we are only missing AVSampleBufferAudioRenderer and AVSampleBufferRenderSynchronizer which will be added in a new PR.
Comment 8 Manuel de la Peña [MSFT] 2017-09-11 23:14:32 UTC
Thx to @vincent, notice that the code is there but under a #if MONOMAC https://github.com/xamarin/xamarin-macios/blob/xcode9/src/avfoundation.cs#L2986

Will move the code around to fix that in the same PR.
Comment 9 Manuel de la Peña [MSFT] 2017-09-12 12:31:27 UTC
PR can be found here: https://github.com/xamarin/xamarin-macios/pull/2659
Comment 10 Rolf Bjarne Kvinge [MSFT] 2017-09-13 12:35:46 UTC
PR for AVCapturePhoto: https://github.com/xamarin/xamarin-macios/pull/2678
Comment 11 Vincent Dondain [MSFT] 2017-09-18 18:33:51 UTC
Both PRs were merged, closing this issue.