Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
6 years ago
Solved

Unity/Rift build : Video error after it plays for a few seconds?

I had videos working fine recently, but as of late I get this error after the video is playing for a few seconds:

"Media Foundation : The current media has type changed for one or more streams in file : C:/Users/foler123/AppData/LocalLow/DTX/otherfolder123/ourvideo.mp4"

What I gather is for some reason the media type is getting updated or changed, but since the video starts playing fine, it seems like the type should be supported.  Any leads or recommended documentation would be appreciated.  Thanks all!

(I changed folder names for security... that's not my actual file structure :P)
Unity version: 2018.2.0f2
  • Anonymous's avatar
    Anonymous
    6 years ago
    Nevermind - as is often the case it was my mistake.  I was calling the download function two places, and it was trying to over-write the other one during run-time.

1 Reply

  • Anonymous's avatar
    Anonymous
    Nevermind - as is often the case it was my mistake.  I was calling the download function two places, and it was trying to over-write the other one during run-time.