Search Unity

Best Way display Live Stream 360 from Url

Discussion in 'AR/VR (XR) Discussion' started by ooldsnake, May 10, 2016.

  1. ooldsnake

    ooldsnake

    Joined:
    May 6, 2016
    Posts:
    2
    HI,

    I am a beginner on 360 video and VR. I read a lot of blogs and articles about how to display 360 video in unity. I could make it work via this post: http://theta360.guide/blog/unity/2015/12/17/Using-RICOH-Live-View-With-Unity.html
    My next step is to display 360 live stream via a url. (I tested a simple ogg video from a url)

    Here are my questions:
    - Do my link has to finish by the extension ? Like .ogg ? or .mp4?
    - I am using Movie Texture for my tests, it seems only ogg format is working... (http://www.unity3d.com/webplayers/Movie/sample.ogg)
    - Do I have to only focus on the C# code? I mean, no matter is the url, i just have to process video flow and display it into my sphere?

    Many Thanks
     
  2. scottunity

    scottunity

    Joined:
    Feb 1, 2014
    Posts:
    72
    What OS are you on?
    Take a look at Easty Movie Textures on Gear VR and AVPro Video for Windows
     
  3. Sephis

    Sephis

    Joined:
    Sep 4, 2012
    Posts:
    12
    If you don't want to use a plugin, you can use WWW.movie (http://docs.unity3d.com/ScriptReference/WWW-movie.html), but it won't work on mobile and you'll have to convert your videos to .ogg.

    If you prefer to use others video formats, you should use Easy Movie Texture or AVPro like Scottunity said. It's also easier I think.
     
  4. IMUUFR

    IMUUFR

    Joined:
    Jan 31, 2019
    Posts:
    3
    Can anybody help me I need to stream live video from samsung gear 360 to unity