- Home /
Streaming of 'ogg' on this platform (Android)
I do not understand why streaming of 'ogg' files is not allowed for Android platform builds. I am simply trying to stream a CC0 / "no rights reserved" ogg file. Here is my code:
WWW www = new WWW("http://whatever.com/whatever.ogg");
source.clip = www.audioClip;
The above code triggers the error response: "Streaming of 'ogg' on this platform is not supported UnityEngine.WWW:get_audioClip() c__Iterator3:MoveNext()"
Answer by Rixarn · Feb 26, 2017 at 01:05 PM
I'm using Unity 5.5.0f3 Personal and I've also had this issue. Ogg loading works fine on PC builds but it fails on Android Builds. My solution while a patch is released is to simply use WAV files...
Your answer
Follow this Question
Related Questions
www return empty text on android 0 Answers
How can i do youtube video player from video url for Android devices ? 0 Answers
Loading ogg though WWW results in 3D Sound, need as 2D... 3 Answers
www not working on android and iOS 0 Answers
Unity WWW gzip 1 Answer