2
我正在製作一個應用程序,用於播放shoutcast中的音頻。數據流在我的計算機上運行良好,並在Android配置下進行調試。 但是,當我將它部署到APK文件並在Samsung Galaxy S上運行時,流式傳輸不起作用。在AIR中流式傳輸音頻時沒有聲音
我的流媒體音頻代碼:
var urlRequest:URLRequest = new URLRequest("http://.../;");
var soundContext:SoundLoaderContext = new SoundLoaderContext(2000, true);
soundChannel = new SoundChannel();
sound = new Sound(urlRequest, soundContext);
soundChannel = sound.play();
我也試過了的addEventListener(Event.COMPLETE),似乎在三星Galaxy運行時,我的應用程序不會到達那裏。