- Home /
How can I download and play a movie not using the WWW class?
I've already come up with that question in the unity forum.
I want to download a .ogg file not using the WWW class. This is because I don't want any AdBlocker to block my request. So instead I download the file using raw HTTP. Is there any way to get this downloaded data working on a movie texture?
I'm going nuts on this. It's really frustrating me that there is no suitable video solution in Unity. Please help!!!!!!
Thanks in advance, Sebastian
Answer by Dreamside · Mar 08, 2012 at 04:23 PM
If you are using c#, you can do these:
1-Establish a ftp server where you can keep your tracks
2-Create a service that allows you to stream that tracks
3-Use .Net stream library to stream from that ftp adress.
This is the first think that i came up with, i'm not sure if it will work but it sounds appropriate
Thx, but... What makes the difference using ftp in here? I have to assign the downloaded data to a texture anyway and the $$anonymous$$ovieTexture class doesn't provide any suitable api for that.
Furthermore decoding the videostream on server side and pushing textures and audio through your online connection cause way too much traffic. ...if that is what you were thinking about...
Your answer
Follow this Question
Related Questions
Is it possible to download a youtube video from unity 3 Answers
Video won't play in exported game? 3 Answers
WWW interface use which protocol?HTTP? 2 Answers
Problem streaming large movie 1 Answer
Download a file to project 0 Answers