Hi,

I need to develop a flex player that can play stream in the protocols
shoutcast, mms and rtmp. I found little material.

Could play a stream a shoutcast radio , the code is below:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
               xmlns:s="library://ns.adobe.com/flex/spark"
               xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600" creationComplete="soundPlay()">

    <fx:Script>
        <![CDATA[

            private var sound:Sound
            private var channel:SoundChannel

            private function soundPlay():void{

                Security.allowDomain("http://
187.17.67.228:9127/;stream.nsv");
                // Nova instancia da classe Sound


                sound=new Sound()
                sound.load(new URLRequest("http://
187.17.67.228:9127/;stream.nsv"))
                // O play() é reaizado sobre um canal, pois é no canal
que
                // podemos alterar o volume
                channel=sound.play();
            }


        ]]>
    </fx:Script>
</s:Application>


But there was an error when play with this link: 
http://radios.microum.com.br:8100
and other protocols (mms and rtmp) do not work.

Some links the radios to test:
rtmp://aovivo.ig.com.br/live/radiooifmbhz
mms://200.175.8.14/estacaopop64

The player must play both protocols conveying what is being played by
a radio station.Any suggestions?!

Thanks !

-- 
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en.

Reply via email to