How to make delay Live Streaming ?

Hi everybody,
I follow this turorial make HTTP Live Streaming From Camera, using FMS 4.5, and FMLE 3.2, and I success.
Now I need make delay (1~10 minutes) on HTTP Live Streaming. Example, current now my camera is capture, and client (end-user) can only see the signal (video) is obtained from the camera 10 minutes ago.
P/s: I'm using Amazon Cloud, specify EC2 (include FMS 4.5)
Can I do that ?
Thanks,
Huy Mai

Hi Bharat,
I read your link, and focus in MaxQueueDelay & MaxQueueSize.But its seem can not use in my case. I try config Application.xml follow it, and not success for my purpose , I think "MaxQueueDelay"  is specifies how to often the server will flush the message queue, in miliseconds.
My puporse is client can view video, late 10 minutes than what is obtained current from camera
Will I be missing anything?
Mai Huy

Similar Messages

  • How to make a live curve in photoshop.

    Hi everyone, I just posted a video on youtube showing how to make a live curve. You can check it out here How to make a Live Curve in Photoshop - YouTube
    I'm very curious about your opinions:)

    Thanks for your reply. Could you please walk me through it from the start  (I am new to this color chanel stuff). I need to add green text to a flyer. Do I make the spot chanel first, then add the PMS color text? What mode should it be as it cannot be CMYK?
    Many thanks

  • How to use Youtube Live Streaming API ??

    I want to make a WPF application that gets the video from my ip camera and sends it to my youtube channel live. I look around all of the websites but there's no example how can i live stream a video to Youtube with c#. There are examples in google's website
    but they were written with PHP, Java and Phyton but I don't know this programming languages so i couldn't use the API.
    I tried to write a little bit but it didn't work. Here's my code that i wrote looking through the Java example.
    string devkey = "AIzaSyCbxm6g9orAw9PF3MkzTb_0PGbpD3Xo1Qg";
    string username = "MyYoutubeChannelEmailAdress";
    string password = "MyPassword";
    YouTubeRequestSettings youtubereqsetting = new YouTubeRequestSettings("API Project", devkey, username, password);
    YouTubeRequest youtubereq = new YouTubeRequest(youtubereqsetting);
    LiveBroadcastSnippet broadcastSnippet = new LiveBroadcastSnippet();
    broadcastSnippet.Title = "Test Live Stream";
    broadcastSnippet.ScheduledStartTime = new DateTime(2015, 3, 12, 19, 00, 00);
    broadcastSnippet.ScheduledEndTime = new DateTime(2015, 3, 12, 20, 00, 00);
    LiveBroadcastStatus status = new LiveBroadcastStatus();
    status.PrivacyStatus = "Private";
    LiveBroadcast broadcast = new LiveBroadcast();
    broadcast.Kind = "youtube#liveBroadcast";
    broadcast.Snippet = broadcastSnippet;
    broadcast.Status = status;
    Google.Apis.YouTube.v3.LiveBroadcastsResource.InsertRequest liveBroadcastInsert = new Google.Apis.YouTube.v3.LiveBroadcastsResource.InsertRequest(service, broadcast, "");
    LiveBroadcast returnLiveBroadcast = liveBroadcastInsert.Execute();

    This article should get you going:
    https://developers.google.com/youtube/v3/code_samples/dotnet
    Also, questions on YouTube API issues should get the best service here:
    https://groups.google.com/forum/#!forum/google-api-dotnet-client

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder which does not have firewire out/input? it comes only with a component video output, USB, HDMI and composite RCA output?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder ..that doesn't have firewire out/input?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • Simple HTML example on how to display a live stream?

    Hi all
    Is there anyone who has a HTML example (or can give an URL with a page) that has the Adobe Flash player displaying a live stream (and not a file)?
    There is one in the installation under "Flash Media Server Start Screen" but it was too complex for me to understand. I just need a simple example on how to display a live flash stream in Adobes own web player.
    Thank you very much :-)

    Hi,
    Here is the html code.
    <html>
    <head>
    <title>Flash Media Player</title>
    </head>
    <object width="550" height="400">
    <param name="movie" value="player.swf">
    <embed src="somefilename.swf" width="550" height="400">
    </embed>
    </object>
    </body>
    </html>
    And here is the action script code of player.swf.
    import flash.net.NetConnection;
    import flash.events.NetStatusEvent;
    import flash.net.NetStream;
    import flash.media.Video;
    import flash.events.MouseEvent;
    import flash.media.Camera;
    startBtn.addEventListener(MouseEvent.CLICK,mouseHandler);
    var nc:NetConnection;
    var ns:NetStream;
    var vid:Video;
    var cam:Camera=Camera.getCamera();
    function mouseHandler(evt:MouseEvent){
        nc=new NetConnection();
        nc.addEventListener(NetStatusEvent.NET_STATUS,statusHandler);
        nc.connect("rtmp://localhost/sample");
    function statusHandler(evt:NetStatusEvent){
        trace(evt.info.code);
        if(evt.info.code=="NetConnection.Connect.Success"){
            ns=new NetStream(nc);
            ns.addEventListener(NetStatusEvent.NET_STATUS,streamHandler);
            ns.play("LiveStream");
            vid=new Video();
            vid.attachNetStream(ns);
            vid.height=400;
            vid.width=600;
            addChild(vid);
    function streamHandler(evt:NetStatusEvent){
        trace(evt.info.code);
    Please do the following before using the actionscript code:
    Add a button called start in fla and keep its instance name startBtn.
    create an application called sample in FMS and publish a live stream called "LiveStream".

  • How to publish http live stream

    When I use Adobe Flash Media Server 4.5  publish http live stream. I found a message from Server Log of Manage Servers of Adobe Flash Media Administrator Console. It says that "Failed to record live stream (disk quota exceeded)."  How can I do to solve the question?

    I didn't get your query. Are you looking for the restrictions/time limits on different versions ?
    http://www.adobe.com/products/flashmediaserver/compare/

  • How to copy recorded live stream to new drive

    I was wondering if anyone out there knows how to copy a recorded live stream to a new drive on the server?  I can copy the file within the virtual app directory but not to another drive.
    The only solution i found was to edit the application.xml:
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
        </StreamManager>
    But unfortunately i need to rename the file once its recorded, and i'm having a hard time accessing that drive/directory where the file is located.
    Any help is greatly appreciated.
    thanks

    Hi,
    What I understood from your query I am providing you a solution:
    1. You can use the below to copy recorded live stream to new drive/directory in Application.xml
    <StreamManager>
            <StorageDir>e:\Sync\</StorageDir>
    </StreamManager>
    2. By default, a script can access files and directories only within the application directory of the hosting application. A server administrator can grant access to additional directories by specifying virtual directory mappings for File object paths. This is done in the FileObject tag in the Application.xml file, as shown in the following example:
    <FileObject>
          <VirtualDirectory>/_definst_;e:\Sync\_definst_\</VirtualDirectory>
    </FileObject>
    3. Create one application folder suppose test and then create main.asc file inside that which will have the below code
    application.onConnect = function(client) {
    application.acceptConnection(client);
    var fileObj = new File("_definst_");
    var fl = new Array();
    trace("File name : " + fileObj.toString());
    if (fileObj != null)
      if (fileObj.isDirectory)
       fl = fileObj.list();
       for (i in fl)
        trace("Directory : " + fl[i].name);
        if (fl[i].isFile)
         trace("File : " + fl[i].name);
         trace(fl[i].renameTo("dvrstream"+i));
        }//if closes
       }// for closes
      }//if closes
    }//if closes
    }// application closes
    This server side application rename files but since the folder which we had to access was outside application directory of the hosting application we had to map it using step 2.
    If this solution does not answer your query please be more ellaborative on what exactly are you trying to achieve. That will help me to answer your query correctly.
    Regards,
    Amit

  • How to play http live streaming with VLC using FMS 4.0

    Hello,
    i'm using FMS 4 and i need to play my http live streaming event with VLC
    I have had the following result with firefox using the url : http://myip:8134/live/events/livepkgr.old/events/_definst_/liveevent.f4m
    <manifest>
    <id>
                        livepkgr.old/events/_definst_/liveevent
              </id><mimeType>
              </mimeType><streamType>
                        live
              </streamType><duration>
                        0
              </duration><media streamId="livestream1" bitrate="100" url="../../../../streams/livepkgr.old/streams/_definst_/livestream1/livestream1" bootstrapInfoId="bootstrap7580"><metadata>
                                  AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgAAAAAAAAAAAAAFd2lkdGgAQHQAAAAAAAAABmhlaWdodABAbgAAA AAAAAAMdmlkZW9jb2RlY2lkAgAESDI2NAAKYXZjcHJvZmlsZQBAU0AAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZ pZGVvZnJhbWVyYXRlAP/4AAAAAAAAAAl0cmFja2luZm8KAAAAAgMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlA ECPQAAAAAAAAAhsYW5ndWFnZQIAA2VuZwAACQMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlAECPQAAAAAAAAAh sYW5ndWFnZQIAA2VuZwAACQANc21wdGVUaW1lSW5mbwMAC3NtcHRlT2Zmc2V0AAAAAAAAAAAAAAAJAAdjdXN0ZGVmC gAAAAAAAAk=
                        </metadata></media><media streamId="livestream2" bitrate="200"><metadata>
                        </metadata></media><media streamId="livestream3" bitrate="350"><metadata>
                        </metadata></media><bootstrapInfo profile="named" url="../../../../streams/livepkgr.old/streams/_definst_/livestream/livestream.bootstrap" id="bootstrap3136">
              </bootstrapInfo><media streamId="livestream" url="../../../../streams/livepkgr.old/streams/_definst_/livestream/livestream" bootstrapInfoId="bootstrap3136"><metadata>
                                  AgAKb25NZXRhRGF0YQgAAAAAAAhkdXJhdGlvbgAAAAAAAAAAAAAFd2lkdGgAQHQAAAAAAAAABmhlaWdodABAbgAAA AAAAAAMdmlkZW9jb2RlY2lkAgAESDI2NAAKYXZjcHJvZmlsZQBAU0AAAAAAAAAIYXZjbGV2ZWwAQD8AAAAAAAAADnZ pZGVvZnJhbWVyYXRlAP/4AAAAAAAAAAl0cmFja2luZm8KAAAAAgMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlA ECPQAAAAAAAAAhsYW5ndWFnZQIAA2VuZwAACQMABmxlbmd0aAAAAAAAAAAAAAAJdGltZXNjYWxlAECPQAAAAAAAAAh sYW5ndWFnZQIAA2VuZwAACQANc21wdGVUaW1lSW5mbwMAC3NtcHRlT2Zmc2V0AAAAAAAAAAAAAAAJAAdjdXN0ZGVmC gAAAAAAAAk=
                        </metadata></media><bootstrapInfo profile="named" url="../../../../streams/livepkgr.old/streams/_definst_/livestream1/livestream1.bootstrap " id="bootstrap7580">
              </bootstrapInfo>
    </manifest>
    How can i play that event with VLC?
    Regards,

    Problem solved  - thanks to JayCharles. I forgot to set the live attribute. Here's the working code:
    <?xml version="1.0"?>
    <!-- controls\videodisplay\VideoDisplayFMS.mxml -->
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
        <mx:HBox>
             <mx:VideoDisplay
                 live="true"
                 autoBandWidthDetection="false"
                 source="rtmp://localhost/live/livestream"/>
         </mx:HBox>
    </mx:Application>

  • How to package multibitrate live stream as audio-only for Apple compliance

    Hi
    From AMS documentation, I can package vod content as audio-only by appending "audio-only" to url for instance:
    http://<ams server ip>/hls-vod/audio-only-aac/vod.m3u8
    Similarly I can package live content (single bitrate) as audio-only for instance:
    http://<ams server ip>/hls-live/audio-only-aac/livepkgr/_definst_/liveevent/livestream1.m3u8
    In my case, I have 3 bitrates being published for a live audio-video event. The variant playlist for this event is created by hls_http module by refering to Manifest.xml.
    I could not figure out a way to insert an audio-only stream to this variant playlist created by hls_http module for live stream.
    Please let me know if I am missing something because this seems to be a pretty obvious requirement for live streaming to IOS devices.
    Thanks,
    Nitin

    who can answer my question?Is the question a difficult one?

  • How to play rtmp live streaming through VideoElement??

    Hi , i'm trying to play live streaming by using VideoElement
    like this :
    <s:VideoElement>
    <s:StreamingVideoSource serverURI="rtmp://192.168.0.136/tv" live="true">
    <s:StreamItem streamName="stream" />
    </s:StreamingVideoSource>
    </s:VideoElement>
    but nothing occurred ........did i use the wrong syntax @@a  or....?

    Anyone?

  • How to stop delay when streaming data from a script as URL to an Applet?

    I have a strange problem and do not know what is causing it. Hope someone here with some experience can help.
    I have a Java Applet which makes a line graph of data. The data source is to be streaming, where the first chunk of data comes from what is already in a data file, and then new data is sent whenever it is ready. The problem in brief is that if I just collect and show the data from the data file and do not stream everything works fine. If I also have the streaming and wait for a long time, everything works fine, but when the applet is first loaded, the graph is not shown until after a long delay time.
    Here is a snippet of the applet code:
             String dataendpoint = "http://phpfunction.php";
             URL url = new URL(dataendpoint);
             InputStream is = url.openStream();
             String line;
             InputStreamReader isr = new InputStreamReader(is);
             BufferedReader br = new BufferedReader(isr);
             while ((line = br.readLine()) != null) {
                   // my code here to handle each line of data which prepares it for
                   // showing on a line graph.
             } In the above, I show the dataendpoint variable hardcoded, but in reality this comes as an Applet parameter. It is a URL of a php script which is on the same server as the applet's code and there are no access problems here.
    The PHP script does the following: It first opens a data file, parses it and prints it out to its standard output using echo or printf statements. The script then enters a loop where it periodically looks to see if new data has been made available. If so, that new data is also printed out to the standard output.
    The PHP script looks like this (in pseudo code):
       // open data files, read lines, and send to standard output using echo
       // flush buffers using ob_flush() and flush() calls
       while (1) {
          sleep(30);
          // get new data, if any, then send to standard output
          // flush buffers again
       Again my problem: If I have the PHP script exit before the while loop everything works fine, my applet makes the graph immediately.
    However, if I include the while loop, then initially the applet does not appear, not until some time afterwards, and then the applet works like it should, scrolling along every time new data arrives.
    I have done a Wireshark sniff and I can see that the initial data is being sent out the the browser and applet immediately. So I do not think it is a buffering problem on the PHP side.
    I have wrapped every Applet code line with debug print statements and from the Java console I see that the Java Applet is stopping at this line:
    InputStream is = url.openStream();
    Can someone explain what is happening here? Why the delay in returning from the openStream() function and how to avoid it?
    By the way, the server is Linux and the Applet is being run on Windows Vista, and I have tried both Internet Explorer and Firefox, both give the same behavior.
    Thanks in advance!
    Steve, Denmark

    I still cannot solve this problem, but I have some more observations:
    1) yes it is a JApplet, and yes, the data streaming is performed in a separate thread.
    2) Wireshark sniffing shows that data sent out by the PHP datasource on the server is sent immediately, and is not buffered (am using ob_start(), ob_flush() and flush() alls in the PHP script).
    3) On Windows Vista, using Internet Explorer or Firefox, there is a constant 30 second delay before the Applet returns from this line: InputStream is = url.openStream();
    4) After this 30 seconds, data appears in the Applet, but it can be seen also with java console debug prints that the data seems to be buffered. The newest data shown in the Applet is not the newest data sent to the client by the PHP datasource script.
    5) On a SUSE Linux client, the Applet works as it should, there is no delay time in showing the data.
    It appears as if there is on Windows a buffering of data which I do not wish to have and which does not occur on Linux. I need to find out how to get the URL openStream() call to return immediately allowing the initial data to be read and shown on the Applet. And I need to remove the buffering of data so that the data can be shown on the Applet when it arrives.
    Can anyone help? Why does this work on Linux but not on Windows, and what can I do, at best within the Java code, to get the Applet to work on Windows as it does on Linux?
    Thanks!
    Steve, Denmark

  • How To Make Call Live Cam On Iphone

    my friend he has iphone , when he make a call to his wife i see in his phone showing live picture or cam showing his wife on it , how to do that
    anyone know
    thanks

    ok , i got it now
    so only photo highlight
    i though it was showing like live cam talk

  • How to setup X1 live stream to iPad using Router

    I have the SMC Gateway SMCD3GNV. If I connect wifi to it, I can stream all my channels just fine using the TV app. When I connect my Netgear Router Model: WNDR4500v2 to the SMC,I can not stream while connected to the Netgear wifi. It says "Out Of Home". I called comcast and they verified the SMC is in bridge mode. Is there a step I over looked. Comcast keeps wanting to transfer to the X1 department. What am I missing here?Thanks in advance.  Reno

    I'm assuming you want to use your Netgear router because it has better wifi capabilities than the SMC gateway.  Is that correct?  If so, then yes it is correct that you had it put into bridge mode.  I just think the "Out of Home" issue is related to the link I put in my previous post. I too am getting the "Out of Home" error, and am using the SMC gateway in regular mode.  I get the error using both wifi and a direct ethernet connection to the gateway. If you want to make sure the issue is definitely the problem that I stated in the link, just remove the Netgear router from the SMC and hook a computer directly to the ethernet port on the SMC gateway. Then open a browser window to https://xtv.comcast.net.  If you still get the "Out of Home" error then you know it's most likely not your setup.

  • How to make delay under 1ms

    Hey all,
    I want generate pulses from parallel port with delay under 1ms , but when using the wait function in real time module and put 10 microsecond it works like 1 ms delay 
    help please, 
    Solved!
    Go to Solution.
    Attachments:
    Delay real time.vi ‏29 KB
    Delay.vi ‏9 KB

    Hello Mohamed,
    Before posting any query first try to get solution using National Instruments search engine..
    There are a lot discussion with the same query.  
    Discussion 1
    Discussion 2
    Discussion 3
    Discussion 4
    Thanks and Regards
    Himanshu Goyal | LabVIEW Engineer- Power System Automation
    Values that steer us ahead: Passion | Innovation | Ambition | Diligence | Teamwork
    It Only gets BETTER!!!

Maybe you are looking for

  • Windows 8.1 install failing, error 80070004

    I'm sure this has been asked before, but I can't find an answer after some searching.  If I missed it, please point me in the right direction. Every time I try to install 8.1 from the Windows store, I get the "app wasn't installed - view details" err

  • Faces in iPhoto

    Is there a way to turn off Faces, or otherwise disable the facial recognition function in iPhoto?

  • Rep-51002 -- clustered environment

    We have a configuration where we use two servers as DB1 and DB2 and two application servers as App1 and App2 with a load balancer. We recently encountered a problem where the reports do not run correctly -- instead we get message rep-51002 (Bind to R

  • Deleting files from iDisk

    I've successfully uploaded a web site using iWeb, but now I would like to delete a couple of Web Galleries from iDisk. From the Finder I go to GO>my iDisk, but the spinning wheel spins and spins, nothing happens. I left it connected all night. Still

  • Audio Problem t430s

    our entire org has t430s machines running win 8. recently we have started having issues with sound. out of 500 odd machines only 8 or 9 has shown this problem. i have updated the sound driver on those machines to ver 6.0.17... but the problem still p