Skip to main content
April 5, 2019
Solved

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

  • April 5, 2019
  • 1 reply
  • 1290 views
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
Best answer by
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

Answer
April 5, 2019
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.