Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Iphone's camera stream in play mode ?

Discussion in 'iOS and tvOS' started by x2stone, Dec 17, 2014.

  1. x2stone

    x2stone

    Joined:
    Dec 17, 2014
    Posts:
    22
    Hi all,

    I'm on windows 7, running Unity 4.6.1, Vuforia 3.0, and my device is an iPhone 4S on IOS 7 with Unity Remote 4

    Is it possible to test a Unity/Vuforia project in play mode using the iphone's camera as the webcam ? No problem to do it using the webcam integrated to my PC, but not with the iphone's camera (connected in USB and running Unity Remote 4, and "Any IOS device" selected on editor's options). One time i had a "AVerMediaCapture" in the ARcamera device list, but not working using it (black screen)...

    Is it possible or do i test my project using a real webcam only ? Do i need a Pro version ? Do i need to authorize camera access with some code ? Any ideas of what i'm doing wrong ? Is this "AVerMediaCapture" corresponding to the iphone's camera ?

    Thanks for any advice,

    Nicolas.
     
  2. makoto_snkw

    makoto_snkw

    Joined:
    Aug 14, 2013
    Posts:
    340
    You need a Macbook Pro, and XCode, oh and Apple developer license.
     
  3. x2stone

    x2stone

    Joined:
    Dec 17, 2014
    Posts:
    22
    Ok, but this is for the deploy/publish part, and i'm not at that step yet.

    My question was just : in theory, is it possible to see the device´s video stream in the editor in play mode when the device is an iphone connected with Unity Remote 4
     
  4. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Yes, this should work, but might be not compatible with Vuforia plugin.