Lost recording when I stopped recording

I'm recording my shows multi-track with my macbook pro running Lion using logic Pro 9 and a Tascam sound card. Will recording the first set, everything was fine.I pressed space bar to stop so I wouldn't record between sets. When I came back and pressed record, I lost all sounds in all tracks and a straight line appeared. What happened and can I get my work back…?

Thank you, SteveG  --  I had tried that and it didn't work;  tried it
again, it worked.  You're a genius.
On Mon, Jan 20, 2014 at 4:12 PM, SteveG(AudioMasters) <

Similar Messages

  • When I record an audio track, there is a waveform. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is there. How can I stop the waveform from disappearing?

    When I record an audio track using Logic Pro X, there is a visible waveform which appears as I record. When I stop recording, the waveform disappears and becomes a straight line. It also disappears from the track edit window. But the sound is still there. How can I stop the waveform from disappearing? And can I do something to view it after it has disappeared? Anyone know the anser?

    In Logic:
    Preferences/Audio Set Recording Delay to 0 <zero>
    This should always be set to zero unless a specific set of circumstances exist and you're audio drivers do not report position correctly.
    On occasion, usually when importing a Logic 9 project, Logic-X randomly changes this to a negative/positive number.  It's actually a bug in Logic, as it should always display the waveform.

  • When I stop recording, tracks delete themselves

    They'll be red and recording, but then when I hit stop, it disappears. I'm recording multiple tracks.

    Are you recording the instruments to the right kind of tracks? This problem is very typical for trying to record an audio input signal to a software instrument track. Then the recorded region will simply vanish, when you stop recording.
    What is your GarageBand version?

  • I lost my bookmarks and history when I stop safari

    Hello everyone
    I lost my bookmarks and history when I stop safari and start it again !
    I reset safari and remove it and redownload it again
    But still the problem
    Please ! HELP ME !
    My device ( imac - OS X 10.9.4)
    Safari 7.0.5
    * the problem existed since I purchase my imac

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership, permissions, and access controls to the default. If you've intentionally set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it, but you do need to follow the instructions below.
    Step 1
    If you have more than one user, and the one in question is not an administrator, then go to Step 2.
    Triple-click anywhere in the following line on this page to select it:
    sudo find ~ $TMPDIR.. -exec chflags nouchg,nouappnd {} + -exec chown $UID {} + -exec chmod +rw {} + -exec chmod -N {} + -type d -exec chmod +x {} + 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window by pressing command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
    You'll be prompted for your login password, which won't be displayed when you type it. Type carefully and then press return. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command may take several minutes to run, depending on how many files you have. Wait for a new line ending in a dollar sign ($) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1, if you prefer not to take it, or if it doesn't solve the problem.
    Start up in Recovery mode. When the OS X Utilities screen appears, select
              Utilities ▹ Terminal
    from the menu bar. A Terminal window will open. In that window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not going to reset a password.
    Select your startup volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
               ▹ Restart
    from the menu bar.

  • A HotSpot Virtual Machine error  when i stop save file!

    private DataSink filewriter = null;
    saveProcessor  = Manager.createProcessor(source);
              saveProcessor.configure();
              if(!waitForState(saveProcessor,saveProcessor.Configured))
                   dm.writeLog(DataManager.DEBUG,"config fail");
              saveProcessor.setContentDescriptor(new FileTypeDescriptor(FileTypeDescriptor.MPEG_AUDIO));
              saveProcessor.realize();
              if(!waitForState(saveProcessor,saveProcessor.Realized))
                   dm.writeLog(DataManager.DEBUG,"realize fail");
              saveDataSource = saveProcessor.getDataOutput();//&#23384;&#20648;&#38899;&#39057;&#25991;&#20214;
              String nowTime  = df.format(new java.util.Date()); // &#21462;&#24403;&#21069;&#26102;&#38388;
              saveAudioToFile(saveDataSource,nowTime);
              saveProcessor.start();
    private void saveAudioToFile(DataSource ds,String nowTime){
              String time = nowTime.replace("-", "").replace(":", "").replace(" ", "");
              //&#23450;&#20041;&#23384;&#20648;&#35813;&#23186;&#20307;&#25991;&#20214;&#30340;&#36335;&#24452;
              String filePath = this.getClass().getClassLoader().getResource("").getPath();
              try {
                   filePath = java.net.URLDecoder.decode(filePath,"utf-8");
              } catch (UnsupportedEncodingException e1) {
                   // TODO Auto-generated catch block
                   e1.printStackTrace();
              if (filePath == null || filePath.equals("")) {
                   JOptionPane.showMessageDialog(null,
                             "&#26080;&#27861;&#33719;&#21462;&#31995;&#32479;&#36335;&#24452;&#65292;&#35831;&#32852;&#31995;&#31995;&#32479;&#32500;&#25252;&#20154;&#21592;&#65281;");
                   return;
              filePath = filePath.replaceAll("bin/", "");
              if (filePath.indexOf("config/") > 0) {
                   filePath = filePath.replaceAll(
                             "config/", "");
              // &#33719;&#21462;&#25991;&#20214;&#36335;&#24452;
              filePath = "file://"+filePath + "record/" +line.lineName+ "" + time
                        + ".mpg";
              MediaLocator dest = new MediaLocator((filePath));
              dm.writeLog(DataManager.DEBUG,"path:"+filePath);
              //&#21019;&#24314;&#19968;&#20010;&#25968;&#25454;&#27744;&#65292;&#29992;&#20110;&#20445;&#23384;&#25968;&#25454;
              try{
                   filewriter = Manager.createDataSink(ds, dest);
                   filewriter.open();
                   dm.writeLog(DataManager.INFO, "&#35843;&#24230;&#21488;&#21521;**"+line.lineName+"**&#30340;&#23454;&#26102;&#36890;&#35805;##",nowTime);
              } catch (NoDataSinkException e) {
                   e.printStackTrace();
              } catch (IOException e) {
                   e.printStackTrace();
              } catch (SecurityException e) {
                   e.printStackTrace();
              try {
                   filewriter.start();
              } catch (IOException e) {
                   e.printStackTrace();
    if(filewriter!=null){
                                  filewriter.stop();
                                  filewriter.close();
                                  saveProcessor.stop();          
                                                                                                    saveProcessor.close();
                                  saveProcessor = null;
                             }when i stop to save file,the HotSpot Virtual Machine will error
    Edited by: allen_gong on Jan 6, 2010 1:14 AM

    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x11d089cd, pid=3304, tid=6296
    # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C 0x11d089cd
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x03f2e400): JavaThread "Thread-160" [_thread_in_native, id=6296, stack(0x08250000,0x082a0000)]
    siginfo: ExceptionCode=0xc0000005, reading address 0x11d089cd
    Registers:
    EAX=0x090c5d58, EBX=0x08150140, ECX=0x090c55d8, EDX=0x0829f9b0
    ESP=0x0829f99c, EBP=0x0829fa08, ESI=0x08150140, EDI=0x03f2e400
    EIP=0x11d089cd, EFLAGS=0x00010246
    Top of Stack: (sp=0x0829f99c)
    0x0829f99c: 056212f8 090c5d58 0829f9b0 0829f9b8
    0x0829f9ac: 7c802446 7c802413 056211b9 08150140
    0x0829f9bc: 0829f9f4 00000000 03f2e400 00000000
    0x0829f9cc: 00000000 00000005 00c1bc38 03f2e514
    0x0829f9dc: 0829f9f4 08150140 00000000 0829f9f8
    0x0829f9ec: 00000000 00002274 25cc2c10 25d32900
    0x0829f9fc: 03f2e40d 25cc2c10 0829fa54 0829fa68
    0x0829fa0c: 00c0ee2c 08150140 00000000 00000000
    Instructions: (pc=0x11d089cd)
    0x11d089bd:
    [error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
    Stack: [0x08250000,0x082a0000], sp=0x0829f99c, free space=318k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C 0x11d089cd
    J com.sun.media.protocol.dsound.DSoundST.run()V
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J com.sun.media.protocol.dsound.DSound.nRead(J[BII)I
    J com.sun.media.protocol.dsound.DSoundST.run()V
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x03f9a000 JavaThread "Thread-166" [_thread_blocked, id=9764, stack(0x093f0000,0x09440000)]
    0x040fec00 JavaThread "Thread-165" [_thread_blocked, id=7824, stack(0x07bf0000,0x07c40000)]
    0x02b86c00 JavaThread "Thread-164" [_thread_blocked, id=9440, stack(0x045b0000,0x04600000)]
    0x041ac800 JavaThread "Loop thread" [_thread_blocked, id=3536, stack(0x09fb0000,0x0a000000)]
    0x04151800 JavaThread "Loop thread" [_thread_blocked, id=7056, stack(0x09580000,0x095d0000)]
    0x041ad400 JavaThread "Thread-163" [_thread_blocked, id=5328, stack(0x094e0000,0x09530000)] 0x0405b400 JavaThread "Thread-113" [_thread_in_native, id=5312, stack(0x07470000,0x074c0000)]
    0x04057400 JavaThread "Thread-112" [_thread_blocked, id=9524, stack(0x074c0000,0x07510000)]
    0x04058800 JavaThread "Loop thread" [_thread_blocked, id=5972, stack(0x07560000,0x075b0000)]
    0x03ec4000 JavaThread "Thread-107" [_thread_blocked, id=3760, stack(0x05190000,0x051e0000)]
    0x03f94c00 JavaThread "Loop thread" [_thread_blocked, id=1420, stack(0x05320000,0x05370000)]
    0x03ec9c00 JavaThread "Thread-106" [_thread_blocked, id=5612, stack(0x07420000,0x07470000)]
    0x03f0dc00 JavaThread "JMF thread: SendEventQueue: com.sun.media.PlaybackEngine" [_thread_blocked, id=7932, stack(0x063d0000,0x06420000)]
    0x03e92c00 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.unknown.Handler" [_thread_blocked, id=2256, stack(0x05a20000,0x05a70000)]
    0x02b07400 JavaThread "Attach Listener" daemon [_thread_blocked, id=4328, stack(0x02ce0000,0x02d30000)]
    0x02b23400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6832, stack(0x02c90000,0x02ce0000)]
    0x02ac0c00 JavaThread "Finalizer" daemon [_thread_blocked, id=6012, stack(0x02c40000,0x02c90000)]
    0x02abf800 JavaThread "Reference Handler" daemon [_thread_blocked, id=7788, stack(0x02bf0000,0x02c40000)]
    Other Threads:
    0x02abdc00 VMThread [stack: 0x02ba0000,0x02bf0000] [id=6488]
    0x02b14000 WatcherThread [stack: 0x02dd0000,0x02e20000] [id=8020]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 4544K, used 2132K [0x24020000, 0x24500000, 0x24500000)
    eden space 4096K, 50% used [0x24020000, 0x24220930, 0x24420000)
    from space 448K, 18% used [0x24420000, 0x24434800, 0x24490000)
    to space 448K, 0% used [0x24490000, 0x24490000, 0x24500000)
    tenured generation total 56852K, used 25055K [0x24500000, 0x27c85000, 0x28020000)
    the space 56852K, 44% used [0x24500000, 0x25d77f68, 0x25d78000, 0x27c85000)
    compacting perm gen total 12288K, used 6671K [0x28020000, 0x28c20000, 0x2c020000)
    the space 12288K, 54% used [0x28020000, 0x286a3c00, 0x286a3c00, 0x28c20000)
    ro space 8192K, 63% used [0x2c020000, 0x2c538810, 0x2c538a00, 0x2c820000)
    rw space 12288K, 53% used [0x2c820000, 0x2ce8d300, 0x2ce8d400, 0x2d420000)
    Dynamic libraries:
    0x73640000 - 0x7366e000      C:\windows\system32\msctfime.ime
    0x03840000 - 0x0384c000      C:\WINDOWS\system32\jmdaud.dll
    0x73e70000 - 0x73ecc000      C:\windows\system32\DSOUND.dll
    0x6d230000 - 0x6d284000      C:\Program Files\Java\jre6\bin\fontmanager.dll
    0x4b640000 - 0x4b7e6000      C:\windows\system32\d3d9.dll
    0x6dd20000 - 0x6dd26000      C:\windows\system32\d3d8thk.dll
    0x6d610000 - 0x6d623000      C:\Program Files\Java\jre6\bin\net.dll
    0x6d630000 - 0x6d639000      C:\Program Files\Java\jre6\bin\nio.dll
    0x719c0000 - 0x719fe000      C:\windows\system32\mswsock.dll
    0x60fd0000 - 0x61025000      C:\windows\system32\hnetcfg.dll
    VM Arguments:
    java_command: com.wiogarden.netbroadspeak.framework.MainStarter
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=.;.;C:\PROGRA~1\JMF21~1.1E\lib\sound.jar;C:\PROGRA~1\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~1\JMF21~1.1E\lib;C:\WINDOWS\java\classes;.
    PATH=d:\oracle\product\10.2.0\db_1\bin;C:\Program Files\Borland\Delphi7\Bin;C:\Program Files\Borland\Delphi7\Projects\Bpl\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;;C:\Program Files\NTP\bin;C:\Program Files\CVSNT\
    USERNAME=Administrator
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    Memory: 4k page, physical 2096300k(292696k free), swap 4036208k(1482000k free)
    vm_info: Java HotSpot(TM) Client VM (11.3-b02) for windows-x86 JRE (1.6.0_13-b03), built on Mar 9 2009 01:15:24 by "java_re" with MS VC++ 7.1
    time: Wed Jan 06 14:13:33 2010
    elapsed time: 175 seconds
    who can help me to solve this problem,Thank you very much!

  • IPhone 6 camera froze when I stopped taking video now video won't play

    I have a 64 GB iPhone 6 with 32 GB of space still available iOS 8.1. I was using the camera app to record a video. The video recorded for about a minute. When I stopped recording the screen froze with the last frame of the video and I couldn't get the camera app to respond. I had to "quit" the app (I double tapped the home button and swiped up on the camera app). When I opened the camera app again I could use it. This happened 3 times. I now have 3 videos that show up in my camera roll as white thumbnails that say 0 seconds. When I try to play them it says "cannot open". When I look at the file using image capture or something else it shows the videos, but says the file size is only 600kb (etc.) and Quicktime doesn't recognize them.
    Is it possible the videos are there but just corrupted? Is there any way to recover the videos?

    hello, did you ever find a resolution?

  • HT4061 My iphone has stopped working but the lock button IS working...when it stopped working it had a 50% charge left on the battery...it simply went to a black screen and will not turn on...my phone will not charge on the computer or the plug socket

    Hi
    My iphone 4 has stopped working...the lock button IS working...when it stopped working it had a 50% battery remaining...it was working when I last used it and when I returned it had a blank screen....it will now not charge or connect to itunes when plugged into the computer and it will not charge on the plug socket....I think the last iOS op system updated was 5.1.1....please help

    Try holding both home and power buttons until apple logo appears (ignore on/ off slider) and then let go. No data will be lost.  Wait for phone to restart

  • What did I do wrong? I used to have iTunes installed on this computer and lost it when it crashed. No I can't get past a certain point in the installation point. I keep getting an error message stating that I need to verify that I have access to this file

    Help!! What's going wrong here. I used to have iTunes installed on this computer but lost it when it crashed. I've tried re-installing it numerous times but I keep getting the same error message. "Error writing to file: C:\ProgramFiles\iTunes.Resources\es.lproj\iPadLicense.rtf. Verify that you have access to that directory." I know I have access to that directory because on a different computer I can sync my iPad and iPhone. What am I doing wrong? What do I need to go in and authorize or turn on? Any help greatly appreciated. Thank you.

    That one's consistent with disk/file damage. The first thing I'd try with that is running a disk check (chkdsk) over your C drive.
    XP instructions in the following document: How to perform disk error checking in Windows XP
    Vista instructions in the following document: Check your hard disk for errors
    Windows 7 instructions in the following document: How to use CHKDSK (Check Disk)
    Select both Automatically fix file system errors and Scan for and attempt recovery of bad sectors, or use chkdsk /r (depending on which way you decide to go about doing this). You'll almost certainly have to schedule the chkdsk to run on startup. The scan should take quite a while ... if it quits after a few minutes or seconds, something's interfering with the scan.
    Does the chkdsk find/repair any damage? If so, can you get an install to go through properly afterwards?

  • My phone is lost.  When I use "find my phone",  it says that my phone is "offline".  It has a charged battery and I hadn't turned it off.

    My phone is lost.  When I use "find my phone",  it says that my phone is "offline".  It has a charged battery and I hadn't turned it off.  When I call my number it immediately goes to the voice mail.  Does that mean someone has found it and turned it off? What should I be doing.  I have used icloud to lock and send a message to my phone but if it is offline does that do anything?  HELP!!

    Welcome to the Apple Community.
    It may be that someone has turned it off or it may be that it has been lost in an area where there is no reception. The best thing that you can do, is contact your provider and let them know that you have lost your phone, and change your iCloud password at My Apple ID

  • Is there a way to create a printable version of my iWeb built website before it goes offline in June when apple stops supporting mobileme?

    Is there a way to create a printable version of my iWeb built website before it goes offline in June when Apple stops supporting mobileme?

    Why not move your site to a new host and publish using one the two alternative methods...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html
    http://www.iwebformusicians.com/iWeb/Website-Hosting.html

  • When FMLE stopped,Remote RTMP stream to FMS 4.5 with rtmfp?

    When FMLE stopped,Remote RTMP stream to FMS 4.5 with rtmfp?
    edit  "applications/multicast/main.asc" ?
    HELP ME !!! THANKS!!!
    * File: main.asc
    * The server-side portion of the multicast sample application.
    * This app accepts publish and unpublish requests from FMLE, and republishes
    * the live stream from FMLE into a target Flash Group.
    // General Constants
    // "Constants" representing multicast event types.
    var TYPE_FUSION = 1;
    var TYPE_IP = 2;
    var TYPE_P2P = 3;
    // StreamContext Description, Constants and Functions
    * Type: StreamContext
    * This application tracks the context for live streams published to the server
    * that are being republished into a Flash Group. The StreamContext "type" used
    * for this is just an Object containing the following members:
    *   client         - The encoding/publishing client.
    *   streamName     - The source Stream name as published by the client.
    *   type           - The multicast event type.
    *   groupspec      - The groupspec identifying the Flash Group and capabilities.
    *   address        - IP multicast address (optional for pure P2P events).
    *   netConnection  - A loopback NetConnection used for the mcastNetStream.
    *   mcastNetStream - The NetStream used to republish the source Stream into
    *                    the Flash Group.
    *   netGroup       - An (optional) NetGroup handle for the target Group.
    *                    Only present for Fusion or P2P events.
    *   state          - One of the state constants defined immediately below
    *                    this comment.
    var STATE_INIT            = 0; // Starting state for a StreamContext.
    var STATE_CONNECTING      = 1; // Establishing loop-back connection.
    var STATE_CONNECTED       = 2; // Connection established.
    var STATE_PUBLISH_PENDING = 3; // Attempting to publish.
    var STATE_REPUBLISHING    = 4; // Actively republishing to multicast.
    var STATE_UNPUBLISHING    = 5; // Shutting down multicast republish.
    var STATE_UNPUBLISHED     = 6; // Unpublished successfully.
    var STATE_DISCONNECTING   = 7; // Shutting down loopback connection.
    var STATE_DISCONNECTED    = 8; // Connection shut down. Done.
    * Registers a source Stream published by the specified client, along with the
    * context for the multicast event, as a StreamContext Object.
    * @param client - The Client publishing the stream.
    * @param streamName - The source Stream name.
    * @param params - The parameters resulting from parsing the source Stream's
    *                 query string.
    * @return The new StreamContext Object for the registered Stream.
    function registerStream(client, streamName, params)
        var streamContext = { "client": client,
                              "streamName": streamName,
                              "type": params["fms.multicast.type"],
                              "groupspec": params["fms.multicast.groupspec"] };
    if (params["fms.multicast.interface"])
      streamContext["interfaceAddress"] = params["fms.multicast.interface"];
        if (params["fms.multicast.address"])
            streamContext["address"] = params["fms.multicast.address"],
        streamContext.state = STATE_INIT;
        updateStreamContextLookups(streamContext);
        trace("Registered multicast context for source stream: " + streamName);
        return streamContext;
    * Updates the indexed lookups installed for the passed StreamContext Object
    * with the application.
    * @param streamContext - The StreamContext Object to (re)index.
    function updateStreamContextLookups(streamContext)
        application.streamTable[streamContext.streamName] = streamContext;
        if (streamContext.netConnection)
            application.netConnTable[streamContext.netConnection] = streamContext;
        if (streamContext.mcastNetStream)
            application.mcastNetStreamTable[streamContext.mcastNetStream] = streamContext;
        if (streamContext.netGroup)
            application.netGroupTable[streamContext.netGroup] = streamContext;
    * Provides access to the StreamContext Object for a registered source Stream
    * by name.
    * @param streamName - A registered source Stream name.
    * @return The associated StreamContext Object; undefined if the source Stream
    *         name is not registered.
    function getStreamContextForSourceStream(streamName)
        return application.streamTable[streamName];
    * Provides access to the StreamContext Object for a given server-side
    * NetConnection hosting a multicast NetStream.
    * @param netConnection - A server-side NetConnection.
    * @return The associated StreamContext Object; undefined if the passed
    *         NetConnection is not indexed to a StreamContext.
    function getStreamContextForNetConnection(netConnection)
        return application.netConnTable[netConnection];
    * Provides access to the StreamContext Object for a given multicast NetStream.
    * @param netStream - A multicast NetStream.
    * @return The associated StreamContext Object; undefined if the passed
    *         NetStream is not indexed to a StreamContext.
    function getStreamContextForMulticastNetStream(netStream)
        return application.mcastNetStreamTable[netStream];
    * Provides access to the StreamContext Object for a given NetGroup associated
    * with a multicast NetStream.
    * @param netGroup - A NetGroup.
    * @return The associated StreamContext Object; undefined if the passed
    *         NetGroup is not indexed to a StreamContext.
    function getStreamContextForNetGroup(netGroup)
        return application.netGroupTable[netGroup];
    * Unregisters the StreamContext from the application.
    * @param streamContext - The StreamContext Object to unregister.
    function unregisterStreamContext(streamContext)
        if (streamContext.netConnection)
            delete application.netConnTable[streamContext.netConnection];
        if (streamContext.mcastNetStream)
            delete application.mcastNetStreamTable[streamContext.mcastNetStream];
        if (streamContext.netGroup)
            delete application.netGroupTable[streamContext.netGroup];
        trace("Unregistered multicast context for source stream: " +
              streamContext.streamName);
    // Application callback functions
    * Initializes global StreamContext lookup tables.
    application.onAppStart = function()
        application.streamTable = {};
        application.netConnTable = {};
        application.mcastNetStreamTable = {};
        application.netGroupTable = {};
    * Handles a publish event for the application by validating the request
    * and bridging the published stream into a target Flash Group. Invalid
    * publish requests are ignored and the publishing client's connection
    * is closed.
    * @param client - The publishing client.
    * @param stream - The published stream.
    application.onPublish = function(client, stream)
        //trace("Handling publish request for source stream: " + stream.name);
        var params = parseQueryString(stream.publishQueryString);
        if (!validateStreamParams(params))
            application.disconnect(client);
            return;
        var prevContext = getStreamContextForSourceStream(stream.name);
        if (prevContext)
            forceCloseStreamContext(prevContext);
        // Register source Stream, and kick off the async process that will
        // eventually wire-up the associated multicast NetStream.
        var streamContext = registerStream(client, stream.name, params);
        openMulticastConnection(streamContext);
    * Handles an unpublish event for the application by shutting down
    * any associated multicast NetStream.
    * @param client - The unpublishing client.
    * @param stream - The source stream being unpublished.
    application.onUnpublish = function(client, stream)
        trace("Handling unpublish request for source stream: " + stream.name);
        var streamContext = getStreamContextForSourceStream(stream.name);
        if (streamContext && (streamContext.state <= STATE_REPUBLISHING))
            destroyStreamContext(streamContext);
    // Callback functions for NetConnection and multicast NetStream/NetGroup wiring.
    * First step in setting up a republished multicast NetStream; open the loopback
    * connection it requires.
    * @param streamContext - The StreamContext Object for the publish event.
    function openMulticastConnection(streamContext)
        var nc = new NetConnection();
        nc.onStatus = netConnectionStatusHandler;
        streamContext.netConnection = nc;
        updateStreamContextLookups(streamContext);
        streamContext.state = STATE_CONNECTING;
        nc.connect(resetUriProtocol(streamContext.client.uri, "rtmfp"));
    * Status event handler for the loopback NetConnection used by the multicast
    * NetStream. Advances setup upon successful connection, or triggers or advances
    * tear-down as a result of connection loss or an unpublish and clean shutdown.
    * @param info - The status info Object.
    function netConnectionStatusHandler(info)
        var streamContext = getStreamContextForNetConnection(this);
        trace("Multicast NetConnection Status: " + info.code +
              (streamContext ? ", Source stream: " + streamContext.streamName : ", Not associated with a source stream."));
        if (streamContext)
            switch (info.code)
            case "NetConnection.Connect.Success":
                streamContext.state = STATE_CONNECTED;
                // If event type is Fusion or P2p, wire up a NetGroup for neighbor
                // bootstrapping and maintenance ahead of (re)publishing the stream.
                var type = streamContext.type;
                if (type == TYPE_FUSION || type == TYPE_P2P)
                    initNetGroup(streamContext);
                else
                    initMulticastNetStream(streamContext);
                break;
            case "NetConnection.Connect.Failed":
            case "NetConnection.Connect.Rejected":
            case "NetConnection.Connect.AppShutdown":
                trace("MULTICAST PUBLISH ERROR: Failed to establish server-side NetConnection for use by multicast NetStream. " +
                      "Status code: " + info.code + ", description: " + info.description + ", Source stream: " +
                      streamContext.streamName);
                streamContext.state = STATE_DISCONNECTED;
                destroyStreamContext(streamContext);
                break;
            case "NetConnection.Connect.Closed":
                if (streamContext.state < STATE_DISCONNECTING)
                    trace("MULTICAST PUBLISH ERROR: Unexpected server-side NetConnection close. " +
                         "Status code: " + info.code + ", description: " + info.description + ", Source stream: " +
                         streamContext.streamName);
                streamContext.state = STATE_DISCONNECTED;
                destroyStreamContext(streamContext);
                break;
            default:
                // Ignore.
    * Initializes the multicast NetGroup following a successful connection of its
    * underlying loopback NetConnection. This hook is optional and only runs for
    * event types of Fusion and pure P2P.
    * @param streamContext - The StreamContext Object for the multicast publish.
    function initNetGroup(streamContext)
        var ng = null;
        try
            ng = new NetGroup(streamContext.netConnection, streamContext.groupspec);
        catch (e)
            trace("MULTICAST PUBLISH ERROR: Failed to construct NetGroup. Error: "
                  + e.name + (e.message ? " " + e.message : "") +
                  ", Source stream: " + streamContext.streamName);
            destroyStreamContext(streamContext);
            return;
        ng.onStatus = netGroupStatusHandler;
        streamContext.netGroup = ng;
        updateStreamContextLookups(streamContext);
    * Status event handler for the multicast NetGroup. Advances to initializing the
    * multicast NetStream upon successful NetGroup connect. Otherwise, triggers
    * shut down.
    * @param info - The status info Object.
    function netGroupStatusHandler(info)
        var streamContext = getStreamContextForNetGroup(this);
        trace("Multicast NetGroup Status: " + info.code +
              (streamContext ? ", Source stream: " + streamContext.streamName : ", Not associated with a source stream."))
        if (streamContext)
            switch (info.code)
            case "NetGroup.Connect.Success":
                initMulticastNetStream(streamContext);
                break;
            case "NetGroup.Connect.Failed":
            case "NetGroup.Connect.Rejected":
                trace("MULTICAST PUBLISH ERROR: Failed to connect multicast NetGroup. " +
                      "Status code: " + info.code + ", description: " + info.description +
                      ", Source stream: " + streamContext.streamName);
                destroyStreamContext(streamContext);
                break;
            case "NetGroup.MulticastStream.UnpublishNotify":
                // At this point, multicast publishers will be notified;
                // continue shut down.
                destroyStreamContext(streamContext);
                break;
            default:
                // Ignore.
    * Initializes the multicast NetStream following a successful connection of its
    * underlying loopback NetConnection.
    * @param streamContext - The StreamContext Object for the multicast publish.
    function initMulticastNetStream(streamContext)
        var ns = null;
        try
            ns = new NetStream(streamContext.netConnection, streamContext.groupspec);
        catch (e)
            trace("MULTICAST PUBLISH ERROR: Failed to construct multicast NetStream. Error: " +
                  e.name + (e.message ? " " + e.message : "") +
                  ", Source stream: " + streamContext.streamName);
            destroyStreamContext(streamContext);
            return;
        var type = streamContext.type;
        if (type == TYPE_FUSION || type == TYPE_IP)
      var iAddr = (streamContext.interfaceAddress) ? streamContext.interfaceAddress : null;
            try
                trace("Multicast NetStream will publish to IP address: " + streamContext.address +
          " on interface address: " + ((iAddr) ? iAddr : "default") +
                      ", Source stream: " + streamContext.streamName);
                ns.setIPMulticastPublishAddress(streamContext.address, iAddr);
            catch (e2)
                trace("MULTICAST PUBLISH ERROR: Failed to assign IP multicast address and port for publishing. Address: "
                      + streamContext.address + " on interface address: " + ((iAddr) ? iAddr : "default") +
          ", Source stream: " + streamContext.streamName);
                destroyStreamContext(streamContext);
                return;
        ns.onStatus = netStreamStatusHandler;
        streamContext.mcastNetStream = ns;
        updateStreamContextLookups(streamContext);
        streamContext.state = STATE_PUBLISH_PENDING;
    * Status event handler for the multicast NetStream. Advances state upon successful
    * connect and publish, or upon successful unpublish. Triggers tear-down if we fail
    * to attach to a source Stream to republish.
    * @param info - The status info Object.
    function netStreamStatusHandler(info)
        var streamContext = getStreamContextForMulticastNetStream(this);
        trace("Multicast NetStream Status: " + info.code +
              (streamContext ? ", Source stream: " + streamContext.streamName : ", Not associated with a source stream."))
        if (streamContext)
            switch (info.code)
            case "NetStream.Connect.Success":
                if (!this.attach(Stream.get(streamContext.streamName)))
                    trace("MULTICAST PUBLISH ERROR: Failed to attach multicast NetStream to source. Source stream: " +
                          streamContext.streamName);
                    destroyStreamContext(streamContext);
        //var stream;
                //stream = Stream.get("liveStream");
                    //return;
                }else{
                this.publish(streamContext.streamName, "live");
                break;
            case "NetStream.Publish.Start":
                streamContext.state = STATE_REPUBLISHING;
                break;
            case "NetStream.Unpublish.Success":
                streamContext.state = STATE_UNPUBLISHED;
                // Wait for unpublish notify event if the context has a NetGroup;
                // otherwise continue shut down now.
                if (!streamContext.netGroup)
                    destroyStreamContext(streamContext);
                    break;
            default:
                // Ignore.
    * The common tear-down hook. Other functions that manage or shut down
    * the StreamContext Object delegate to this function upon detecting a fatal
    * error or during shut down.
    * @param streamContext - The StreamContext Object for the source Stream and
    *                        (potentially wired-up) multicast NetStream.
    function destroyStreamContext(streamContext)
        // Unregister by Stream name immediately; lookups by NetConnection, NetGroup
        // and multicast NetStream remain in place until tear-down is complete.
        delete application.streamTable[streamContext.streamName];
        switch (streamContext.state)
        case STATE_REPUBLISHING:
            streamContext.mcastNetStream.attach(false);
            streamContext.mcastNetStream.publish(false);
            streamContext.state = STATE_UNPUBLISHING;
            return;
        case STATE_CONNECTING:
        case STATE_CONNECTED:
        case STATE_PUBLISH_PENDING:
        case STATE_UNPUBLISHED:
            // Delete status handler callbacks and cleanup in case we arrived here
            // as a result of a force close.
            if (streamContext.netGroup)
                delete streamContext.netGroup.onStatus;
            if (streamContext.mcastNetStream)
                streamContext.mcastNetStream.attach(false);
                delete streamContext.mcastNetStream.onStatus;
            streamContext.netConnection.close();
            streamContext.state = STATE_DISCONNECTING;
            return;
        default:
            // Fall-through.
        // At this point, we either never got to the republishing state or we've
        // proceeded through the clean shut down steps above. Everything for this
        // StreamContext can go away.
        unregisterStreamContext(streamContext);
    * Utility function used to force close a StreamContext in the event that we
    * start handling a republish of a Source stream before the context for its
    * prior incarnation has been torn down.
    * @param streamContext - The StreamContext Object for the source Stream.
    function forceCloseStreamContext(streamContext)
        trace("Force closing previous multicast context for source stream: " + stream.name);
        prevContext.state = STATE_UNPUBLISHED;
        destroyStreamContext(prevContext);
    // Client callback functions
    * A no-op. Answers the RPC in the fashion expected by encoders, but the real
    * work happens in application.onPublish.
    * @param streamName - The name of the stream being published.
    Client.prototype.FCPublish = function(streamName)
        this.call("onFCPublish",
                  null,
                  {code:"NetStream.Publish.Start", description:streamName});
    * A no-op. Answers the RPC in the fashion expected by encoders, but the real
    * work happens in application.onUnpublish.
    * @param streamName - The name of the stream being unpublished.
    Client.prototype.FCUnpublish = function(streamName)
        this.call("onFCUnpublish",
                  null,
                  {code:"NetStream.Unpublish.Success", description:streamName});
    * If the client invoker's ip matches what was captured for a currently publishing
    * stream, assume it's the same client and reset the stream. Otherwise, ignore.
    * @param streamName - The name of the stream being released.
    Client.prototype.releaseStream = function(streamName)
        var streamContext = getStreamContextForSourceStream(streamName);
        if (streamContext &&
            (streamContext.client.ip == this.ip) &&
            (streamContext.state <= STATE_REPUBLISHING))
            // Only tear-down an orphaned stream if it's not
            // already shutting down (see state check above).
            destroyStreamContext(streamContext);
    // Helper functions
    * Validates that a newly published stream has correct metadata (e.g. query
    * string parameters) to republish into a Flash Group. This function also
    * writes a message to the application log for any validation failures.
    * @param params - The quiery string parameters for the source Stream.
    * @return true if valid; otherwise false.
    function validateStreamParams(params)
        var empty = true;
        for (var param in params)
           empty = false;
           break;
        if (empty)
            trace("MULTICAST PUBLISH ERROR: Stream query string is empty.");
            return false;
        if (!params["fms.multicast.type"])
    trace("MULTICAST PUBLISH ERROR: Stream query string does not specify a 'fms.multicast.type'.");
            return false;
        var type = params["fms.multicast.type"];
        if (type != 1 && type != 2 && type != 3)
            trace("MULTICAST PUBLISH ERROR: 'fms.multicast.type' has invalid value: " + type);
            return false;
        if (!params["fms.multicast.groupspec"])
            trace("MULTICAST PUBLISH ERROR: Stream query string does not specify a 'fms.multicast.groupspec'.");
            return false;
        // Fusion and IP require an address:port.
        if ((type == 1 || type == 2) &&
            !params["fms.multicast.address"])
            trace("MULTICAST PUBLISH ERROR: Stream query string does not specify a 'fms.multicast.address'.");
            return false;
        // No obvious validation issues.
        return true;
    * Parses the supplied query string, and if valid, returns an Object populated
    * with the name-value pairs contained in the query string. The simple processing
    * here does not preserve multiple name-value pairings having the same name; the
    * last value seen wins. Parameters with no value are mapped to "" (empty String)
    * in the returned Object.
    * @param queryString - A query string portion of a URI, not including the leading
    *                     '?' character.
    * @return An Object containing a key-value mapping for each name-value parameter
    *         defined in the query string; Object is empty if the query string is
    *         invalid.
    function parseQueryString(queryString)
        var result = {};
        var decoded = "";
        try
            decoded = decodeURIComponent(queryString);
        catch (e) // Invalid URI component; return empty result.
            return result;
        if (decoded.length)
            var params = decoded.split('&');
            for (var i in params)
                var pair = params[i];
         var sepIndex = pair.indexOf('=');
                if (sepIndex != -1)
                    var name = pair.substr(0, sepIndex);
                    result[name] = pair.substr(sepIndex + 1);
                else
                    result[pair] = "";
        return result;
    * Utility function used to swap out the protocol (scheme) portion
    * of a given URI with an alternate.
    * @param uri - The full URI.
    * @param desiredProtocol - The replacement protocol.
    * @return The URI with its protocol replaced.
    function resetUriProtocol(uri, desiredProtocol)
        var sepIndex = uri.indexOf("://");
        return desiredProtocol + uri.substr(sepIndex);

    HELP ME !!! THANKS!!!

  • Music on my phone lost.  When I sync to I Tunes it doesn't add the music.  phone updated to 6.1.  how do I get the music back in the phone.

    Music loaded to my phone is lost.  When I resync to I Tunes it doesn't add the lost music.  My phone was updated to 6.1.  Any suggestions on how to restore the music to the I Phone?

    If the music is in iTunes you should be able to sync it back to your iPhone.
    What settings do you have in the iTunes Music tab for your device?
    Is Sync Music set?
    Is Entire music library checked?
    What happens when you sync?
    If iTunes is confused and thinks the music actually is on your iPhone you could try unchecking Sync Music and then sync. Follow this by checking Sync Music and then sync again.

  • When I stop a movie, it doesn't go back to the main menu.

    I am experiencing a very frustrating situation.
    I have burned a DVD with 2 short movies on it.
    When I play either of them all the way through, after they're over, it returns automatically to the main menu, which is what I want.
    However, when I STOP either of them anywhere during the playing, it does NOT return to the main menu. It just stays on a black screen.
    This situation happens on my Mac DVD Player, and also on external DVD players connected to a TV.
    Let's say I am watching the 1st movie, I don't like it and I want to watch the 2nd one on the same DVD. I logically press STOP, but it doesn't bring me back to the main menu. If I press "Menu" or "title", it doesn't work either.
    Is there something on the "Map function" window that I should do?
    If not, is there any other solution?
    Many thanks in advance for any help.

    Ok, don't press STOP, just press "menu" or "title" without pressing stop.
    BTW, I tested both a commercial DVD (Indiana Jones and the Last Crusade) and and a iDVD disk in my Panosonic player and on my Mac with the Apple DVD player.
    On the Panosonic Player: If I press Stop on either DVD, I go to a blank screen. If I press menu once and wait a sec or two, both DVDs go back to the main menu.
    On the Apple DVD player: If I press Stop on either DVD, I go to a blank screen, and pressing "menu" gives me the "not permitted" warning for both DVDs.....
    So It seems like fro me, iDVD works just like the commercial DVD on both the Mac and the DVD player.....
    John B

  • On fcp6 - all of a sudden my titles and images disappear when timeline stops. Can't edit or see titles.

    titles and stills work fine in playback, but disappear when timeline stops. Can't edit titles. Can't find how to bring things back. restarted FCP and Mac.

    Second image shows outline of title over background image.  All images are .jpg finished in Photoshop as I normally do.  They worked fine during the first half hour of editing.

  • I bought an ipod in 2006 and used it only for a few days, and i lost it when it fell two times from my hand and it wasn`t working, help me regarding this.

    i bought an ipod in 2006 and used it only for a few days, and i lost it when it fell two times from my hand and it wasn`t working, help me regarding this.
    REGARDS
    RISHABH AULIYA

    Apple - Support - iPod - Repair pricing - http://www.apple.com/support/ipod/service/prices/
    ipod repair options - https://discussions.apple.com/thread/3900047 and https://discussions.apple.com/message/18867033
    Service Answer Center - iPod - http://support.apple.com/kb/index?page=servicefaq&geo=US&product=ipod  <-- enter correct country once on page.

  • How can i say yes to automatic updates when they stop my wireless dlink to Virgin home broadband from getting on the internet and then i have to do a system restore to the day before the update to get it back to normal?!? Frustrated

    how can i say yes to automatic updates when they stop my wireless dlink to Virgin home broadband from getting on the internet and then i have to do a system restore to the day before the update to get it back to normal?!? Frustrated
    == This happened ==
    Not sure how often
    == automatic updates go on my computer, say if i click yes to update when shutting down

    You have 10.6 on that machine, I suggest you stick with it for performance, third party hardware and software reasons as long as possible.
    Consider 10.8 (not 10.7) when it's released, because 10.7 and 10.8 will require a new investment in software and newer third party hardware as it requires newer drivers the old machines won't have. (forced upgrade because of software, really nice of them)
    http://roaringapps.com/apps:table
    Far as your Safari problem do these things until it's resolved:
    1: Software Update fully under the Apple menu.
    2: Check the status of your plug-ins and update (works for all browsers) also install Firefox and see if your problems continue. You should always have at least two browsers on the machine just in case one fails.
    https://www.mozilla.org/en-US/plugincheck/
    Flash install instructions/problem resolution here if you need it.
    How to install Flash, fix problems
    3: Install Safari again from Apple's web site
    https://www.apple.com/safari/
    4: Run through this list of fixes, stopping with #16 and report back before doing #17
    Step by Step to fix your Mac

Maybe you are looking for

  • Help Needed on Importing Pictures for a Contact...

    I've managed to get a picture or two in Addressbook, but it must have been pure luck. Tonight I went to replace the "flower" that is next to a persons name, and though I dragged a picture into the little frame where you can enlarge and shrink it succ

  • How to enable message mapping tools in design integration buldier?

    Hi, The message mapping tools like 'Map selected fields and substructures if names are identical', 'Clear mapping', 'Data flow editor', 'Text Preview', 'Dependencies', etc are not enabled in our PI. The version of PI is PI_BASIS 2005_1_700 and the ja

  • Exporting to web

    I want to export my movie to a website ( not youtube) what settings do I use after I finish editing to get the best quality compression for exporting to the web.

  • How can I get albums off my i-phone?

    I turned i-tunes match on on my i-phone and now my entire library shows up on my phone...some of the items have the cloud logo indicating that they haven't been downloaded.  How do I get rid of items/albums I don't want?  I have called customer suppo

  • What is the Badi name for adding entered Amount  to Balance in incoming Invoice ?

    I need your help in finding the right badi/user exit which sets the amount entered ( 222,00) to balance.. or is their any way in value to balance ( which is in Right top corner )..