开发者

Shoutcast stream buffering with Adobe AIR without using Flash/Flex player?

开发者 https://www.devze.com 2023-01-23 03:40 出处:网络
My application is written in Adobe Air & Jav开发者_如何学PythonaScript and doesn\'t use Flash/Flex.

My application is written in Adobe Air & Jav开发者_如何学PythonaScript and doesn't use Flash/Flex. Air.Sound() is used to play (shoutcast) audio streams. I'm looking for a solution (without using external Flash/Flex players, coz) that can preload (buffer) a few second of audio stream to avoid playback lags and keeping memory usage low.


As far as I know Air 2.5 added Audio and Video html5 tags.

For shoutcast and html 5 audio see this question

Edit: Apparently AIR left out the audio/video tags (because they are an alternative to flash and you get flash on AIR - the way adobe looks at it). So I think the answer is you can't do it without flash. Even if it had the audio tag you'd most probably need to tweak the output streams from the server.

0

精彩评论

暂无评论...
验证码 换一张
取 消