Search Unity

Video AVPro issues with displaying http stream

Discussion in 'Audio & Video' started by Rdprobotics_alex, Feb 12, 2019.

  1. Rdprobotics_alex

    Rdprobotics_alex

    Joined:
    Feb 12, 2019
    Posts:
    3
    Hello All,

    This is my first post here and I am happy to connect with you all. I'll write something else later introducing myself. For now I'm an engineer consulting with a drone company and have some issues getting an app developed with Unity and AVPro to display an http progressive stream.

    Ultimately the issue is I need to forward an RTSP or UDP stream from a video encoder flying around on the drone to an app pumping the video through unity. It looks like unity and AVPro won't support the RTSP stream directly and so I am transcoding through VLC, or at least that is the plan. I thought first I would start with getting a VLC http stream to display in the test app, and I can't get it to work.

    I can get VLC to create a stream and view the stream in another instance of VLC, no problem. I've tried a bunch of containers and compression schemes and they all work that way. AVPro should support mp4 and h.264, so that's the ideal.

    The test app can view the test streams in the AVPro documentation. No issue there. I cannot display local video from the hard drive ('file not found' error) so I'm assuming the client did not build with that option selected, because the path is correct.

    I turned off the firewall. I've sent video from other machines to this one and to the localhost internally.

    Windows is up to date. Any thoughts?
     
  2. Rdprobotics_alex

    Rdprobotics_alex

    Joined:
    Feb 12, 2019
    Posts:
    3
    Correction, I can display a local file. Somehow the C drive can't be accessed by the app, but a different drive can. Odd.
     
  3. Rdprobotics_alex

    Rdprobotics_alex

    Joined:
    Feb 12, 2019
    Posts:
    3
    I have made sure the file I'm testing with can be displayed in the app as well.
     
  4. pstawicki

    pstawicki

    Joined:
    Oct 24, 2018
    Posts:
    2
    Hi, any success with the stream?
    Do you have a link to integrating vlc into unity?