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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Record video with Android native camera inside a Scene

Discussion in 'Getting Started' started by lcabrera, Sep 10, 2019.

  1. lcabrera

    lcabrera

    Joined:
    Aug 22, 2019
    Posts:
    2
    Hello, I have project is supposed to have a feature where you can take photos/record a video using the native Android Camera.
    My problem is that I have to access to the camera inside a scene or embebed in something but inside a scene.
    For now, I was able to show the camera and take a photo in a scene using WebCamTexture but I cant record videos using WebCamTexture.
    And I only found plugins that open the native camera app to record videos outside the app.
    Any ideas? Does anyone know a plugin that you can embebed the camera inside the scene?

    Thank you for your help!
     
  2. Alibt_sy

    Alibt_sy

    Joined:
    Nov 6, 2019
    Posts:
    5
    [QUOTE =“ lcabrera,发布:4951670,成员:3580838”]您好,我的项目应该具有一项功能,您可以使用本机Android相机拍照/录制视频。
    我的问题是我必须访问场景内的相机,或者在场景内嵌入某些东西。
    目前,我可以使用WebCamTexture在场景中展示相机并拍照,但无法使用WebCamTexture录制视频。
    而且我只发现了打开本机摄像头应用程序以在应用程序外部录制视频的插件。
    有任何想法吗?有人知道您可以在场景内嵌入相机的插件吗?

    谢谢您的帮助![/ QUOTE]
    NatCorder