Thank you for the tip. I use Flex2 and Red5 0.5 and i got it working like this:

Flex2:

            public function catchStreams():void
            {
                var streamResponder:Responder = new Responder(getStreamList, null);
                _nc.call("demoService.getStreams", streamResponder);
            }
           
            public function getStreamList(list:Object):void
            {
                var streamList:Array = new Array();
                for(var item:String in list)
                {
                    streamList.push({Stream:list[item]});
                }
            }  


Red5:
public List<String> getStreams(){
        return getBroadcastStreamNames(Red5.getConnectionLocal().getScope());
    }

On 11/9/06, Manolo R.G. <[EMAIL PROTECTED]> wrote:
Hi Filipe
This worked for 0.5:

http://www.osflash.org/pipermail/red5_osflash.org/2006-June/004097.html


Filipe Sousa escribió:
> Hi all,
>
> I just started using red5 and its great!
> I am wondering how you can get the list of all published streams in
> the server so one can choose wich one to play or subscribe.


_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to