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

Streaming Android camera preview into Unity (without WebCamTexture or plugins)

Discussion in 'Android' started by Virtumonde, Apr 2, 2021.

  1. Virtumonde

    Virtumonde

    Joined:
    Apr 15, 2020
    Posts:
    84
    Hi! I am searching for performant ways of streaming camera previews into Unity. Can you recommend anything? I need access to the camera stream from the Java side, I cannot use the WebCamTexture API or plugins like NatDevice.

    Ideally I would like to use the AndroidX API to make use of either the Preview or the ImageAnalysis use cases and then stream them to Unity.

    Of course I do not expect anything specific. Any suggesting into the right direction would me more than welcome.
     
    Last edited: Apr 2, 2021
  2. Virtumonde

    Virtumonde

    Joined:
    Apr 15, 2020
    Posts:
    84