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

CameraServer.feeds in iOS returns nothing. #79551

Open
vanoak opened this issue Jul 16, 2023 · 4 comments
Open

CameraServer.feeds in iOS returns nothing. #79551

vanoak opened this issue Jul 16, 2023 · 4 comments

Comments

@vanoak
Copy link

vanoak commented Jul 16, 2023

Godot version

4.1

System information

Godot v4.1.stable - macOS 13.4.1 - Vulkan (Compatibility) - Apple M1 Pro - Apple M1 Pro (10 Threads)

Issue description

Hi,

Hello. Been wanting to port my project from 3.6 to 4.1 but i'm struggling with understanding several sources of information.

  1. My 3.6 project uses the iOS Camera plugin in https://github.com/godotengine/godot-ios-plugins an it works as expected.
  2. From my understanding this plugin I is not being developed to 4.x (Update for Godot 4 godot-sdk-integrations/godot-ios-plugins#47) which is a bummer but not a show stopper because the manual states that CameraServer is available to iOS (https://docs.godotengine.org/en/stable/classes/class_cameraserver.html).
  3. I followed this method (https://www.youtube.com/watch?v=oVyGHeYWYU0) and I was able to get the live feed from the macOS FaceTime Camera;
  4. When I export to iOS, nor the camera authorisation shows up nor the camera feed list returns anything.

What am I doing wrong?

Steps to reproduce

Too many. I am uploading a minimal reproduction project.

Minimal reproduction project

camera_server_clean.zip

@kpk-i710
Copy link

wait, have you tried godot 4 empty project to export for ios work?

m1 air for ios does not work for me, I wanted to do an export
such a mistake
Can't open file from path 'res://new4.2/Images.xcassets/AppIcon.appiconset/Contents.json'.
Can't open file from path 'res://new4.2/Images.xcassets/AppIcon.appiconset/Icon-40.png'

don't know what the problem is?

@vanoak
Copy link
Author

vanoak commented Jul 23, 2023

Do you want to know if I was able to export a project for iOS? Yes, I was. But I'm using 4.1 stable and apparently you are using 4.2. so can't really help you there.

@samgreen
Copy link
Contributor

I believe you will need the privacy settings in the Info.plist to prompt the camera permissions prompt.

@vanoak
Copy link
Author

vanoak commented Sep 24, 2023

Are you referring to "Privacy - Camera Usage Description"? entry?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants