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运行时,我的应用程序不会到达那里。