Search Unity

Question Replace camera with Ar Foundation camera?

Discussion in 'AR' started by pneumuel, Jul 28, 2020.

  1. pneumuel

    pneumuel

    Joined:
    Apr 7, 2017
    Posts:
    1
    Hallo everyone,

    Here's my problem.
    I have a WebRTC based application running in a WebView. (more precisely 3D WebView and UniWebView3 from the asset store)

    The feature GetUserMedia() also works via the WebView and I can access my cameras in Unity via the WebView.
    Now I wanted to include AR elements and wonder if it is possible to replace the back camera with the Unity AR Foundation camera?
    Or do you have any other suggestions on how to link AR Foundation with WebRTC?

    I would be very grateful for help.
    Greetings
    Patrick