How to fast manual switching between streams in osmf plugin

I just want to manual switching between streams using osmf plugin in custom player. For this I have use following code.
mediaPlayer.autoDynamicStreamSwitch = false; mediaPlayer.switchDynamicStreamIndex(bitrateAdaptive.selectedIndex); mediaPlayer.addEventListener(DynamicStreamEvent.SWITCHING_CHANGE, onSwitchingChange);
I am playing smil file streaming by wowza streaming server but code work but switch between streams very slow. It takes about 20 to seconds for switching which is not expected in this case.

I just want to manual switching between streams using osmf plugin in custom player. For this I have use following code.
mediaPlayer.autoDynamicStreamSwitch = false; mediaPlayer.switchDynamicStreamIndex(bitrateAdaptive.selectedIndex); mediaPlayer.addEventListener(DynamicStreamEvent.SWITCHING_CHANGE, onSwitchingChange);
I am playing smil file streaming by wowza streaming server but code work but switch between streams very slow. It takes about 20 to seconds for switching which is not expected in this case.

Similar Messages

  • How Do I Quickly Switch between Fusion and the Mac Desktops?

    How do I quickly switch between the two desktops? Also, is there any benefit to quitting Windows before I get out of Fusion?
    Thanks,
    Jim

    Command Tab will switch between the two desktops. If you don't quit Windows beofre closing Fusion you are suspending Windows. IMHO this isn't as clean as closing it. I have found closing Windows before closing Fusion makes my system more stable.

  • How do I quickly* switch between two Skype account...

    I have a need to be able to quickly* switch between two Skype accounts on my Windows 7 desktop computer.
    Both accounts have high-security difficult-to-remember and hard-to-type passwords.
    Many products have a facility for doing this, remembering recent account/password combinations, or having linked accounts.
    Does Skype have a way of doing this?
    And if it doesn't, how do I request it get one be developed?
    I use a password manager, LastPass, but of course Skype isn't a browser so it doesn't work with Lastpass.
    * "Quickly switch" means without switching computer sign-on accounts and without re-typing the high-security difficult-to-remember and hard-to-type passwords many times per day.
    I understand you're all volunteers.  Thank you very much for your efforts on this.
    - Keith
    Solved!
    Go to Solution.

    This can be done by setting up an another Skype client in a separate directory and with a shortcut containing the extra /datapath, /removable and /secondary switches.
    http://community.skype.com/t5/Windows-desktop-client/Why-did-Microsoft-have-to-go-and-ruin-Skype-lik...
    For your purpose you can make use of a copy of Skype.exe of the already installed Skype application.

  • How to create and switch between two different Mail accounts.

    Dear Apple,
    My wife and I share the same computer and the same single user account.
    Sharing contacts, calendar, music and pictures in fine, but we would like two separate Mail accounts.
    Is there a way to setup two Mail accounts with two separate mailboxes and switch between them manually?
    Regards,
    Stephan

    Ok, I'm confused.  If you have 2 accounts set up -- for example, "[email protected]" and "[email protected]" -- then you go to the "Accounts" tab on Mail->Preferences, and set them up, giving each one a name which distinguishes it from the other.  Maybe "AOL" and "gmail" or "foo" and "bar" or your first names, whatever.
    Then, if you select the line that says "Inbox" you will see mail from both accounts interleaved together.  If you fold down the triangle thingy next to the word "Inbox" then two lines will appear, one for each account.  If you click on one of those lines then your display will only show the mail from that mailbox.

  • How does fast user switching know which energy settings to use?

    When using fast user switching and keeping 2 accounts logged in, which accounts' energy settings take priority (assuming their settings don't match)? For example, let's say I set my account's display to sleep after 15 minutes and my wife sets hers for 30 minutes. If we both keep our accounts logged in and then leave the Mac on the login screen, who wins?
    The reason I ask is because my display won't stay asleep. Unlike my example above, I've made sure both accounts have identical energy settings (sleep the display after 15 minutes & the iMac itself is set to 'never sleep'). I can get it to sleep (usually by pressing control-shift-eject), but it will not stay asleep. I don't think any applications are causing this (I've shut down all apps to test - only Time Machine is scheduled to run automatically). I'm starting to wonder if fast user switching could be the cause? I usually keep both accounts logged in at all times and return to the login screen before heading to bed. I then force the display to sleep with control-shift-eject, but several hours later I wake up to a bright room because the display has turned on again. I haven't tried turning off fast user switching yet, but I can see where that might confuse the OS?
    Oh, I've also disabled waking on bluetooth activity just in case my wireless mighty mouse was losing its connection & waking the display upon reconnection - no luck.
    Any thoughts or suggestions are appreciated - it's driving me nuts, especially since I can't just turn off the iMac display itself without powering down the entire system.

    Energy Saver settings are system-wide and not specific to the user. If one user changes the settings, it's changed for everyone. Screensaver settings are user-specific.
    That said, the reason that the system wakes by itself can be one of several things: the system is set to wake up (you can set this under energy saver) by preferences or some application/service, the system receives a wake-up message from something on the network (you can configure this under Security, I believe, or Network, I don't recall), or you have "chatter" related to a device plugged into your computer.
    "chatter" is when a USB device or FireWire device sends a signal to the computer it's connected to. Normally, peripherals are quiet if not actively in use, but some things (cheap USB hubs, certain mice, etc) will spuriously send a signal to the connected computer and cause it to wake.

  • How can I play live http streaming in osmf?

    Hi,
    I was trying to play live http streaming in osmf player but it was saying "Error #1009: Cannot access a property or method of a null object reference.". I think I need to do some change in OSMF player code to play live as vod plays fine. Can anybody point me in that direction?
    Thanks and Regards,
    Amit

    I downloaded StrobeMediaPlayback from https://sourceforge.net/projects/smp.adobe/files_beta/StrobeMediaPlayback_1.5_Sprint-4/ (10.1 version) and it is working for me.
    By the way when I try to play live Http in debug flash player with my previous player then I get following error :
    VerifyError: Error #1014: Class org.osmf.net.httpstreaming.f4f::AdobeBootstrapBox could not be found.
                    at org.osmf.net.httpstreaming::HTTPStreamingNetLoader/createNetStream()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\httpstreaming\HTTPStreamingNetLoader.as:86]
                    at org.osmf.net::NetLoader/finishLoading()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:406]
                    at org.osmf.net::NetLoader/startLoadingHTTP()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:724]
                    at org.osmf.net::NetLoader/executeLoad()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\net\NetLoader.as:289]
                    at org.osmf.traits::LoaderBase/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:111]
                    at org.osmf.traits::LoadTrait/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:170]
                    at org.osmf.media::MediaPlayer/load()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1854]
                    at org.osmf.media::MediaPlayer/updateTraitListeners()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1497]
                    at org.osmf.media::MediaPlayer/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\media\MediaPlayer.as:1332]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/processTraitsChangeEvent()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:475]
                    at org.osmf.elements::ProxyElement/onTraitAdd()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:436]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements::ProxyElement/set proxiedElement()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\ProxyElement.as:182]
                    at org.osmf.elements::LoadFromDocumentElement/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\LoadFromDocumentElement.as:152]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.elements.proxyClasses::LoadFromDocumentLoadTrait/loadStateChangeEnd()[C:\Documen ts and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\proxyClasses\LoadFromDocumentLoadTrait.as:50]
                    at org.osmf.traits::LoadTrait/setLoadState()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:266]
                    at org.osmf.traits::LoadTrait/onLoadStateChange()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoadTrait.as:417]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at org.osmf.traits::LoaderBase/updateLoadTrait()[C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\traits\LoaderBase.as:208]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:finishLoad() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:211]
                    at Function/org.osmf.elements:F4MLoader/protected:executeLoad/org.osmf.elements:onComplete() [C:\Documents and Settings\akuma\Adobe Flash Builder 4\OSMFPlayer\src\org\osmf\elements\F4MLoader.as:192]
                    at flash.events::EventDispatcher/dispatchEventFunction()
                    at flash.events::EventDispatcher/dispatchEvent()
                    at flash.net::URLLoader/onComplete()
    Regards,
    Amit

  • How do I manually download radio stream list in 7.01?

    Hello,
    I reinstalled Tiger and Itunes 7.01. When I started Itunes for the first time and selected Radio I got a message that the list of radio streams need to be downloaded from the internet which I agreed to. Unfortunately I had forgotten to setup the internet connection so the download failed.
    Now the list of radio streams is empty and I'm not asked if I want to download again.
    How do I initiate a download of available streams manually?
    Regards
    Draknet

    I tested my previous post with my 'Test' account before posting that reply and it worked.
    This is what I did:
    Deleted the .plist file, disconnected modem and ran iTunes.
    Clicked through the initial questions and clicked on 'Radio'.
    Got an completely blank window; reconnected modem, clicked on 'Radio' and the categories appeared. Clicking on the small triangles loaded the streams.
    Did the same steps again, but before connecting the modem again, I first quitted iTunes and deleted the .plist file.
    Both times it worked and I got the streams.
    Sorry, I don't know why it doesn't work on your system.
    Your 'Radio' window is completely blank? Not even the categories?
    M

  • How do you programmatically switch between a stack plot and an overlay plot with a waveform control?

    One method i realize is to have two waveform controls, one visible and one not visible. The real issue here is, how to dynamically control the number of plots in a stacked plot. My case,
    i will have between 2 and 8 channels. I have found that in the properties if i set the number of plots - Legend--Plots shown . I can control the number of stack plots, however, i must toggle from overlay to stack plots in design mode for the correct number of stack plots to be shown. Does anyone know a way around this problem or know of the property that has alluded me?

    Hi,
    You cant select between Stack plot and Overlay programmatically. Well not in LaBVIEW 5.1.1.
    You could have two Charts, one set up for Overlay and the other setup for Stacked. Then hide the one you are not immediately using.
    Ray.
    Regards
    Ray Farmer

  • A question about switching between streams

    Hi,
    I am using a set of streams and readers in the following format to read from an ascii / binary mixed file. Once i read past all the ascii I break out of the loop and then use the data input stream to read som four byte floats from the binary data.
    If you look at the extract from the file that lase piece of ascii that I read in is EST_Header_End. It is then followed by the floats. I know that the .. following the EST_Header_End is carraige return and new line. My problem is that when i start reading the floats i get NaN even though i know for a fact that the values following the .. are floats.The second float that it read in is definitely 1.0 . I cannot understand why this is happening. Surely if i start using a DataInputStream it should start at the same position as the BufferedReader left off.
    fis = new FileInputStream(fileName);
    bis = new BufferedInputStream(fis);
    //allow a reader from a stream
    isr = new InputStreamReader(bis);
    //read the raw bytes
    dis = new DataInputStream(bis);
    //read the characters and strings
    br = new BufferedReader(isr);EXTRACT FROM FILE
    Channel_10 lpc_N..
    EST_Header_End..
    <..@?...K...>..;>.P.>...>.S:>....4f....}...."=...>...<._@?...K{s.>...>.U.>.L6>..<>....5.....4..0...
    for(int k = 0; k < numFrames; k++){
         System.out.println( "reading track" );
         voice.diphone[index].frame[k].setframeTime(dis.readFloat());
         counter += 4;
         System.out.println( "time " + voice.diphone[index].frame[k].getFrameTime());
         voice.diphone[index].frame[k].setIsVal(dis.readFloat());
         System.out.println("isVal "+ voice.diphone[index].frame[k].getIsVal());
         voice.diphone[index].frame[k].setGain(dis.readFloat());
         System.out.println("isVal "+ voice.diphone[index].frame[k].getGain());
         counter += 4;
         for(int l = 0; l < (numChannels); l++){
              voice.diphone[index].frame[k].setValueLpc((dis.readFloat()),l);
              counter += 4;                               
              System.out.println("LPC coefficents at diphone "+ index +" " +"frame "+ k+" Lpc coefficent "+l+" " + voice.diphone[index].frame[k].getValueLpc(l));
    }

    I assume that you read
    EST_Header_End..
    with the BufferedReader, using readLine().
    The problem is that when doing the readLine() (or any read for that matter) using BufferedReader, it's going to read more data than it needs and store those bytes in the BufferedReaderClass. Then when DataInputStream goes to read, it will not know this and read somewhere down the stream.
    Probably, as unpleasant as this is, you need to layer the DataInputStream on top of the BufferedReader. Or maybe you can do something fancy with mark() and reset() altho, doubtful.
    >
    fis = new FileInputStream(fileName);
    bis = new BufferedInputStream(fis);
    //allow a reader from a stream
    isr = new InputStreamReader(bis);
    //read the raw bytes
    dis = new DataInputStream(bis);
    //read the characters and strings
    br = new BufferedReader(isr);EXTRACT FROM FILE
    Channel_10 lpc_N..
    EST_Header_End..
    <..@?...K...>..;>.P.>...>.S:>....4f....}...."=...>...<.
    @?...K{s.>...>.U.>.L6>..<>....5.....4..0...
    for(int k = 0; k < numFrames; k++){
         System.out.println( "reading track" );
         voice.diphone[index].frame[k].setframeTime(dis.readFlo
    t());
         counter += 4;
    System.out.println( "time " +
    voice.diphone[index].frame[k].getFrameTime());
         voice.diphone[index].frame[k].setIsVal(dis.readFloat()
    System.out.println("isVal "+
    voice.diphone[index].frame[k].getIsVal());
         voice.diphone[index].frame[k].setGain(dis.readFloat())
    System.out.println("isVal "+
    voice.diphone[index].frame[k].getGain());
         counter += 4;
         for(int l = 0; l < (numChannels); l++){
              voice.diphone[index].frame[k].setValueLpc((dis.readFl
    at()),l);
              counter += 4;                               
    System.out.println("LPC coefficents at diphone "+
    + index +" " +"frame "+ k+" Lpc coefficent "+l+" " +
    voice.diphone[index].frame[k].getValueLpc(l));

  • How does apple tv2 switch between hdmi and optical

    I have the ability to connect my Apple TV2 to my avr using both HDMI and optical......is there any benfit using the optical for lossless music as opposed to HDMI and if so how can I get apple tv2 to differentiate....or does it use HDMI as default if connected?

    AFAIK, sound is sent simultaneously via HDMI and optical. mute the sound on your TV as necessary.

  • How can i manually switch my AMD A8 5500 for an Intel 5 4690k

    So i have no experience in this so please help if u can or even if you can do it!
    Here are my computer specs: http://gyazo.com/89fa734ba929773258a029fa398030e8 (click on it)
    Any help would be greatly appreicated! 

    For the most part you are unable to go from a AMD CPU to a Intel. The chipset they require are different, I could be wrong but from my experiance building and tweaking PCs I do not believe this can be done. From what I believe you would have to replace your MOBO, GPU, and any other AMD propriatary hardware with Intel hardware. Again I could be mistaken but I am fairly confident in this answer.
    Hope this helps!

  • Fast user switching between accounts treats 2nd user as new

    It's not so much a problem as simply annoying...
    But I have set up a 2nd user account for my wife on both our eMac and our new MacBook. The MacBook has no issues, but every time she logs in to her account on the eMac she gets the "Welcome to iChat!" setup routine. (iChat, Mail & Safari are set to launch with her login.) It's especially odd because iChat remembers her AIM account name & password, but the fields for her account user name are empty even though her information is in the address book AND the upper right-hand corner of the screen.
    She humored me when I took the time to set up her account on both computers and learned to keep all our common information shared & backed up with .Mac & iSync---and it's all gone off without a hitch---but this having to click iChat's "Continue" a half-dozen times is trying her/my/our patience. Any suggestions?
    MacBook, 700 MHz G4 Emac (plus an original iMac)   Mac OS X (10.4.7)  

    Hi Paddy,
    Welcome to the Apple Discussions
    That is odd. iChat is supposed to store the info in two places.
    An AIM login is held in com.apple.ichat.AIM.plist
    Sometimes deleting this plist whilst iChat is open and then restaring iChat can sort things.
    The Account/screen name and password is supposed to be stored in the Keychain. http://discussions.apple.com/thread.jspa?threadID=121885
    12:06 AM Wednesday; July 19, 2006

  • Best way to speed up switching between apps?

    Hi,
    I'm trying to figure out what I can do to make my Mac Pro better, (ie, faster) at switching between applications. There will be times when I am working in Photoshop and I need to go back to Illustrator, or InDesign (these seem to be the 2 worst offenders) and it will literally take minutes for my computer to finally open the .ai or .indd file. And just fyi, the files are already open, I'm just clicking from the PS environment to an already open file in Illustrator or InDesign and bringing them to the front.
    Is this a lack of RAM? Is it something else? Is it an Adobe issue? I'm just pulling my hair out trying to figure out how to make this better/more efficient. If buying/installing more RAM would help, then I am open to that, but I just want to make sure that is the root of the problem, or that it will at least make it better. I suspect that it's not necessarily just an Adobe-centric issue since clicking on Firefox will also reproduce the same problem, ie. it will take a minute or two to finally come to the front.
    The basic breakdown of my system: Mac Pro 2 x 2.66 GHz 6-Core Intel Xenon, 8 GB Memory (8 GB 1333 MHz DDR3), running system 10.6.8. Adobe Creative Suite 5.
    Any help would be greatly appreciated. Thank you.
    -Eric

    It might help to have Activity Monitor running while you're working like this, to see what's happening to the CPU, the RAM, and the drives. Activity Monitor is in your Applications/Utilities folder.
    The first tab of the application is CPU usage. Unless you're pegging the cores with a heavy processing job (eg, file conversion), that's unlikely to be your bottleneck, but it's always possible that there's a process running there you weren't aware of.
    Next is RAM. When you have large files open, those files are stored in RAM, so with PS, AI and ID files open at the same time, you may find you quickly use up your available memory. Check how much red, yellow, blue and green you have in the pie chart. Any time you have to page RAM out to the hard drive, it'll cause a slowdown. I would say 8GB is actually on the low side for that kind of simultaneous use of Adobe apps. Get 12GB or really as much as you can afford.
    Obviously check drive space - you should leave a good 10-15% room free on your project drive. And are you storing the media/project files on your system drive? Using a separate, fast (ie, 7200rpm) drive, or even two striped, can give you MUCH better performance when reading/writing media.
    Matt

  • Page switching in Streaming portal

    Hi,
    Am been working with weblogic portals recently.
    In file based portals, we used to switch to different pages using the pageBackingContext.
    But, am now working with Streaming portals, where we render the pages using the Preference set for the portlet in the admin console. If this is the case, how am i too switch between the pages?
    Thanks in advance.

    If you do not need to alter the output order (e.g. to reverse), the following will be sufficient:
    %%Page: 1 1
    %%BeginPageSetup
    <</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 0>>  setpagedevice
    %%PageOrientation: Portrait
    pdfStartPage
    0 0 595 842 re W
    %%EndPageSetup
    %%Page: 2 2
    %%BeginPageSetup
    <</Duplex false/PageSize  [595 842] /Tumble false /ManualFeed false /MediaPosition 1>>  setpagedevice
    %%PageOrientation: Portrait
    pdfStartPage
    0 0 595 842 re W
    %%EndPageSetup
    The italic lines are copied from your sample file, the bold line is what you should insert. For the 3rd and following
    pages you need not do anything as long as you don't change the output order.
    Helge

  • Mid-2012 RMBPro 10.9.4: Is it possible to switch between graphic cards?  Activity monitor shows the high perf card always active even through no running apps need it.

    How does one switch between graphics cards on a RMB Pro that has both a regular and high performance card installed?

    There's no control built into OS X to manually switch between them (that I know of). But in your Energy Saver preferences, there is setting called Automatic Graphics Switching that will either keep the discrete GPU on all the time, or automatically switch it off when not in use. Do you already have this preference turned on?
    It might keep the high performance graphics card on if it's plugged into AC power, since there is no battery life penalty in that case.

Maybe you are looking for

  • FF hangs when trying to save pdf files

    Adobe pdf documents open fine but when I try to save a copy, FF hangs (hourglass, stops responding). Right-click and "Save link as" also hangs. Under Tools->Options, if I select either "General" or "Applications", it hangs. All add-ons (there are onl

  • Automatically create file name based on information in image

    Hi, I have a requirement to scan 100 documents into a single tiff file. I need a software that can split the images (inside the big tiff file) into individual tiff files afterward. I need to extract a number appearing in each of these tiff image to b

  • Need Help with Creating the SQl query

    Hi, SQL query gurus... INFORMATION: I have two table, CURRENT and PREVIOUS.(Table Defs below). CURRENT: Column1 - CURR_PARENT Column2 - CURR_CHILD Column3 - CURR_CHILD_ATTRIBUTE 1 Column4 - CURR_CHILD_ATTRIBUTE 2 Column5 - CURR_CHILD_ATTRIBUTE 3 PREV

  • Can I still change my email address for iCloud?

    My assistant used the wrong name for my iCloud email account, and it's imparative for me to change it. Can anyone help me on this?

  • Possible Internet Fraud using Skype Numbers

    Hi All. I purchased some Rio Carnival tickets in September 2013 from a website that looks like it has offices in 8 different cities in the world, and also has a Skype contact name. You can phone any of these numbers and they are all directed to the s