Live streaming audio on flash site

Hello,
I am new to Flash and I am working on a web page using flash, the page itself is going to be pretty basic, but the situation I am in is this,  we would like to but a live streaming audio feed on the site and I am having trouble figuring out how to add that.  The server it is from is a Broadwave server, and it does stream in MP3.  I would like the audio stream to start automatically when the web page is open.  Any help would be greatly appriciated.

You could build your own player but if you are new to Flash, you might want to just embed or place on the Web page a prebuilt player. For example:
http://www.longtailvideo.com/players/jw-flv-player/
or
http://flowplayer.org/
or
http://ffmp3.sourceforge.net/
each player will have it's own config setup for autoplay etc.
Best wishes,
Adninjastrator

Similar Messages

  • How to open live streaming audio? Like live streaming audio

    like
    i can't play some asf files
    i need help
    i suscribed to a radio station and can't listen to it
    also how can I use Window media player to open some live streaming audio or video instead of quicktime ?

    Install Flip4Mac to enable QuickTime to handle Windows Media files.

  • Live streaming audio

    I'm sure this topic has been discussed several times and I just can't find the answer.  However, I recently purchased a Pre and I cannot listen to any live streaming audio.  Some formats the device won't support and the formats the device will play only plays for 30 seconds.
    Post relates to: Pre p100eww (Sprint)

    Hi, and welcome to the Palm Support Community.
    I haven't tried it yet on my Pre, but it can handle some formats.  I suggest you go to the webOS software board, then use the Search field at the bottom and enter streaming audio.  You'll find several pages of hits including this thread, and links to other sources with lists of stations which work.
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Live Streaming audio not working

    I have a HP Pavilion Elite m9040n with Vista that is not giving me AUDIO on a LIVE STREAMING site where I am taking Continuing Education webcast.  I am using Mozilla Firefox and did put in the newest plugin.  I can hear u-tube audio (those video load very slowly and stop and start).  I have Hughes Net satellite broadband connection.  I tried disabling my McAfee while doing the program but that did not help.

    What version do you see for Flash in System Preferences > Flash > Advanced

  • IOS RTMP live stream audio

    Hi guys hopefully some of you will be able to help me.
    I am trying to stream audio from a live RTMP feed using the NetConnection and NetStream classes. I've managed to get my app running no problem on Android, however I am having some major difficulties getting it to play the audio back on iPad. Interestingly it works in the device emulators when debugging, however I'm assuming this is not really an accurate representation. I've tried streaming the RTMP in both AAC and MP3, but with no luck from either. I can verify through debug that it has connected to the stream, however I just get no audio playing.
    Everything I've read about seems to suggest that this is possible on IOS as I'm only interested in audio and not video. Can anyone help?
    Code sample below (it's quick and dirty! ).
    THanks in advance!
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark" title="Audio" creationComplete="init()">
              <s:layout>
                        <s:VerticalLayout paddingLeft="10" paddingRight="10"
                                                                  paddingTop="10" paddingBottom="10"/>
              </s:layout>
              <fx:Script>
                        <![CDATA[
                                  import flash.media.Video;
                                  import flash.net.NetConnection;
                                  import flash.net.NetStream;
                                  import mx.core.UIComponent;
                                  private var vid:Video;
                                  private var videoHolder:UIComponent;
                                  private var nc:NetConnection;
                                  private var defaultURL:String="[STREAM]";
                                  private var streamName:String="[STREAMNAME]";
                                  private var ns:NetStream;
                                  private var msg:Boolean;
                                  private var intervalMonitorBufferLengthEverySecond:uint;
                                  private function init():void
                                            vid=new Video();
                                            vid.width=864;
                                            vid.height=576;
                                            vid.smoothing = true;                           
                                            //Attach the video to the stage             
                                            videoHolder = new UIComponent();
                                            videoHolder.addChild(vid);
                                            addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError);
                                            grpVideo.addElement(videoHolder);
                                            connect();
                                  public function onSecurityError(e:SecurityError):void
                                            trace("Security error: ");
                                  public function connect():void
                                            nc = new NetConnection();
                                            nc.client = this;
                                            nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
                                            nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
                                            nc.connect(defaultURL);      
                                  public function netStatusHandler(e:NetStatusEvent):void
                                            switch (e.info.code) {
                                                      case "NetConnection.Connect.Success":
                                                                trace("audio - Connected successfully");
                                                                createNS();                
                                                                break;
                                                      case "NetConnection.Connect.Closed":
                                                                trace("audio - Connection closed");                
                                                                //connect();
                                                                break; 
                                                      case "NetConnection.Connect.Failed":
                                                                trace("audio - Connection failed");                
                                                                break;
                                                      case "NetConnection.Connect.Rejected":
                                                                trace("audio - Connection rejected");                                  
                                                                break; 
                                                      case "NetConnection.Connect.AppShutdown":
                                                                trace("audio - App shutdown");                                 
                                                                break;         
                                                      case "NetConnection.Connect.InvalidApp":
                                                                trace("audio - Connection invalid app");                                   
                                                                break; 
                                                      default:
                                                                trace("audio - " + e.info.code + "-" + e.info.description);
                                                                break;                                                                                                    
                                  public function createNS():void
                                            trace("Creating NetStream");
                                            ns=new NetStream(nc);
                                            //nc.call("FCSubscribe", null, "live_production"); // Only use this if your CDN requires it
                                            ns.addEventListener(NetStatusEvent.NET_STATUS, netStreamStatusHandler);
                                            vid.attachNetStream(ns);
                                            //Handle onMetaData and onCuePoint event callbacks: solution at http://tinyurl.com/mkadas
                                            //See another solution at http://www.adobe.com/devnet/flash/quickstart/metadata_cue_points/
                                            var infoClient:Object = new Object();
                                            infoClient.onMetaData = function oMD():void {};
                                            infoClient.onCuePoint = function oCP():void {};        
                                            ns.client = infoClient;
                                            ns.bufferTime = 0;   
                                            ns.play(streamName);  
                                            ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
                                            function asyncErrorHandler(event:AsyncErrorEvent):void {
                                                      trace(event.text);
                                            intervalMonitorBufferLengthEverySecond = setInterval(monPlayback, 1000);
                                  public function netStreamStatusHandler(e:NetStatusEvent):void
                                            switch (e.info.code) {
                                                      case "NetStream.Buffer.Empty":
                                                                trace("audio - Buffer empty: ");
                                                                break;
                                                      case "NetStream.Buffer.Full":
                                                                trace("audio - Buffer full:");
                                                                break;
                                                      case "NetStream.Play.Start":
                                                                trace("audio - Play start:");
                                                                break;
                                                      default:
                                                                trace("audio - " + e.info.code + "-" + e.info.description);
                                                                break;
                                  public function monPlayback():void {
                                            // Print current buffer length
                                            trace("audio - Buffer length: " + ns.bufferLength);
                                            trace("audio - FPS: " + ns.currentFPS);
                                            trace("audio - Live delay: " + ns.liveDelay);
                                  public function onBWDone():void {
                                            //Do nothing
                                  public function onFCSubscribe(info:Object):void {      
                                            // Do nothing. Prevents error if connecting to CDN.    
                                  public function onFCUnsubscribe(info:Object):void {    
                                            // Do nothing. Prevents error if connecting to CDN.    
                        ]]>
              </fx:Script>
              <s:Group id="grpVideo">
              </s:Group>
    </s:View>

    Just an update on this for anyone coming along after me.
    I've managed to get this working on MP3 but not AAC (I guess AAC just isn't supported?).
    My problem was the buffertime. The docs seemed to indicate it shoudl be set to 0 for live streaming, however switching it to "1" solved my problem on the particular stream I was pointing at.
    So essentially justchanged the above line:
                                            ns.bufferTime = 0;  
    to
                                            ns.bufferTime = 1;  
    Would be great to find out if anyone has gotten AAC working however...

  • HTTP Live streaming test in Flash Player, HTML5 player, iphone, android and other smart phones.

    Hi,
    Can anyone please tell me how can I play http live streaming from FMLE 3.2 to Flash player, iphone, ipdad, HTML5 player, Android and other devices?
    I have tried my best to play live streaming usine FMLE 3.2 with help of "http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725df a0-8000.html" but not able to play video using HTTP.
    When I tried to play url-  "http://localhost/hds-live/livepkgr/_definst_/liveevent/livestream.f4m" even in in Strobe Media Player it was showing "Buffering" that's it. But I can play same RTMP URL in Flash AS3 using the netstream very fine.
    Now I want to test the livepkgr content via HTTP to Flash Player, HTML5 Player (on Web browser and smartphones), iphone and other devices.
    Thanks
    Best regards,
    Sunil Kumar

    Hi Sunil,
    It's difficult to debug an issue when you don't have access to the machine and you can't see what's happening, so I request you to please have a little patience.
    For playback just check the following steps and make sure if you have followed them :
    1) Delete the streams folder and any .stream file in the livepkgr
    2) Restart FMS
    3) Make sure you have a crossdomain.xml under root_install/webroot
    4) Publish a stream from FMLE as 'livestream?adbe-live-event=liveevent'
    5) Use this player to playback the stream : http://osmf.org/dev/2.0gm/StrobeMediaPlayback.html?src=http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m
    If there is no playback, here are some checks you can do :
    1) Request for the http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m in your browser. You should receive an xml that looks something like this :
    <?xml version="1.0" encoding="UTF-8" ?>
         <manifest xmlns="http://ns.adobe.com/f4m/1.0">
              <id>livepkgr/events/_definst_/liveevent</id>
                      <mimeType />
              <streamType>live</streamType>
              <duration>0</duration>
              <bootstrapInfo profile="named" url="../../../streams/livepkgr/events/_definst_/liveevent/livestream.bootstrap" id="bootstrap7158" />
              <media streamId="livestream" url="../../../streams/livepkgr/events/_definst_/liveevent/livestream" bootstrapInfoId="bootstrap7158">  
                          <metadata>AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgBAJUUeuFHrhQAFd2lkdGgAQHQAAAAAAA=</m etadata>
                </media>
    </manifest>
    2) Check the access log under Apache to see if the .f4m, .bootstrap and Frag files have been requested and delivered. If a particular entry has a status code of 200 then the file has been served by FMS. You can confirm the same on the client side using a software like fiddler.
    Coming to the player issue, a playback of *f4v via the vod directive is a progressive download, whereas playback of an *f4m file via hds-vod is HTTP streaming. 
    I have personally used Spark VideoPlayer and hence suggested the same.
    You need to add a component like :
    <s:VideoPlayer width="100%" height="30%" chromeColor="#CCCCCC" color="#000000"
                     fontSize="12"
                     source="http://<your-ip>/hds-live/livepkgr/_definst_/liveevent/livestream.f4m"
                        symbolColor="#000000"/>
    Let me know if any of these suggestions help.
    Thanks,
    Apurva

  • Multiple Live Streaming Video in flash?

    Hello Everyone,
    I have this project in mind which I want to create a video
    montage of different live streaming videos from a few different
    users with their webcam in different locations. There will be the
    website which the participants will be able to view the live video
    montage in real time. However, I am unsure of where to start with
    (live video & server). Therefore I will be really thrilled if
    someone knows an example similar to this or someone who can offer
    me a lead in this topic!!
    I have knowledge in flash and abit of actionscripting.
    Much THANKS!!
    jen

    The 2-way video chat module example in the sample chapter
    from "Learning Flash Media Server 3" should give you some ideas.
    Obviously, you only want the 1-way (user to server) part of
    that, as you'll be displaying the video montage I guess in a web
    page as a set of regular flash streams.
    Main page
    http://www.adobe.com/devnet/flashmediaserver/articles/ora_learning_fms3.html
    Sample chapter (PDF) :
    http://www.adobe.com/devnet/flashmediaserver/articles/ora_learning_fms3/learning_fms3_ch05 .pdf
    It looks to be an O'Reilly book, so you may be able to get
    the whole thing online, or get it delivered from O'Reilly or Amazon
    in a few days.

  • Any live streaming browser replace Flash player

    dear Apple
                     Is there any other way to open live streaming on Ipad.
    if any of my friend give me suggetion to use SkyFire  then my answer is this browser is useless.
    Because of this live streaming problem many people ignore this wonderful machince
    kindly tell how i can run live streaming
    Regareds
    Saqib

    Safari can't suppot wrote:
    dear Apple   
    Apple doesn't necessarily read this forum, it's for users.  If you need to talk to Apple go to http://www.apple.com/feedback/ipad.html
    Is there any other way to open live streaming on Ipad.
    if any of my friend give me suggetion to use SkyFire  then my answer is this browser is useless.
    Because of this live streaming problem many people ignore this wonderful machince
    kindly tell how i can run live streaming
    From where?  There are applications that allow you to view video from YouTube, ABC-TV, HBO, and many others places.

  • The Best way to stream audio in Flash CS4

    Hi all.
    I have lots of mp3 audio files on my site (40 or more).
    I am using an audio player and that's working fine but, it takes a while for some of the mp3's to kick in. I have reduced their bit rates from 160 to 128 and In Flash CS4/Publish Settings/Flash I have changed the MP3 to a bit rate of 8kbps. is this OK?
    Anything else I can do to speed things up?
    Regards
    M

    the flash settings won't help download and stream those mp3's faster.  lowering the mp3 bitrates will help.
    and other than ensuring nothing else is loading when you start to stream an mp3, there's nothing you can do to get it to download more quickly.

  • Live streaming audio/video

    I'm looking for advice on how to stream live video, full
    screen at high quality 640x480 30 fps. I need to be able to carry
    on a teleconference between two instances of the program, but also
    support 640x480 at 30 fps. What programs might be needed (encoder?,
    server?)

    Hi tony45371,
    The replies from in2mobile are 100% correct.
    For live video, some server is required. Flash Media Server
    is the required server offered by Adobe (there are competitors
    including open source competitors to Flash Media Server). Also an
    alternative to putting up your own Flash Media Server, may CDNs
    offer Flash Media Server services. You can find a list of CDN
    partners here:
    http://www.adobe.com/products/flashmediaserver/fmsp/
    Are your live events webcasts (e.g. 1 presenter, w/ many
    attendees)? Or 2-way (e.g. multiple presenters)?
    I assume that you require 2-way since your post said "I need
    to be able to carry on a teleconference between two instances of
    the program".
    Following below are links into the browsable version of the
    product documentation (adobe.com/livedocs). Easier to read PDF
    versions can be downloaded here:
    Flash Media Server Developer Guide
    http://livedocs.adobe.com/flashmediaserver/3.0/hpdocs/flashmediaserver_dev_guide.pdf
    All Flash Media Server Documentation
    http://www.adobe.com/support/documentation/en/flashmediaserver/
    2-WAY VIDEO CONFERENCE
    For 2-way you can find a related sample application (with
    explanation and downloadable source code) here:
    Video Conference with Flex & FMS
    http://renaun.com/blog/2006/11/08/147/
    Video Conference with Flex & FMS, Live Demo and Source
    Code
    http://renaun.com/blog/2006/10/28/139/
    You can also find additional code examples in the Flash Media
    Server product documentation here:
    http://www.adobe.com/livedocs/flashmediaserver/3.0/hpdocs/00000082.html
    (Above link, in the PDF version, is in Chapter 4: Developing
    live video applications)
    1-WAY WEBCASTS
    For live webcast events, Flash Media Server includes a free
    companion program "Flash Media Live Encoder 2.5" (aka FMLE). FMLE
    offers higher quality video (H.264 & VP6), and audio (MP3 and
    with a 3rd party plug-in AAC). Details on FMLE here:
    http://www.adobe.com/products/flashmediaserver/flashmediaencoder/
    Following is a link into the product documentation on using
    FMLE 2.5 w/ FMS3:
    Using the live service
    http://www.adobe.com/livedocs/flashmediaserver/3.0/hpdocs/00000031.html
    (Above link, in the PDF version, is in Chapter 2: Streaming
    services)
    You can also find an article written against the older Flash
    Media Server 2 with an earlier version of FMLE here:
    http://www.adobe.com/devnet/flashmediaserver/articles/webcasting_fme.html
    Please post back regarding whether the above answers your
    question, and if you find it helpful :-)
    Best regards,
    g

  • Inserting Metadata events in a live stream using non-flash client app

    Hi all,
    I wish to insert captions into a live flash video stream.
    I found an example here : http://www.adobe.com/devnet/flashmediaserver/articles/metadata_video_streaming_print.html
    but this example uses a Flash client app wich can invoke something like
    video_nc.call("sendDataEvent",null,inputfield_txt.text);
    How can do this without any Flash client/environment ? (I of course still use an FMS 3.5)
    I would like to use a python (or php...whatever) piece of code to extract caption from VBI in the incoming video stream and insert it in the flash stream.
    Any help / experience appreciated.
    Regards
    Michel

    Well, I'll ask it a different way :
    Is there any documentation on the protocol used between Flash client and FMSI so that I can  "fake" the flash client using php ?
    Is there a way to call sendDataEvent function on the FMSI NOT using a Flash client ?
    Thanks
    Regards

  • Motorola Droid - Live Streaming Audio Doesn't Work

    When I try to listen to a live audio stream from http:\\kalx.berkeley.edu, I get a message stating "Cannot download.  The size of the item cannot be determined."  Is there any way I can fix this?

    Solution found!  Download and install XiaaLive (formerly known as DroidLive) from the Google Apps Store for $3.99.  It supports AAC+, aac, m3u, pls, mp3, mp4, m4a and mpeg audio formats!

  • Video & Audio Live Streaming

    Hi all,
    Sorry for my lack of knowledge...I am would like to do a
    Live Video & Audio Live Streaming (Teleconferencing)
    in Flash 8 Pro.
    Is it possible?
    How do I start & what do I need/have to make it a
    success?
    Please sum1 help me on this...Thanks Loads.

    To do conferencing with live Video and Audio streams, you
    would almost definitely need Flash Media Server. Look into
    that.

  • Live streaming

    I have tried just about everything with this. I have to say
    that the documentation for VOD is excellent but there is very
    little coherent documentation for the live service.
    How do i tell the application that this is a live stream that
    I want it to connect to? I know there is a parameter called isLive
    that can be set to true or false. How do I do that? I thought you
    did not have to write code for the built in apps? Or am I totally
    off base?
    Anyway, I am streaming audio from flash media encoder 2.5 to
    my flash media server 3. All I want to do is publish the live app
    like I do the VOD app, so end users can access it from a web
    server.

    Im sure you have already solved this but just in case you haven't check you JAVA settings. The live stream uses java.

  • Trouble with streaming audio on firefox 4 - mac intel 10.6 with quictime plug-in 7.6?

    recently having trouble playing streaming audio from these sites:
    1. merriam webster pronunciation popup link:
    http://www.merriam-webster.com/audio.php?file=puissa01&word=puissance&text=\%3Cspan%20class%3D%22unicode%22%3E%CB%88%3C%2Fspan%3Epwi-s%3Csup%3E%C9%99%3C%2Fsup%3En%28t%29s%2C%20%3Cspan%20class%3D%22unicode%22%3E%CB%88%3C%2Fspan%3Epy%C3%BC-%C9%99-s%C9%99n%28t%29s%2C%20py%C3%BC-%3Cspan%20class%3D%22unicode%22%3E%CB%88%3C%2Fspan%3Ei-s%3Csup%3E%C9%99%3C%2Fsup%3En%28t%29s\
    The following mp3 link/streams are a gamble, b/c they're often buggy in FF4 yet they always work great in safari:
    2. http://www.knbr.com/portals/3/podcasts/murphmac/0520petergammons.mp3
    I tested my quicktime plug-in on the mozilla support plug-in page and I can play the film trailers at the test link provided.
    link found @ : http://www.knbr.com/OnDemand/Podcasts/tabid/1065/Default.aspx
    mac os x 10.6.7 intel macbook, FF4, quictime plug-in 7.6, shockwave flash plug-in

    This is a follow up on the first question. I went out to the issuu website to see if it was a problem only with the document posted by me. Answer - No. Every document opened to full screen showed the same behavior. The document opens, but the full-page view stays up for only a second or two and then closes leaving you back at the referral page.

Maybe you are looking for