Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support attachVideo() for visionOS. #1395

Merged
merged 1 commit into from Mar 31, 2024
Merged

Support attachVideo() for visionOS. #1395

merged 1 commit into from Mar 31, 2024

Conversation

shogo4405
Copy link
Owner

Description & motivation

I have implemented support for AVCaptureSession on visionOS, as it is available. However, unfortunately, APIs such as https://developer.apple.com/documentation/avfoundation/avcaptureaudiodataoutput/ are not available on visionOS, so the attachAudio functionality could not be opened.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

Screenshots:

@shogo4405 shogo4405 force-pushed the feature/visionos branch 2 times, most recently from 8716b65 to 52fa1ef Compare March 27, 2024 13:35
static let isMultiCamSupported = true
#elseif os(visionOS)
static let isMultiCamSupported = false
Copy link
Owner Author

@shogo4405 shogo4405 Mar 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ The 'stat' is the require reason api. Please check privacy manifest files.

@shogo4405 shogo4405 added this to the 1.7.6 milestone Mar 27, 2024
@shogo4405 shogo4405 marked this pull request as ready for review March 27, 2024 15:27
@shogo4405 shogo4405 merged commit ffdd63f into main Mar 31, 2024
2 checks passed
@shogo4405 shogo4405 deleted the feature/visionos branch March 31, 2024 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant