- Home /
Play Video from byte array (mp4) in UWP
Hi,
i am able to receive a byte array at runtime from a client, which represents a mp4 video. I now need to play this video. Is there a way, i can show it directly? Maybe with a MovieTexture?
I am working with Unity 5.5 c# and UWP.
Thanks in advance ;)
Answer by UnityCoach · Dec 26, 2016 at 09:40 PM
Everything you need is here in the docs
Thanks for you answer, but i just can play OGG video files. But i need to play mp4 files, or a way to convert it to OGG. Any Idea?
You can only play those natively on some platform (iOS, android) when you place them in Strea$$anonymous$$g Assets folder. For other platforms, when you import them in the Editor, Unity converts them "offline" for use at runtime. The easiest way would be to convert them to ogg on the server I believe.
Your answer
Follow this Question
Related Questions
IAP Windows Universal 0 Answers
Windows Universal IAP 0 Answers
Coroutine works in editor, but not in build Windows application 0 Answers
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers