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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Video 2018.1 VideoPlayer

Discussion in 'Audio & Video' started by Jon-at-Kaio, May 28, 2018.

  1. Jon-at-Kaio

    Jon-at-Kaio

    Joined:
    Oct 17, 2007
    Posts:
    185
    Hi there,

    Trying to stream 500mb video files from an Azure CDN Optimized for streaming video, and experiencing some stuttering while the stream buffers, Have tried just pausing playback of the video player for 10-15 seconds but it made no difference whatsoever.
    Is there a way of specifying a buffer size or is there something more I can do to optimize the playback.

    I'm beginning to think it may be best to just temporarily download the video when it's selected to temporary storage on the device (iOS btw) before starting playback, but that is likely to be 30-40 seconds of wait time.

    Maybe it's the server technology we're using, and we should just look at some other way of serving the video.

    Any hints, tips or help would be appreciated.
     
  2. jocyf

    jocyf

    Joined:
    Jan 30, 2007
    Posts:
    284
    Maybe trying AssetBundle approach? That way you download the hole video before playing it, right?
     
  3. Jon-at-Kaio

    Jon-at-Kaio

    Joined:
    Oct 17, 2007
    Posts:
    185
    Asset bundles aren't really an option, we're serving individual video files from a microsoft hosted server.

    We've tried a whole range of bitrates and resolutions to make/keep the size down but aren't having much success in getting a stutter free experience.
     
  4. jocyf

    jocyf

    Joined:
    Jan 30, 2007
    Posts:
    284