How to handle latency due Audio/Video live streams.

Hi everybody reading this,
I am using fms3.5 and the scenario that i wish to solve is that:
1) From a flex application client I start publishing a video at x bytes per second.
2) At the receiver's end, I start getting the video very fine at receiver, with Server to client value around x bytes per seconds (almost).
3) But as soon as the bandwidth of the receiver dips down, due to slow net connection, then the receiver is unable to take x bytes per second. Hence at the receiver's end,      the server to client value also falls down considerably. and receiver faces latency.
4) While the receiver is facing latency, the publisher continues to flood the receiver with the x bytes per second data.
5) The data starts accumulating in some queue over the server.
6) Now, when the receiver gets its bandwidth back high in some time, suddenly the fms server sends all of the accumulated data to the receiver and it can be seen as an enormous increase in Server to client value towards the receiver.
Please help me for the following problems:
1) Can i keep on flushing/removing the accumulated a/v data, so that a user that is already facing latency must not be further flooded? if possible then how?
2) What is the best way to eradicate latency? Any good alternative so that if people are on a low connection they should not face latency?
Please help.
Regards and Thanks,
Sahil.

You can use NetStreamInfo class , check you documentation of same here : http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStreamInfo .html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2

Similar Messages

  • How do I fix my audio/video in iChat 4.0.9?  it has worked perfectly until last night.

    How do I fix my audio/video in iChat 4.0.9?  it has worked perfectly until last night.  I have been having video calls iChat with my granddaughter for 4 weeks.  All of a sudden last night I wasn't able to complete the video/audio.  We were able to iChat with writing.  The message I got was to go to connection doctor.
    The error log -
    2011-04-24 19:33:43 -0400: No data has been received for the last 10 seconds.
    Audio channel info: local machine using 10.0.1.2:16402, expecting remote machine to send to 69.138.244.124:58521
    Video channel info: local machine using 10.0.1.2:16402, expecting remote machine to send to 69.138.244.124:58521
    Every time we tried to connect I got the same error message.
    I use an airport extreme - my granddaughter has some kind of wifi - but the error was on my side not hers as she connected to her friends.
    Please help.
    Thank you.

    Hi - I have a cable modem from comcast.
    I am not sure I understand all your questions, suggestions - so I will copy what I have when I go into the airport utility under internet.
    Do you have four tabs (You may have less)  I HAVE 4 TABS
    In the First tab what does it read at the Bottom ?  AT THE BOTTOM OF THE FIRST TAB (INTERNET CONNECTION) IT DOES SAY "SHARE A PUBLIC IP"  WHEN I LOOK AT THAT SETTING - I COULD CLICK INSTEAD BRIDGE MODE OFF, OR DISTRIBUTE A RANGE OF IP ADDRESSES.  BUT FOR NOW THE ONE THAT IT IS ON IS THE SHARE A PUBLIC IP.
    "Share a Public IP" ?
    Or "Bridge (Off) Mode" ?
    I DON'T UNDERSTAND WHERE TO LOOK FOR THE INFO BELOW.  I ALSO HAVE UNDER THE INTERNET CONNECTION TAB - CONNECT USING ETHERNET AND ETHERNET WAN PORT AUTOMATIC (DEFAULT)
    THE 2ND TAB IS TCP/IP AND THERE IT LISTS CONFIGURE IPv4: USING DHCP
    IP ADDRESS: 69.138.244.124
    SUBNET MASK  255.255.248.0
    ROUTER ADDRESS  69.138.240.1
    DNS SERVER  68.87.73.246  AND 68.87.71.230  (THESE ARE FILLED IN THE BOXES AND NOT CHANGEABLE.
    THE 3RD TAB IS DHCP
    DHCP BEGINNING ADDRESS 10.0 .1 .2
    DHCP ENDING ADDRESS 10.0.1.200
    DHCP LEASE IS 1  THEN DAY
    4TH TAB NAT
    CHECKED IS ENABLE NAT PORT MAPPING PROTOCOL
    I HAVE BEEN USING THIS AIRPORT EXTREME FOR AT LEAST ONE YEAR.
    THE ONLY DIFFERENT ISSUE IS THAT I HAD BEEN TRAVELING AND USED MY DAUGHTER'S AIRPORT EXTREME LAST WEEK.  I HAVE NO IDEA ANY OF THAT INFO - BUT I DO KNOW THAT THE AIRPORT EXTREME LISTED IN THE UTILITY IS THE ONE AT MY HOME THAT I AM WITH NOW.
    THANK YOU FOR TAKING THE TIME TO TRY TO HELP ME.  I REALLY APPRECIATE IT.
    JUDY
    Between that drop down and the tabs should be the info  on how it connects to the Modem.
    It may list that Puiblic IP.
    It may list another LAN IP (one from the Modem)
    Does it start 192.168....
    Or 172.16 (or up to 172.32....)
    Or possibly another 10.... number ?
    If the modem is issuing IPs to the LAN there are two things that can  effect things
    One is the fact the computer gets two IPs (even though the mac can only display one)
    And If you used Port Forwarding in the Modem the Place (IP/Computer or device) that it was pointing to may not be the Airport Base Station any more.

  • How To combine 2 PlayerPanel (Audio & Video) To only oneFrame

    How To combine 2 PlayerPanel (Audio & Video) To only one Frame ... By now I use Video Conference with IP Multicast and use 2 port numbers for Audio and Video .... But When I receive new Stream ... As a matter of fact It've 2 Stream , Rite ??? When I receive I have 2 Frame ( Audio and Video Frame)
    But That was not properly work ... That may take come confuse to user I wanna Grap 'em into one How can I do ??? Because of SSRC was created by Random method so SSRC cannot be indentify
    NuT

    dear NUT please send me the code for this video conferencing over lan with the multicast feature--i am in a great need of it urgently. The code you have already posted is having a great problem that Transmitter class contains the code for receiver class while the Receiver Class already contains the same code.
    Moreover the video we transmit, we also want to see over our own machine plesae send some suggestion regarding this thing--means we want to see two videos at a time one is our own and other is the streamed one.
    i know you would be a busy programmer but i am complled to ask you for help.
    please send me the right code over my email brecause it would become easy for me to reach My Email:
    <[email protected]>

  • We reset the system and now I cannot watch video/live stream. What setting to I need to change?

    I cannot download any programs to allow access to video/live stream TV. What settings do I need to change?

    Welcome to Apple Communities
    Uninstall > http://fpdownload.macromedia.com/get/flashplayer/current/support/uninstall_flash _player_osx.dmg Finally, install Flash > http://get.adobe.com/flashplayer/otherversions

  • How to send files like audio,video,images and text via RMI..

    Hi everyone,
    As I am working under a project, my own, of creating a chat machine, I've thought to make it capable of doing everything that MSN or yahoo MSN can do. Till now I've just been able to send messages and some small icons as expressions. So, my next step will be making my progam able to send even other files like audio, video, images and text to the person on the other machine to whom I'm chatting. But as I don't have any idea on how to start doing it, I want anyone who think he/she can help me to give me the basic logic that is used to do so. I would very much appreciate it. I've used vectors to store the text messages which is visible to all the users using the chat program enabling them to see various messages in it.
    thank you...
    Jay

    Hi,
    Now, I got stuck because the code doesn't seem to work well. For large files with around 40 mb or more size couldn't be sent. I have constructed the code, just rough sketch, as follows:
    ** In the Server Implementation class I've used FileInputStream to read the contents of a file that is sent as an argument to the method.
    ** Similarly, in the client side I've used RandomAccessFile to save the received array of bytes.
    public void sendFile(File f)
       ChatServer cs=(ChatServer)Naming.lookup("rmi://localhost/ChatServer");
       cs.readsAndStoreTheFileInTheServer(f); // In the Server Implementation the contents of the file is read and saved in an array of byte. later method is invoked by the client to get the array of the saved byte.
       cs.message("-Accept-"); // When a client receives this word then a JComponent with accept and cancel button will be constructed from where other clients can save/cancel the sent file.
    }For small size files this code works well but for files more than 40 mb of size it is useless. I wonder if there's any other alternative.
    regards,
    Jay

  • Video Live-Stream issue

    Hi,
    I'm not very familiar with jmf but i got it to play a local video file.
    my problem is now to play a livestream, when i try to create the player it seems that the player waits until it got all data.
    so the programm runs and it never comes to an end
    the streaming server recognize it as a listener so it seems to get the data but will only play it when transfer is complete
    any idea how i can play the stream?
    try{
                MediaLocator ml = new MediaLocator("http://127.0.0.1/stream");
                DataSource  src = Manager.createDataSource(ml);
                src.connect();
                src.start();
    }catch (Exception e){
    mediaPlayer = Manager.createRealizedPlayer(src);

    shrug I've never used the conveniance function createRealizedPlayer, I've always done it manually. With that said, I'm pretty sure that Player objects handle the connecting/opening of their DataSource themself.
    Just positing a guess here, but I'd imagine that you cannot realize a player with an open DataSource...and as createRealizedPlayer is a blocking call, it just blocks until the DataSource stops sending data (and then it realizes and can play the DS by opening it itself). In the case of a live stream, it probably never realizes.
    Replace your code with the following:
    MediaLocator ml = new MediaLocator("http://127.0.0.1/stream");
    try {
        mediaPlayer = Manager.createRealizedPlayer(ml);
    catch (NoPlayerException e) {
        System.err.println("Player could not be created : "+e);
    catch(CannotRealizeException e) {
        System.err.println("Player could not be realized: "+e);
    catch(IOException e) {
        System.err.println("Could not connect Player to data source: "+e);

  • How does the VideoDisplay component select between live streams?

    I am passing to the source property of a VideoDisplay component a DynamicStreamingVideoSource object with 3 different dynamic live stream items, described by this XML, for your consideration:
       <video src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_h.stream" system-bitrate="19200"/>
       <video src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_m.stream" system-bitrate="9000"/>
       <video src="rtmp://88.87.56.214:1935/live/fashiontv_tmo_l.stream" system-bitrate="3600"/>
    But the player then runs the stream with the lowest bitrate, out of those 3. Wasn't it supposed to go for the stream with the highest bitrate, that is viewable by the end-user? All 3 streams have been individually tested and they are all viewable.
    There is a matter of the initialIndex property of the DynamicStreamingVideoSource class, that acts as a preferred first attempted stream index to play. But:
    This is set to 0 by default, even if there is no actual 'preferred' initial index.
    The streams are sorted internally by the VideoDisplay class, from lowest bitrate to highest; should we use an initialIndex value equal to the number of streams MINUS 1, so as to ask for the highest bitrate first? What happens if that is not viewable, what stream will it try then?
    Due to stream sorting, the value for the initial index may be misleading if the streams had initially been given in a different order, e.g. from highest bitrate to lowest
    All in all, the VideoDisplay component and its multi-bitrate support are sadly just briefly described throughout doc pages. Anyone with anything to contribute on the matter is very welcome.
    Thanks,
    Liviu

    Hi Pablo DC Es:Arg
    I believe that is how freehand tool works ...You can tap and draw the line using your finger ...if you find the line is curved you can delete it and re-create it ...

  • How do I use multiple cameras to live stream through FME?

    I am looking to live stream pool tournaments from multiple angles but don't know what software or hardware I might need. Anybody have any good how to advice or links they might share? I stream through Ustream.tv if that makes a difference. Should I look for something different? Thanks

    I am working on getting just the counter working by using
    the program posted previously, and I am running into issues. Periodically I get
    the error:
    Error -200141
    occurred at DAQmx Read (Counter DBL 1Chan 1Samp).vi
    Possible reason(s):
    Data was overwritten
    before it could be read by the system.
    If Data Transfer
    Mechanism is Interrupts, try using DMA. Otherwise, divide the input signal
    before taking the measurement.
    It seems to work better if I use cascaded counters, but I need timer 0 for
    analog channels when I run this code along with the program for the other
    measurements.
    I have tried averaging, and selecting different values for the millisecond
    timer, and these did not seem to have an effect.
    I tried different DAQms configurations and "Counter DBL 1Samp" seemed
    to work the best.
    The program will work for a while and then it will give me the above error
    message.
    If I use counter 0 as a cascaded counter input, the program runs fine. If I run
    this with other analog channels, it errors out because the analog channels use
    counter 0.
    If I use counter 1 as a cascaded counter input, it seems to work better than a
    single channel, but it will still error out with the above error.
    If I use only counter 1, I get the error above even faster.
    Also, none of the
    configurations give measurements outside the While Loop.
    The only place I can add a speed dial for the front panel is within the While
    Loop.
    Is there someway to get the signal to continuously send out of the while loop?
    I thought if I could get the signal out of the while loop, I could condition it
    anyway I wanted without the program erroring out.
    Any suggestions would be much appreciated.
    Thank you.
    Attachments:
    Counter_error.jpg ‏45 KB

  • Video live stream won't play

    My Maxx plays some live news videos and sometimes it does not depending on the site. I tried different video players like the MX and others to no avail. I tried on chrome
    And other browsers.
    Not sure which way to go with this.
    Any ideas would be much appreciated.

    I went to a Verizon store (agent) yesterday after work and tried the S4. They didn't have a live S5, and it did play the sites I normally use. The iPhone was able to live stream it also. I think its the Razor Max that's missing whatever it needs to play those videos.... plug ins, etc....
    Its mind boggling with all these phones out there.
    Anyway, thanks for your input, Suzy.

  • Capture image from video live streaming

    Hi everyone ^^ 
    I have a question in my attached vi, I am able to have a live streaming video from my build in PC camera and take a pic from it too, the problem is it runs perfectly for the first time but the mint I press the button the image froze >< , I can not have my video back even when the case structure is fasle. Hope someone can help me with that 
    thanks a lot ^^ 
    Solved!
    Go to Solution.
    Attachments:
    Image Aquairing 2.vi ‏53 KB

    Hi ReChan,
    -IMAQ Snap Configures, starts, acquires, and unconfigures a snap acquisition.
    -For IMAQ Grab you're configuring initally. So, whenever you click boolean-imaq snap captures image and unconfigures the IMAQ session.
    -When you try to grab again, it will throw an error because IMAQ session isn't configured.
    -The mechanical action of boolean you kept as switch when pressed-it'll stay high-which results asking user for saving an image. instead i changed it to latch.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13
    Attachments:
    Image Aquairing 2.vi ‏53 KB

  • How can I save to computer a live streaming from Ustream

    Hi
    That's the question.
    I want to save a live streaming from Ustream.
    any help?
    tnx.

    Install Livestramer (with all python dependencies)
    https://wiki.archlinux.org/index.php/Livestreamer
    livestreamer -p vlc https://www.ustream.tv/embed/9979779
    Found matching plugin ustreamtv for URL https://www.ustream.tv/embed/9979779
    Available streams: 240p, 240p_alt_akamai, 360p, 360p_alt_akamai, 480p, 480p_alt_akamai, 720p+ (best), 720p+_alt_akamai, mobile_240p (worst), mobile_360p, mobile_480p
    livestreamer -p vlc https://www.ustream.tv/embed/9979779 720p+
    same with mpv-Player

  • How to edit a multiple audio video clip on Premiere

    Hello everybody
    Maybe this is a dumb question, I'm sorry if I'm asking what is obvious for you, but I swear I tried to find on the web and on this forum, but I couldn't find anything.
    Well, I made a video using a screen capture software called Dxtory, that provides me the ability to record my PC screen, with multiple audio tracks.
    Ok, now I have a 15gb avi file. When I open this file in the Media Player Classic, I can play one or both channels. The first channel is the original audio captured from my PC. Every audio generated by my PC is in this track. The second track is my voice, with my commentaries. I have all of this in one single file. They are not splited. It's just one file.
    Then when I import into Premiere, the software just recognize the video track and the first audio track. I can't find the second, with my voice.
    I know I can split the clip into 3 files (1 video and 2 audios) but it would take longer. I just want to drop the file on Premiere and edit the audio volumes quickly, because when I talk I would like to low the volume of the PC audio.
    Now, the question: Is there a way to Premiere recognize both tracks in this single file? How?
    Thanks in advance for any help.

    I'm actually surprised that Pr can import this at all--the video is Xvid. Maybe it's some variant that Pr's importers can handle, as Jeff suggested. I dunno--it doesn't play well for me, regardless, and I'm not going to install the Dxtory codec to find out.
    Anyway, to the matter at hand: while AVIs can, apparently, contain multiple audio tracks, Pr's importers are limited to a single track. However, Pr has other importers than can handle multiple audio tracks. QuickTime--which is a wholly different process--supports multiple audio tracks, as does MXF (some flavors). However, Xvid in QuickTime (which is feasible) won't import in Pr (at least on a PC), and Xvid won't go into an MXF file at all; that means you'd have to transcode. Personally, this would be my choice--but I found that the original clip played back pretty terribly, so that would be why I'd go that route.
    Additionally, you could extract the second audio track to a separate WAV file, import both the AVI and WAV, and then use the Merge Clips feature to marry them together as one pseudo-clip. Not perfect, but it would work. The benefit is that you don't re-encode anything.
    So, I've got solutions for both the re-encode/MXF option (my preference) and the AVI/WAV option. Here's proof of the MXF (transcoded video to XDCAMHD422 50Mbps) with four audio channels (stereo must be split to dual mono):
    At the end of the day, these (or a variation of them) are your only options. Pr simply won't import multiple audio tracks (even dual mono) in an AVI container. Let me know if you're interested in either of the solutions.

  • How to use Labview to show video live to another remote laptop

    Hi, I am using labview with a DAQ device with data reading and a web camera. Firstly I would like to show the reading of DAQ device data and live video on the PC with labview. Secondly, I would like to access both device data and video on a remote laptop preferly on a web browser.  
    Could anyone guide me in how to this could be done. Thanks in advance.

    Hi,
    I had the same issue.
    A very easy method of resolution is the DataSocket.
    Communicating Two VIs in Two Computers Using DataSocket:
    https://decibel.ni.com/content/docs/DOC-4905
    Sending an Image over Data Socket:
    http://zone.ni.com/devzone/cda/epd/p/id/2307
    Hope this examples will help you.
    ---Please mark a post as a Solution if it solved your problem ---

  • How can i create a audio/video quiz?

    Hi there,
    I would like to be able to create a quizes using audio and video. For example, i'd like to create a "Matching" quiz when an audio file is played and the student has to match the correct vowel that is heard in the audio file. If possible i'd like to be able to apply audio to all the quizes ("true/false" etc).
    Can someone please help me with this? Or should i use a different software? I hope someone can help me.
    Kind regards,
    Sander

    Do you have to publish to HTML5? I'm asking this, because object audio is not yet supported for that output AFAIK. And it is with object audio that you can have the best control.
    Which version do you use? That is also important, because the commands Play Audio, and Stop Triggered Audio only exist in Captivate 6, and could be handy as well as object audio.
    It is perfectly possible to add slide audio to your Matching question slide, but perhaps you'll want to offer the possibility to replay the audio clip? But first, answer my questions please.
    I have been blogging about audio, here are a couple of links:
    http://lilybiri.posterous.com/playtime-with-audio-and-widgets
    http://lilybiri.posterous.com/audio-objects-control-them
    Lilybiri

  • How to preview the html,audio,video files in JFileChooser

    Dear All,
    Iam doing project on swing. In that iam using JFileChooser. In JFileChooser you can preview the image or JPEG if you keep mose pointer on the file.
    My Problem is i want to view the html pages,Audio and video files like that.
    Please any body having the similare example or solution please send me. Ill be waiting for your valuable reply.
    regards
    surya

    Thank you you Richard. i can preview the images but my problem is to preview audio and video files. Please any body know the solution.Please send me.
    regards
    surya

Maybe you are looking for

  • Migration Assistant & Assimilating/Merging Old & new accounts

    Hi, I took a leap of faith by purchasing my latest new Mac, choosing the new Intel iMac and not a PPC. A huge leap in technology- G3 iBook 466SE Calmshell to a iMac 2.0 ICD 20" loaded w/2GB ram, 500GB Hard Drive, and worth the extra $75; 256MB of vid

  • Query running for long post upgrade to Oracle 11g from 10g

    The below query is running for a very long time post upgrade of database from 10g to 11g. SELECT default_supplier   FROM (SELECT pv.vendor_name || '-'                || pvsa.vendor_site_code default_supplier           FROM mrp_item_sourcing_levels_v

  • Nokia Share Online - Flickr account has gone and w...

    I tried to set up my Flickr account using the Share Online service on my Nokia N97. It kept failing to set up the account giving me Error 404. I deleted the service in the hope that it would reinstall correctly but now I can't retrieve the Flickr ser

  • Aggiornamenti da Adobe Photoshop CS

    Salve, sono un fotografo professionista. Ho lavorato con Photoshop CS3 (e le versioni precedenti a partire da Photoshop 4 o 5!!!!). Ora che lavoro in proprio, ho solo la mia la versione di Photoshop CS (la prima CS che credo sia quella che viene deno

  • I cant text flow using 3 different text files on the same document?????

    Im starting out with 3 different files of text saved as "tab delimited text" from excel, I open a document in ID with 107 pages and create 3 boxes in the master on top of a pdf. I then override all 107 pages so that the text I insert will flow to the