NetStream (Audio) (MX 2004)

Hi there.
Can someone please shed some light on the NetStream function?
1. Does this allow me to stream an audio file from an
alternative source rather than compiling it into my flash file?
2. What audio formats support it?
3. I am trying to develop background music for my flash
document that auto-starts, with music on/off buttons and I do not
want it to slow down the pre-loader. Any other suggestions would be
greatly appreciated. Thanks.

I think Netstream is more intended for videos, although I
think it can be used for sound only with Flash Media Server.
What you're looking for I believe is the sound class.
Here's flash 8 livedocs info, but I think its the same or
similar for mx2004.
http://livedocs.adobe.com/flash/8/main/00002668.html#wp435857

Similar Messages

  • Videocontainer Netstream - Audio spielt weiter

    Hallo
    ich habe ein Videoobjekt auf der Bühne - rechts und Links gibt es einen weiter/zurück Button
    um sich andere Videos anzuschauen:
    das ganze wir über den folgenden Netstream Code gestartet - und bei Ende
    switch das ganze wieder in das Auswahl menü -Das Problem dabei ist das der Sound des Videos nicht stoppt und so bei Drücken des Buttons Weiter oder Zurück der Sound des ersten VIdeos weiter läuft.
    Hat jemand eine einfache Codeidee, zb "Sound Stream hört bei Framewechselauf" oder bei "onpress hört soundstream" auf.
    danke
    hier der Code:
    // NetConnection-Objekt erstellen:
    var netConn:NetConnection = new NetConnection();
    // Lokale Streaming-Verbindung erstellen:
    netConn.connect(null);
    // NetStream-Objekt erstellen und onStatus()-Funktion definieren:
    var netStream:NetStream = new NetStream(netConn);
    netStream.onStatus = function(infoObject) {
      status.text += "Status (NetStream)" + newline;
      status.text += "Level: "+infoObject.level + newline;
      status.text += "Code: "+infoObject.code + newline;
      if (infoObject.code == "NetStream.Play.Stop") {
            gotoAndStop(8);
    // NetStream-Videofeed an das Video-Objekt anhängen:
    mein_video2.attachVideo(netStream);
    // Zwischenspeicherzeit festlegen:
    netStream.setBufferTime(5);
    // Wiedergabe der FLV-Datei:
    netStream.play("10_NABU_obstsortengarten.mov");

    iMac + external Blu-ray Burner Samsung SE-506BB
    Apple TV 3.Generation
    AirPlay 6.0.2
    TV Sony KDL 46 HX 755 BAE2
    iMac desktop image is easily transferred to Sony with Apple TV via AirPlay.
    Samsung Blu-ray Burner also easily playing DVD on iMac with standard DVD player software.
    After the AirPlay is on goes audio signal into the TV, video unfortunately is gone, just grey screen at DVD player on iMac and Sony as well.

  • Audio Streaming with NetStream on LCDS or FDS

    Hi. I can't make audio streaming working on FDS neither on
    LCDS. I want to record audio on server.
    When trying to :
    quote:
    new NetStream(this.netConnection);
    i get
    quote:
    01:19:48,140 INFO [STDOUT] [Flex]
    Thread[RTMP-Worker-2,5,jboss]: Closing due to unhandled exception
    in reader thread: java.lang.IndexOutOfBoundsException: Index: 0,
    Size: 0
    at java.util.ArrayList.RangeCheck(Unknown Source)
    at java.util.ArrayList.get(Unknown Source)
    at
    flex.messaging.io.tcchunk.TCCommand.getArg(TCCommand.java:260)
    at
    flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(AbstractRTMPServer.java: 821)
    at
    flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:424 )
    at
    edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPo olExecutor.java:665)
    at
    edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolEx ecutor.java:690)
    at java.lang.Thread.run(Unknown Source)
    The same code works fine on RED5.
    What's wrong?
    RTMP channel definition is :
    quote:
    <channel-definition id="my-rtmp"
    class="mx.messaging.channels.RTMPChannel">
    <endpoint uri="rtmp://{server.name}:2040"
    class="flex.messaging.endpoints.RTMPEndpoint"/>
    <properties>
    <idle-timeout-minutes>20</idle-timeout-minutes>
    <client-to-server-maxbps>100K</client-to-server-maxbps>
    <server-to-client-maxbps>100K</server-to-client-maxbps>
    </properties>
    </channel-definition>

    There are seeral apps that play music over wifi or 3G
    Pandora, I(heart)music, Bing100, all free,

  • Problem with audio in 11.5.502.110, with a kiosk application from 2004

    Hi,
    In 2004 we developed a large scale elearning with games to assist kids in learning to read.
    We wrapped the flash into kiosk application and distributed it to schools on cd's. (we used flashplayer 6, for a windows executable).
    Now we are getting support calls about audio not working anymore  resulting in the application hanging.
    Although we wrapped application,  the application is still accessing some shared library, probably.
    Right now we are investigating the issue, trying to reproduce. for now I have a quick question: is this a know problem for 11.5.502.110 and will it be fixed?
    Thanks!

    You seem to have done everything that should have fixed the problem.
    Try a clean install as described in http://forums.adobe.com/thread/928315

  • How can you use one NetStream to publish video and audio from another NetStream in AS3?

    Let's say one of your client programs in AS3 is able to receive live video and audio from a NetStream and play it on the screen.  How could you make it also take that video/audio stream that it's receiving, copy it over into another NetStream, and publish it elsewhere?  I need to know how to do with this regardless of whether RTMP, RTMFP, or some mixture is involved.  The reason why the stream needs to be relayed this way is a real long story, but it's necessary in this particular case. Thanks!

    RTMP is TCP, which has higher overhead and latency because it guarantees packets are delivered (handshaking, causing latency and overhead). It also doesn't allow you to share connections directly between clients forcing the server to do all the work.
    RTMFP uses UDP, which is a choice protocol for streaming video because it's the opposite. It's lossy which decreases latency and overhead from no retransmissions and most importantly (in some applications) allows you to connect directly from one Flash Player to another Flash Player (p2p) so the server overhead is dramatically reduced. The server is only required to negotiate the initial connection and then it's up to the clients to continue to facilitate that.
    How you code your one to many or many to many relationship broadcast network will be based entirely on which of those you choose.
    URLStream is very common to use in p2p. Here's an older Adobe article on p2p and an alternate quick old video tutorial (FP10) as a quick simple example of p2p over RTMFP you can view the source of.

  • How to publish a local audio stream using NetStream?

    As all we know, if we want to publish a stream to FMS or Red5, we can code like below:
    var nc:NetConnection = new NetConnection();
    nc.connect("rtmp://localhost/myApp");
    var ns:NetStream = new NetStream(nc);
    ns.attachAudio(Microphone);
    ns.publish("audio", "live");
    my problem is that we can pass an instance of Microphone to ns.attachAudio() only, if I want to attach a local audio stream,like playing a local sample.flv file to become a audio stream, how can I do?
    this issue has been asked 7 years ago, see the post. but i can not find any solutions.
    any tips will be appreciated. thx in advance.

    how to watch my local network stream using java,help!http://www.ethereal.com - a third party program (but not using java)

  • Audio Live Streaming: How to get NetStream Info Object

    Hello All,
    I need to show the activity level of a stream in a flash display.
    I get the netstream.info.audioBytesPerSecond from the netsteam and it works well(after calling the play function).
    But i dont want to play the audio to the user.
    Is there any way to get the audioBytesPecSecond data without making a person hear the audio?
    My application is only for visually display of activity level and not for making the user hear the audio.
    Thanks alot,
    Karan

    Hi Claudiu,
    Thank you for replying and the information. I really appreciate it.
    I need to show the metrics of serveral streams at the same time. Thus i feel playing all of the streams to get the metrics will eat alot of bandwidth.
    Is there any other way. Is there any way FMS server side programming that could solve this for me.
    Thanks alot,
    Karan

  • Stopping audio of netstream from outside a movie clip

    I have a netstream from media server defined within a movie
    clip symbol which is playing an audio. I need to stop this audio
    from outside the movie clip symbol when a button is pressed.
    I have tried to close the movie clip, but the audio keeps on
    playing.
    Any idea on how this can be done?
    Thanks in advance

    Found to be an issue with 2 buttons with same name.

  • Audio in DreamweaverMX 2004

    URL:
    http://www.davecureton.com/index_newTest.com
    I've inserted an audio file into my client's site. It's a
    small file. Ive inserted it in two different formats: as an .swf
    and as a .mpg3. Using either file, when you enter the page, the
    sound begins to play.
    So, I added a Dreamweaver behavior of "Play sound" with an
    event of onclick. The audio ignors the behavior and plays on it's
    own. And the irritating part is that if you exit the page and
    reenter, the sound plays again.
    What do i need to do so the sound will only play when the
    link "Listen to Dave..." is clicked by the user?
    I've attached the code that seems pertinent. If you need code
    for the entire page, I can attach that.
    Thanks

    so you're using port 8001 for IIS? Then it should be
    http://localhost:8001/gb/gb_proc.asp.
    Why aren't you using the default port
    80?
    What happens if you open a browser and type
    http://localhost/ ? Does the
    default IIS page come up?
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "rod06" <[email protected]> wrote in message
    news:efuhq3$2ub$[email protected]..
    > HI Nancy, THANKS for your reply. I typed the wrong URL
    in my question but
    > not
    > in the browser. Actually, I just hitting "F12" to view
    the page in the
    > browser
    > (using IE 5 & 6) which is
    http://localhost/gb/gb_proc.asp
    . however, the
    > page
    > is not displaying. I'm not sure why not. My aspx pages
    show with no
    > problem
    > (using the 8001 port), but not the asp pages. I followed
    the tutorial in
    > DWMX
    > 2004 on setting up the local and testing servers (I've
    done this ALOT at
    > work)
    > it's really very easy to do - this is why I don't
    understand why I can't
    > test
    > my asp pages on my laptop.
    >
    > I could use more help figuring this out . . .
    >
    > Thanks again!
    >
    > Rod
    >

  • How to broadcast the Audio  with netstream

    Hi,
    I am developing an application where in i broadcast the
    audio and video to other users with netconnection and netstream
    objects. I am able to send and receive the video of the users but i
    am not able to broadcast the audio. The code which i have used is
    as follows:
    ns = new NetStream(nc);
    var mic=Microphone.get();
    var cam = Camera.get();
    ns.attachVideo(cam);
    ns.attachAudio(mic);
    guest_1.video.attachVideo(cam);
    guest_1.video.attachAudio(mic);
    ns.publish(id);
    Can anyone please help me why i am not able to send and
    receive the audio.Any help would be appreciated.

    Hi Malvin,
    Thanks a lot for the reply.But the problem is that i have
    two fla one which is broadcasting the audio/video and the other
    which is receiving the audio/video, similar to the one at
    http://www.adobe.com/devnet/flashcom/articles/broadcast_receiver_03.html
    Now when i run broadcaster.swf and receiver.swf with
    streamname "abc" then it works. But when i run another instance of
    broadcaster.swf and receiver.swf with streamname "xyz" then quality
    of audio is deteriorated. I m not able to hear the other person
    audio.
    Can u please help me out.

  • Just hooked up my APPLE TV to my Pioneer Elite Pro 1120 HD Just hooked up my APPLE TV to my Pioneer Elite Pro 1120 HD TV (2004/05). I get picture fine (although only 720p), but I can't get sound. Any ideas? I have a Optical Digital Audio cable, but not su

    Just hooked up my APPLE TV to my Pioneer Elite Pro 1120 HD Just hooked up my APPLE TV to my Pioneer Elite Pro 1120 HD TV (2004/05). I get picture fine (although only 720p), but I can't get sound. Any ideas? I have a Optical Digital Audio cable, but not sure where to hook up?

    how is it connected?
    if you use a hdmi to dvi converter then you only get picture and not audio because dvi don't carry audio same with vga

  • XP SP 2 and Flight Sim 2004 vs Bootcamp = no audio

    Hi I've got a 27" imac and have installed XP SP2. I'm running OS 10.6.2 and have installed Microsoft Flight Sim 2004. I can't get any audio when running the flight sim. Have managed to get basic sounds in windows by changing one setting which was an improvement but thats it.
    I'm also wondering what screen res would be the best choice in Microsoft Flight sim. They give you about 1 million options. What is best? Can anyone help?

    Well, I'm making progress - of a sort.
    The Sharp connects via AV (Video + 1 audio channel) to the Sony Z1P. Fine
    The Z1P "captures" the Sharp's footage to tape (it seems the Sony won't "pass-thru" directly - oh, well...). Video AND audio are faithfully recorded, as they play back rather well on the Z1P's LCD screen.
    Now, the Z1P uses what appears to be a proprietary Sony "iLink" cable - it looks like a 4-pin to 4-pin IEEE1394 cable - and my computer's firewire input socket is a 6-pin. Tried a 4-pin to 6-pin cable - didn't work. Couldn't identify the camera. There must be something about the Sony iLink cable, huh?
    So, I have an older laptop with a 4-pin socket, and grab the footage that way. Fine, but the laptop can't keep up and drops frames all over the place. At least I 've got both video and audio, now.
    I was capturing using WMM at DV-AVI running at 25MB/sec and that's obviously too much for this little laptop. WMM has a lot of slow bandwidth options, ranging from 28.8KB/sec to 768KB/sec, then DV-AVI at 25MB/sec - nothing in between.
    I think I'm going to buy a firewire adapter with a 4-pin socket.

  • Streaming audio using netconnection and netstream

    I'm trying to set up an audio stream using netconnection and netstream to a HEAAACV2 stream.  I followed the built in instructions, and I believe I am close, and possibly missing a key element, which I'm hoping one of you could point out.  Here is what it looks like:
                private function playAudioStream():void
                    nc = new NetConnection();
                    nc.connect("http://3153.live.streamtheworld.com:443/247COMEDYAAC_SC");
                    nc.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    private function netStatusHandler(event:NetStatusEvent):void {
                    try {
                        switch (event.info.code) {
                            case "NetConnection.Connect.Success" :
                                // If the current code is Start, start the timer object.
                                ns = new NetStream(nc);
                                ns.play();
                                break;

    hi Chris,
    thanks for your two posts above. It's true, I certainly could have easily waited a week or two or more! I forget that updates need to be broken in order to become reliable.
    My password is 8 digits but your suggestion of 12 is a good idea. I have had "passwords" on the project list for some time now. I still have a few that go back to the 90s when everyone used their initials as their unique password for everything. As a user I feel the biggest problem is consistency. Minimum and maximum lengths, character type, case sensitivity; these are all variables dependent on a website's developer or owner's whims. Perhaps that's as it should be but it's difficult to keep track of all those passwords. I really should get a handle on all of mine and sort them out.
    In any event, I trust Apple will fix this WiFi problem and let us get back to the best security options available to us.
    To other readers, I'm happy to say that the switch to TKIP seems to have solved my problem. I listened to the Minnesota Public Radio stream (using their own app) for a couple of hours last night without any buffering issues, and have been listeneing to TuneIn Pro for awhile now this morning. All good...
    Ciao
    Tim

  • I have asked now twice!!!! Did iTunes make a change that makes AUDIO cd's not read on older cd players? The iTunes AUDIO discs I burn in mixes no longer play in my 2004 Chrysler, 2006 Toyota, or my home cd player. PLEASE HELP.

    I have asked now twice!!!! Did iTunes make a change that makes AUDIO cd's not read on older cd players? The iTunes AUDIO discs I burn in mixes no longer play in my 2004 Chrysler, 2006 Toyota, or my home cd player. PLEASE HELP.

    ByteMeNow wrote:
    Where soes someone go to get offical help wth Apple iTunes?
    You would call Apple Support, for which you would probably be charged for the support.
    Note that just because those CDs work with your old computer doesn't mean that it's still not an issue with those CDs and the burner in your newer system. Some CD brands just don't work well with some optical drives. If you haven't tried a different brand, and if you're using CD-RW trying CD-R, I would suggest you give that a try just to eliminate that possibility.
    Regards.

  • UT 2004 Hardware audio problems, aswell as some other gam

    I have an Audigy 9000 (I bought it OEM so all I know is what it tells me in the control panel) and all my drivers are up to date. When in Unreal Tournament 2004 all the music and sound is perfect if I keep it in 3D audio mode but when I Change it to Hardware 3D or HW 3D+EAX it wont play any music and in the intro movie (and the rest of the game) no music plays and alot of the sounds are really quiet while some are rediculously loud. I can play it fine in 3D sound mode but I did not buy a good audio card to replace my integrated 5. sound card just to use the same settings. Does anyone else have this problem and how can I fix it's Also in World of Warcraft no sound comes out during movies and there is no music in the game but all the other sounds play. But UT 2004 is my primary concern, I even tried re-installing it and yes my UT2004 is the latest vers.

    Quote from: Stu on 07-May-07, 20:41:21
    Basically if you're having audio problems in Vista, you should look for latest Vista drivers from your chipset manufacturers website (links can be found in the Download forum here), and if you cannot obtain Vista drivers then you should look to buying a new sound card which does have Vista support
    Wait and buy a new sound card. Test this first!  Install lets say XP and then after your normal soundcard installation "copy" the installed sounddrivers folder for you specific card. Then you paste that folder on a usb drive/cd or another harddrive that you again c/p inside to Vista when thats installed. Check in the device manager for audio and Update that with the drivers from your copied drivers folder from XP if you dont get an automatic driverinstallation. If you do use that guide. Vista will prolly scream that the drivers where'nt checked etc. Skip that mess and just install anyway (on your own risk ofcourse!  ) and then reboot the pc. If all goes well as it did for me the sound will now work flawless even if not a specific software that came with the card might do. If this tip didnt work well then its probably time for a total new soundcard that does support Vista 100%. Good Luck!   
    /UN

Maybe you are looking for

  • Can't get online with 10.4.11?????

    I have a 2.16 GHz Intel iMac and updated to 10.4.11 and now I'm unable to get online w/ mail, safari, itunes, etc. I'm wireless with a Belkin N1 router. My good ol' iBook 10.3.9 is working fine, so I know my modem and router are working. I've read ot

  • Unable to email photo taken on iPhone

    I want to send a photo from my iPhone to a valid email address. I went to the Camera Roll and selected a photo, then clicked the leftmost icon to start the "send" process and chose "Email Photo" from the options. I get an email template with the phot

  • How Do I Get the Customer Support ID?

    Hello We currently use Oracle 11G. I would like to access some of my forums on My Oracle Support but I need the company's CSI. Where exactly can I get my company's customer support id? Is it within a DBA table? Thanks

  • Problem with deactivate Photoshop CS Mac OS

    Hello, less than a month ago I bought in one of Warsaw's computer stores a perpetual license for the product ESD Photoshop CS6 for Mac OS. After receiving the serial program installed on your computer, but do not login using Adobe ID. When you turn t

  • Business sytem

    Hi, can i assign one business sytem to two scenarios in XI-ID, secondly can i assign one technical system to 2 business sytem in SLD. regards, Gayatri.