Streaming live audio without flash media server

     I have an mp3 player, that I would like to add live streams to.
here is an example url of what I'd like to stream. http://85.17.174.181:6968
is there a way to do that in flash AS3?

>>don't tell me I need the server to include me in their cross-domain policy???
Always... servers that allow public access will typically have a wildcarded cross domain though. And in that case you just need to tell the sound load to check the policy file using SoundLoaderContext like so:
var context:SoundLoaderContext = new SoundLoaderContext(100, true);
var a:Sound = new Sound();
a.load(new URLRequest("http://85.17.174.181:6968/"), context);
a.play();
It doesn't look they have a crossdomain.xml file in place though...

Similar Messages

  • Live Instance in Flash Media Server 4.0 crashes/causes stream failure

    Hi,
    I have a Flash Media Server streaming version 4.0 server that is expierencing some issues.  Currently multiple inlet encoders are publishing live video content to this FMS.  At random times, the live_definst_ instance will crash and then restart itself.  The encoder does not recognize this new session and as a result, no new live video is being sent unless the encoder is stopped/started.  This cannot be done during live events, however. 
    I also have an enterprise version 4.0 that does not have this issue.  Is there a fundamental difference between the streaming/enterprise versions that would cause this issue and if so, is there any modifications that can be done to the streaming server that can fix this?
    Also I've noticed on the master logs that the enterprise server has various
    _defaultRoot_L_defaultVHost_:::_0 expierenced 1 failure's
    After this it seems like it starts.  However, the streaming server has this:
    _defaultRoot_L_defaultVHost_:::_0 expierenced 2 failure's
    Recovering core _defaultRoot_:::: with 2 failure[s] after 300 seconds!
    What exactly is this "recovering" process, could this be what is causing this issue?  Can I disable this in the config?

    You need to place the crossdomain.xml in the webroot folder. Create a text file in the webroot folder using notepad, and call it crossdomain.xml. The text below will give you a wide open access policy, which is fine for testing.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
              <allow-access-from domain="*" />
    </cross-domain-policy>
    For debugging HTTP streaming I recommend you get hold of something like Charles or Fiddler. These will greatly assist in pinpointing any issues.

  • Recording sound without Flash Media Server?

    Hello,
    I am totally new to Flash Media Server I need to be able to record sound via a Flash app and save it to a server preferably without the use of a Flash Media Server type setup. There is no requirement for live streaming.
    Is it possible to record the sound and save in memory then pass the data/file as a query parameter to the server?
    I don't even know if I've posted this in the correct place... any help/guidance will be appreciated.
    Thanks.

    Hi,
    You can use any publisher to publish like FMLE and publish the streams to the application in applications folder suppose application name is sampleApp then create a folder in applications folder of FMS root directory and then keep the below mains.asc file which does the recording of published streams to the sampleApp application.
    //main.asc
    application.onConnect=function(clientObj)
    return true;
    application.onPublish = function(clientObj,streamObj){
      trace("in application publish");
      streamObj.record("record");
    application.onUnpublish = function(clientObj,streamObj){
    trace("on unpublish");
    streamObj.record(false);
    I think this should solve your problem.
    Regards,
    Amit

  • Streaming Live Video using Flash Media Encoder/Flash Media Streaming Server

    We currently get a video feed from local cable channel that gets streamed live to our internet website. It gets encoded first on our Windows 2003 server running Windows Media Encoder and then gets published on another Windows 2003 server running Windows Media Services. We are trying to replace these two servers with another solution and the two things driving this project are:
    1. These two servers are coming to an end of life cycle so we need to replace the hardware and upgrade the OS.
    2. They currently only support Windows compatible file formats. Just like other organizations out there, iPAD users are popping up and they want to view these video streaming from their iPAD.
    That's why we are looking at Adobe Flash Media Encoder3 and Flash Media Streaming Server 4.5. My questions for the experts out there are:
    1. Can Adobe Flash Media Encoder and Adobe Flash Media Streaming Server can replace our current solution?
    2. Do we need both Flash Media Encoder and Flash Media Streaming Server or can Flash Media Streaming Server also can encode video feed?
    3. Can Flash Media Encoder and Flash Media Streaming Server can run on the same server?
    4. Our Windows Media Services server also has few on-demand publishing points along with a live video streaming. Can above mentioned Adobe products support having live streaming publishing point along with on-demand video publishing points?
    5. Does Adobe Flash Media Encoder only support Flash and Quicktime or does it also support .wmv?
    I called the sales to find the answers to these questions but he basically read the features listed on the Adobe product website and couldn't really answer these questions.
    Any help in find the answers to these questions will be greatly appreciated.
    Thanks you.

    FYI - I was able to do it by using the "onFI" handler of the embedded NetStream object.
    myVideo.addEventListener(fl.video.VideoEvent.STATE_CHANGE, onVideoStateChange);
    function onVideoStateChange(evt:fl.video.VideoEvent)
      // trace("State = " + evt.state);
      if ( evt.state == "playing" )
      if (!ns)
      ns = myVideo.getVideoPlayer(evt.vp).netStream;
      ns.client.onFI = onFIHandler;
    function onFIHandler(infoObj:Object):void
      var ts:String = infoObj.st;
      trace("system time: " + ts);
      ExternalInterface.call("updateTimeStamp", ts);

  • Live Video Without Flash Media Encoder

    How to create server side script in FMS3 to make Live Video
    Without FME

    Why ask in the Flash Player forum; wouldn't it be more logical to post in the Flash Media Live Encoder forum?

  • Streaming live audio to a Helix server

    Can I use JMF to stream audio to a Helix server? If, not which streaming servers are the best to use with JMF?
    The audio is being captured on a mobile phone and sent to the web server via HTTP POSTs (to a Servlet). I want the servlet to break it up into packets and stream it live to a streaming server, where people can listen to it on the web.
    Thanks.

    Removed; didn't notice the "live audio" when I made my suggestions.
    Message was edited by: Dave Sawyer.

  • Captivate 5 will NOT play streaming video from my Flash Media Server

    Recently I have begun attempting to convert older projects to captivate 5. However, once I started loading the videos I quickly realized that they are not playing in captivate 5! I know that these videos stream from the server just fine as I have been running them with other products and I know that the paths are correct because I've been using a web player to test the paths of the videos that will not play. How do I get around the bugs in Captivate and get the video working?

    Looking at this issue, here is what I see:
    Looking at the source code from the URL you supplied
    http://www.uab.edu/smsfiles/video.cgi?OU=CEVS&VIDEO=AD_clip_setup.f4v
    Looks to me that the rtmp server has a different name than the one you provided: streamer: ["rtmp://wwwsms.it.uab.edu:1935/CEVS/"]
    Is the file truly an FLV or F4V?  Looks to me like it is a MP4.  [file : "AD_clip_setup.f4v-lo.mp4"]
    I think this will still boil down to getting the correct format for the URI.
    Just my thoughts.

  • Can any one tell me when i use adobe flash media encoder how can i see my live vidoes on flash media

    can any one tell me when i use adobe flash media encoder how can i see my live vidoes on flash media server . thnx

    Flash Player version 10.1.102.64 is the last version available to PPC Mac users. However, this Flash version won't work for many videos on Facebook, YouTube and other sites. Adobe's latest version, 10.2.x or later, is only for Intel Macs. Adobe will not provide a newer Flash version for PPC Macs.
    The message requesting that you download Adobe Flash Player takes you to Flash Player requiring an Intel processor. Doesn't work on a PowerPC processor. I found a hack, installed it & it works with Firefox, TenFourFox & Safari.
    Download this http://www.steelbin.com/FPforFBPPC.zip to your desktop, unzip it, and replace the current Flash Player plug-in which is in your main/Library/Internet Plug-Ins folder, (not the user Library). Save the old one just in case this one doesn't work.
    Hack Allows PowerPC Macs to Access Flash 11 Content
    http://lowendmac.com/ed/royal/12sr/flash-11-and-powerpc.html
     Cheers, Tom

  • Playing video from a flash media server

    Can anyone point me to code to play streaming video from a Flash Media Server in Flex?

    Can you tell me how are you concluding that you are skipping few seconds when you set higher bufferTime - is it on visual inspection or say based on status messages.

  • Audio not streaming correctly from Flash Media Server

    Our company has a Flex application (3.0.2) that is having a problem with audio dropping out in Windows 7.  The problem appears worse with a wireless connection, but it can’t be consistently reproduced there, either.  The only thing known for sure is that the problem has not been seen on any other version of Windows.
    The application thinks the audio is playing, because it is calling the appropriate event listeners triggered when the audio completes and when any audio cue points are hit.  The majority of our audio is streaming via Flash Media Server (3,0,2,201), but the problem was also seen using embedded sound effects.  In one instance, several clicks of a button triggered an error saying the sound effect could not be loaded, and then about a minute later, all the sound effects played at once and the user could then continue with the application.
    The problem has been repeated in IE 8, Firefox 3 and Chrome.

    Thanks for your details. But i need more info.
    Server:
    FMS      3.0.2 ?
    FMS installed in which platform Linux/windows? more details about it.
    Client:
    IE          7
    Flash Player version     ?
    WIndows 7
    Wireless connection - Was the client placed in poor bandwidth.
    Can you get the NetStream status info when u play the audio file.? We can check for the rebuffering happening at the client side.
    Can you run your audio file through flvCheck Tool to check if the media file is in good form. It is available at "\$Root|Flash Media Server\tools\flvcheck.exe"
    Now our intention should be to check the same media file with simpler application (since your production app is complicated) to ensure that the media streaming over 'client to server' is working fine.
    Regards,
    Janaki L

  • How to integrate flash media server 4.0 live streaming for iOS devices ?

    Hi All,
    I have website which has live streaming module its working fine, same module i want to integrate for iOS devices. For live video streaming we are using FMS 4.0. So please let me know how we can integrate this for iOS devices using flash media server 4.0.
    Thanks in Adavnce
    Mohammad Sharique

    You need to place the crossdomain.xml in the webroot folder. Create a text file in the webroot folder using notepad, and call it crossdomain.xml. The text below will give you a wide open access policy, which is fine for testing.
    <?xml version="1.0"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
              <allow-access-from domain="*" />
    </cross-domain-policy>
    For debugging HTTP streaming I recommend you get hold of something like Charles or Fiddler. These will greatly assist in pinpointing any issues.

  • Live Streaming video and Flex2(3?) + Flash Media Server?

    I've seen alot of topic on how to create video sites for
    clips, etc. with Flex and Flash Media Server, but how about live
    streaming video, like a concert or a seminar. I can't find any
    information on this at all, could anyone point me in the right
    direction?

    What you need is grab video/sound form camera/mic, publish it
    on FMS and let the other clients play it. In a few steps:
    // get camera and mic
    var cam:Camera = Camera.getCamera(); // get default camera
    var mic:Microphone = Microphone.getMicrophone(); // get
    default mic
    // if you have VideoDisplay, for monitoring
    videoDisplay.attachCamera(cam);
    // create new RTMP connection to FMS/your app
    var nc:NetConnection = new NetConnection();
    // new stream should be create *after* nc has connected, not
    before
    // so this is executed after the below nc.connect() succeeds
    nc.attachEventListener(Event.CONNECT, function(){
    var ns:NetStream = new NetStream();
    ns.attachCamera(cam);
    ns.attachMicrophone(mic);
    ns.publish("streamname", "live"); // or "record" if you want
    to live+rec
    // connect to default instance of app 'appname' on your FMS
    nc.connect("rtmp://fms.ip.address/appname");
    If you're using Flex2 and FMS2 (the latest FMS is 3), you
    might need to
    cuange the connection encoding to AMF0 (which is what FMS2
    uses) in order for this to work.
    Hope this helps; I've written it from my head so it probably
    has mistakes, but it's the general workflow; the docs in the
    language reference for specific functions mentioned here will also
    help.

  • Live Streaming with flash media server

    Hi,
    i am installing flash media server 5.0. And its working perfect locally, I need to publish my video through my own IP address. How can i configure local to server

    Thanks for the response
    I m having Flash Media Server 4.5 . It works correctly in localhost. I want to make it online. I found a way, that place public ip address on the fms.ini file. I did it, but it does not work for me. How to fix this?

  • Flash Media Server - Stream AVI

    Hello, I would like to know if it is possible to stream video
    files to the adobe flash media server. I have been able to setup
    the server and client, and been able to stream my webcam to the
    server, and from the server to clients.
    Is it possible to stream an AVI (or other video format) file
    directly to the server? (avi--->server--->client) ?
    Any help would be appreciated, thanks!

    a friend tell me Flash Video Server is a cool tool,it is a
    powerful video streaming platform which provides services of
    streaming Flash videos and audios between the server side and
    client side. Flash Video Server offers you easy solution to enable
    your clients to play, record, and publish local Flash videos, live
    videos and audios to the server and share with other users.
    http://www.flvsoft.com/flash_video_server
    hope it can help you.

  • Windows Vista and Flash Media Server Streaming Problems

    My company recently started using Flash Media Server to
    stream audio and video content.
    My boss just installed Windows Vista Ultimate and now no
    streaming content will play at all. Simple Flash animations work,
    but nothing that accesses the Flash Media Server for content. I've
    uninstalled and reinstalled multiple versions of the Flash Player
    on his machine but nothing seems to work. I also tried the new
    "Reset" feature in IE that is supposed to return it to it's
    shipping state and that didn't work. I navigated to the "System 32"
    folder and ran the Flash Updater EXE. I downloaded and installed
    all of the available updates through "Windows Update".
    I also tested Flash Objects that stream video on Adobe.com
    and they don't play either. Has anyone heard of this happening or
    know what I need to do to fix it? I don't know if this is a bug in
    the Flash Player or with Windows Vista.

    This appears to be the solution:
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=44&catid=184&threadid =1243464&enterthread=y

Maybe you are looking for