Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cardboard + Chromecast?

Discussion in 'AR/VR (XR) Discussion' started by Scrapemist, Jun 22, 2016.

  1. Scrapemist

    Scrapemist

    Joined:
    May 16, 2015
    Posts:
    16
    Has anybody managed to implement chromecast functionality in a cardboard app? I'm trying to cast a second camera so I get a fullscreen view instead of the two eyes when mirror casting the screen to tv. But so far no succes...app crashes on startup.
    It would be very useful to be able to show others what is being seen through the cardboard.
     
  2. Freezy

    Freezy

    Joined:
    Jul 15, 2012
    Posts:
    234
    you might be better off using a master-slave multiplayer setup

    both stereo rendering and streaming are already a heavy tasks
     
  3. Scrapemist

    Scrapemist

    Joined:
    May 16, 2015
    Posts:
    16
    Doesn't the multuplayer setup also require a second camera to be casted?

    I've managed to make it work with the Google Cast asset. Works very smooth and fast!
     
  4. Red_Dragon69

    Red_Dragon69

    Joined:
    Sep 7, 2015
    Posts:
    113
    May I ask how you've implemented it? No need for source code, but the idea would help me a lot. :)
     
  5. Scrapemist

    Scrapemist

    Joined:
    May 16, 2015
    Posts:
    16
    1. Download the Google cast from the assetstore
    2. Follow the tutorial video that's on the page.
    Note: its already outdate so you can skip a few steps.
    3. add a camera to the "Head".
    4. Set UI to world scale.

    Ready to go!
     
    Red_Dragon69 likes this.
  6. Red_Dragon69

    Red_Dragon69

    Joined:
    Sep 7, 2015
    Posts:
    113
    Thank you :)