Paradigm Shift Design

ISHITOYA Kentaro's blog.

音声の再生とlighttpd

色々手順に従ってやってみたけど,どうにもちゃんと動かない.

package radio{
    import flash.net.NetConnection;
    import flash.net.NetStream;
    import flash.media.Sound;
    import flash.media.Video;
    import mx.core.Application;
    
    public class RadioApplication{
        protected var nc:NetConnection = new NetConnection();
        protected var stream:RadioNetStream;
        protected var video:Video;
        public function RadioApplication():void{
            this.nc.connect(null);
            this.stream = new RadioNetStream(this.nc);   
            this.stream.play("http://www.guarana.cc/light/streams/golfers.flv?start=20");
        }
    }
}

とかしても,再生されないのでモジュールが読み込まれていないのではないかと疑うがどうも動いている.


調べるのも面倒なので,ペンディングとして,
Streaming FLV Video via PHP take two
PHPで擬似ストリーミングするってことでいいや.


というかFlashPlayer9なのがいけないのではないかな・・・