Fms live stream server stops sending data around 4+hrs

Hi,
I am having some issues with fms servers livestream connection. My rtmp client connects to the server ok and rtmp data flowing ok for about 4hours, in the wireshark trace I can see that the server just stops sending data roughly after 4hours. The server version is 3.5.1, and I also try it on a 4.0 server the data stops coming from the server as well after 5+hours. There are no errors or any indication of session disconneciton in the diagnostic logs.  I have also looked thru the settings in applicaiton.xml and server.xml I just don't see any obviious reason for the issue. I do send rtmp Acknowledgement to server after the client receives "window size" bytes, and the client sends ping response to server.  Are there any other that client needs to send back to server? It would be greatly appreciated for any pointers and help. Thanks.

Updates:
An interesting observation is that the server stops transmitting data when server-to-client bytes reaches ~4G. The number sounds too much like a system resource limitation. It is a live stream and it is not being recorded so I am not sure where is the 4G limitation coming from. FLVCACHE_MAXSIZE is for recorded stream, I think, and it is set to the default 500MB.
Also, in the access log the check point for connect-continue and play-continue keep showing status of 100, which is supposed to be "Waiting for the application to authenticate.". Is this correct? The connection is successfully connected and play command is successful as shown in the access log. swfVerification is disabled in application.xnl. what does the server waiting for in respect to authentication?
Below is the log:
connect-continue
session
2012-03-22
01:51:24
Eastern Daylight Time
10.200.4.224
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
0
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
file:///mac.html
play-continue
stream
2012-03-22
01:51:24
Eastern Daylight Time
livestream
10.200.4.172
1176
1
44
_defaultRoot_
_defaultVHost_
live
_definst_
18044
100
10.200.4.224
rtmp
rtmp://10.200.4.172/live
rtmp://10.200.4.172/live
file:///mac.flv
LNX 9,0,48,0
4702111234558869871
3183
3840850027
normal
livestream
rtmp://10.200.4.172/live/livestream
rtmp://10.200.4.172/live/livestream
flv
18085866
0
3829693036
1
file:///mac.html
-1
-1.000000
Any pointers would be greatly appreciated. Thanks.

Similar Messages

  • FMS Live Stream Timeout

    Can someone please advise on how to create a timeout to a FMS
    Live stream when using the FLVPlayback component in Flash. The
    FLVPlayback connects to a FMS Live stream that takes a live feed
    from a webcam, in order to preserve clients bandwidth, what would
    be the best, most reliable way of creating a timeout and
    disconnecting the live stream after a set period of say 30 minutes
    to stop clients leaving the stream permanently connected - server
    side on FMS (how?) or in the .swf or using code in the web page
    containing the .swf object.
    Many thanks.

    Can't you just create a timer in the client player and then
    disconnect the user when it hits 30 mins?

  • Adobe Media Live streaming Server issue.

    Adobe Media Live streaming Server. I cant get it to connect with the vhost IP and when it connects with our main IP I was able to bring up a cam and then to check it I closed out the server side and reopened it, started it up and then it wouldnt connect to that same cam page.
    Any suggestions?

    bump

  • Live streaming just stopped

    The server is up and running, the VOD items work fine. The server recognizes the streaming application when I output to the server, but we cannot view the stream. ? This was working fine and all of a sudden, nothing. Any ideas?

    Yes, our live streams were working fine than just stopped. When I start to broadcast a live feed. The server sees the input but not able to view the live stream. VOD works fine. We are looking into the server itself. There was a pushed update and after that this issue popped up. All the FMS application services look to be started and running, but still nothing. FMS sees when a user connects to the live stream and is outputting, but nothing on the Flash player end.?
    Jason

  • Live stream server and applet to receive rtp packet

    hello everybody,
    i have seen so many post about the architecture of livestreaming client -server, i opened this topic to discuss about the main problems implementing this,
    for me its uncleared how the applet comunicate with the server and how its gonna be implemented, i have seen so many posts about applets to receive rtp trafic from a medialocatro which get it from webcam,the problem is that this is local and not centralized with a web server,
    if someone has solution sketch or lines of code please to post ,
    thanks in advandce

    petrika wrote:
    hello everybody,
    i have seen so many post about the architecture of livestreaming client -server, i opened this topic to discuss about the main problems implementing this,
    for me its uncleared how the applet comunicate with the server If you're talking about the setup for the stream, you have to do that yourself using sockets...
    and how its gonna be implemented, Sockets. You should read an article describing how VOD works...
    i have seen so many posts about applets to receive rtp trafic from a medialocatro which get it from webcam,the problem is that this is local and not centralized with a web server,Not sure what the problem here is... the applet receives the web cam stream locally and sends it via RTP to a server... Applets run locally on your machine, not on the web server.

  • FMS (Live stream ) with FLEX

    hello all,
    could anyone tell me the better media server for live
    streaming(Webcam)

    Can't you just create a timer in the client player and then
    disconnect the user when it hits 30 mins?

  • DMVPN stops sending data

    Hello all.
    I'm using DMVPN tunnels in my network and all goes well, but few weeks ago a got some problem: two my DMVPN tunnels stop receveing any data until they were rebooted. I'm using 881G routers as spokes and 3945e as hub. I had tried google this problem, found the same questions and no answers. I hope i will get some help at Cisco Support Community.
    Config of hub (relevant parts):
    interface GigabitEthernet0/0.526
    description BeelineLokal
    encapsulation dot1Q 622
    ip address 10.200.1.49 255.255.255.192
    ip nat outside
    no ip virtual-reassembly in max-reassemblies 1024
    standby 2 ip 10.200.1.2
    ip tcp adjust-mss 1450
    no cdp enable
    end
    interface Tunnel2000
    description DMVPN for Beeline WAN Kiev
    ip address 10.1.160.1 255.255.255.0
    no ip redirects
    ip mtu 1400
    ip nhrp authentication *****
    ip nhrp map multicast dynamic
    ip nhrp network-id ***
    ip nhrp holdtime 10
    ip nhrp registration no-unique
    delay 500
    tunnel source 10.200.1.2
    tunnel mode gre multipoint
    end
    Spoke:
    interface FastEthernet4
    ip address 10.200.1.178 255.255.255.252
    duplex auto
    speed auto
    end
    interface Tunnel0
    description DMVPN for BeeLine WAN Ukraine
    bandwidth 1000
    ip address 10.1.160.** 255.255.255.0
    no ip redirects
    ip mtu 1400
    ip nhrp authentication ***
    ip nhrp map 10.1.160.1 10.200.1.2
    ip nhrp map multicast 10.200.1.2
    ip nhrp network-id ***
    ip nhrp holdtime 10
    ip nhrp nhs 10.1.160.1
    delay 100
    tunnel source FastEthernet4
    tunnel mode gre multipoint
    end
    debug from spoke:
    Jun 27 13:56:08.493: NHRP-ATTR:  Requester Ext Len: Total ext_len  with NHRP attribute VPE 56
    Jun 27 13:56:08.493: NHRP: Attempting to send packet via DEST 10.1.160.1
    Jun 27 13:56:08.493: NHRP: Encapsulation succeeded.  Sending NHRP Control Packet  NBMA Address: 10.200.1.2
    Jun 27 13:56:08.493: NHRP: Send Registration Request via Tunnel0 vrf 0, packet size: 108
    Jun 27 13:56:08.493:  src: 10.1.160.19, dst: 10.1.160.1
    Jun 27 13:56:08.493:  (F) afn: AF_IP(1), type: IP(800), hop: 255, ver: 1
    Jun 27 13:56:08.493:      shtl: 4(NSAP), sstl: 0(NSAP)
    Jun 27 13:56:08.493:      pktsz: 108 extoff: 52
    Jun 27 13:56:08.493:  (M) flags: "unique nat ", reqid: 69798
    Jun 27 13:56:08.493:      src NBMA: 10.200.1.166
    Jun 27 13:56:08.493:      src protocol: 10.1.160.19, dst protocol: 10.1.160.1
    Jun 27 13:56:08.493:  (C-1) code: no error(0)
    Jun 27 13:56:08.493:        prefix: 32, mtu: 17916, hd_time: 10
    Jun 27 13:56:08.493:        addr_len: 0(NSAP), subaddr_len: 0(NSAP), proto_len: 0, pref: 0
    Jun 27 13:56:08.493: NHRP: 132 bytes out Tunnel0
    Jun 27 13:56:08.493: NHRP: Resetting retransmit due to hold-timer for 10.1.160.1
    Before Cisco i'm using MS RRAS at my branch and all was fine.

    FAQ
    1. Best Effort Test: -provides background information.
    Download  Speed
    4.39 Mbps
    0 Mbps
    4 Mbps
    Max Achievable Speed
     Download speedachieved during the test was - 4.39 Mbps
     For your connection, the acceptable range of speeds is 1.2 Mbps-4 Mbps.
     IP Profile for your line is - 4.5 Mbps
    2. Upstream Test: -provides background information.
    Upload Speed
    0.82 Mbps
    0 Mbps
    0.83 Mbps
    Max Achievable Speed
    Upload speed achieved during the test was - 0.82Mbps
     Additional Information:
     Upstream Rate IP profile on your line is - 0.83 Mbps
    We were unable to identify any performance problem with your service at this time.
    It is possible that any problem you are currently, or had previously experienced may have been caused by traffic congestion on the Internet or by the server you were accessing responding slowly.
    If you continue to encounter a problem with a specific server, please contact the administrator of that server in the first instance.

  • FMS live streaming to iPhone?

    Though I'm sure somebody's asked the question, I did a bunch of searches on this and couldn't find anything definitive.
    What's the latest on the issue? Is the livepkgr app useful for this?

    No... FMS is not capable of delivering streams to iphone. Look into Wowza media server for that.

  • Audio/video are sync in the fms live stream

    Almost every teleconference has video/audio sync issue of anywhere between 2-10 seconds (i.e. the audio and video feeds are not synchronized).
    Question - any suggestions on how this can be corrected, either client or server side?

    Pretty sure I solved my own problem...
    The mp3 is 44khz, but in all of my exports I had it set at 48khz. At least with the H264 format, exporting it with the audio set properly at 44khz seems to have fixed my issue!
    edit: I lied. Still getting some synchronizationg problems. I *think* that helped a little bit, but it's strange that it would only help a bit and not completely remove all the problems.

  • Sending data with streams

    What is the best way to send files using java? I was trying datagrams, but it takes forever to write a file from byte[]'s. Any ideas?

    So we're talking streaming video (ergo: sending data with streams) I'm a bit slow today, apparently.
    From what I think I know about datagrams... it's the way to go for "broadcasting" any type of data... and whilste it can be a bit lossy (complete, in-order delivery is NOT garanteed), it usually works 100% A-OK on LAN's (on high-quality underlying network hardware, of course).
    The only thing I've ever done with datagrams is the typical noob chat-app (with a simple swing interface), which I posted on this forum ?years? ago... maybe you can still find it.
    Cheers. Keith/
    Edited by: corlettk on 30/12/2008 12:49 ~~ WAAAAAY too slow today. Apparently. Ignore this post (except the link).

  • 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);

  • Trying to add metadata to a live stream completely fails

    Hi.  I've been following this document http://help.adobe.com/en_US/flashmediaserver/devguide/WS5b3ccc516d4fbf351e63e3d11a0773d56e -7ff6Dev.html for adding metadata to an FMS live stream from a Flash widget.
    I've created a stripped-down version of the code (listed below); the same as the original code except the controls are removed.  It works fine only if I comment out the ns.send calls.  If I leave in the ns.send calls, no clients are ever able to view anything.  I'm using a stock FMS 4.5 install on Amazon EC2 -- the AMI is ami-904f08c2.  And I'm compiling the swf using Flex SDK 4.6 on Linux with the command "mxmlc -compiler.library-path+=./playerglobal11_0.swc -swf-version=13 -static-link-runtime-shared-libraries Broadcaster.as".
    package {
        import flash.display.MovieClip;
        import flash.net.NetConnection;
        import flash.events.NetStatusEvent; 
        import flash.events.MouseEvent;
        import flash.events.AsyncErrorEvent;
        import flash.net.NetStream;
        import flash.media.Video;
        import flash.media.Camera;
        import flash.media.Microphone;
        public class Broadcaster extends MovieClip {
            private var nc:NetConnection;
            private var ns:NetStream;
            private var nsPlayer:NetStream;
            private var vid:Video;
            private var vidPlayer:Video;
            private var cam:Camera;
            private var mic:Microphone;
            private var myMetadata:Object;
            public function Broadcaster(){
                setupUI();
                nc = new NetConnection();
                nc.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                nc.connect("rtmp://myserver/live");
             *  Clear the MetaData associated with the stream
            private function clearHandler(event:MouseEvent):void {
                if (ns){
                    trace("Clearing MetaData");
                    ns.send("@clearDataFrame", "onMetaData");
            private function startHandler(event:MouseEvent):void {
                displayPlaybackVideo();
            private function onNetStatus(event:NetStatusEvent):void {
                trace(event.target + ": " + event.info.code);
                switch (event.info.code)
                    case "NetConnection.Connect.Success":
                        publishCamera();
                        displayPublishingVideo();
                        break;
                    case "NetStream.Publish.Start":
                        sendMetadata();
                        break;
            private function asyncErrorHandler(event:AsyncErrorEvent):void {
                trace(event.text);
            private function sendMetadata():void {
                trace("sendMetaData() called")
                myMetadata = new Object();
                myMetadata.customProp = "Welcome to the Live feed of YOUR LIFE, already in progress.";
                ns.send("@setDataFrame", "onMetaData", myMetadata);
            private function publishCamera():void {
                cam = Camera.getCamera();
                mic = Microphone.getMicrophone();
                ns = new NetStream(nc);
                ns.client = this;
                ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
                ns.attachCamera(cam);
                ns.attachAudio(mic);
                ns.publish("livestream", "live");
            private function displayPublishingVideo():void {
                vid = new Video(cam.width, cam.height);
                vid.x = 10;
                vid.y = 10;
                vid.attachCamera(cam);
                addChild(vid); 
            private function displayPlaybackVideo():void {
                nsPlayer = new NetStream(nc);
                nsPlayer.client = this;
                nsPlayer.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
                nsPlayer.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
                nsPlayer.play("myCamera", 0);
                vidPlayer = new Video(cam.width, cam.height);
                vidPlayer.x = cam.width + 100;
                vidPlayer.y = 10;
                vidPlayer.attachNetStream(nsPlayer);
                addChild(vidPlayer);
            private function setupUI():void {
            public function onMetaData(info:Object):void {

    Also, emitting other events in the ns.send calls works; eg. if I do ns.send("blah", "onMetaData", myMetadata), nothing happens (because there's no "blah" function to do anything), but at least this doesn't cause the entire stream to fail.

  • Blur Effect in live Streaming publish through camera

    Hi Guys
                   I am currently working on a video chat application throgh FMS.live Stream is playing and publishing perfectly on both end.but the thing is that i have to apply blur effect on that live stream on a particular portion.u mean just like (thieves face) or some moving object.can it possible to apply blur on that live streaming .if yes then please tell me.thanks in advance.i am totally confused
    Thanks and Regards
    Vineet Osho

    Hello,
    There are no in box components that will allow you to transmit captured video from a Windows Phone device to Azure Media Services. You will need to create you own implementation. You can do this by creating a custom Media Foundation sync that can plug into
    the MediaCapture element's pipeline. You will then need to modify the captured and compressed video to align to one of the two protocols that Azure Media services can use. At this time Azure Media services can use either Smooth Streaming or RTMP for ingestion.
    You will need to create your own packager (or find compatible packager code from a 3rd party) to package the MP4 encoded data into the necessary format.
    Here is an example of how to create a custom Media Foundation sync (please note you must write your Media Foundation components using C++ MoCOM. We do not support Media Foundation components written in managed languages):
    Real-time communication sample
    I hope this helps,
    James
    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

  • Delaying send data until event occurs

    Hii all,
    I'm new to java socket programing.
    i'm trying to develop simple system using TCP socket for client server communication over a network. I use AWT for user interfaces.
    The client program is supposed to get two inputs from user via 2 Text fields and send those to server.
    In my client program i have a method to listen server socket send data to server and inner class for user interface thing and i have called those 2 in main method consecutively.
    I want to delay calling listenSocket() method until the user click submit button. i think i have to use some synchronized methods but i dont have much idea of how to do it.
    I have attached the code here.
    Can anybody help me plzzzz? any suggestions would be appreciated.
    public class Client {
    /*for TCP socket connection*/
    Socket clientSocket=null;               
    PrintWriter out = null;          
    BufferedReader in = null;
    private String accountNo =null;
    private String accountType =null;
    public static void main(String[] srgs) {
    Client client =new Client();
    CustomerRequestUI requestUI =client.new CustomerRequestUI();
    client.listenSockect();
    public void listenSockect() {
    try {
    clientSocket = new Socket("localhost", 1234);
    out =new PrintWriter(clientSocket.getOutputStream(),true);
    out.println(accountNo);
    out.println(accountType);
    } catch (UnknownHostException e) {
         // TODO Auto-generated catch block
         System.out.println("Unknown host: localhost");
         e.printStackTrace();
    } catch (IOException e) {
    // TODO Auto-generated catch block
         System.out.println("No I/O");
         e.printStackTrace();
    class CustomerRequestUI extends Frame implements ActionListener{
              //declare components
              Label accNumLabel     =null;
              Label accTypeLabel     =null;
              TextField accNumText =null;
              TextField accTypeText=null;
              Button submitButton     =null;
              Button closeButton =null;
         public CustomerRequestUI(){
              this.setTitle("Customer Request");
              this.setLayout(new GridLayout(3,2));
              this.setBackground(Color.lightGray);
              accNumLabel =new Label("Account Number");
              accNumText =new TextField(10);
              accTypeLabel =new Label("Account Type");
              accTypeText =new TextField(25);
              submitButton =new Button("Submit");
              closeButton =new Button("Close");
              //add components to frame
              this.add(accNumLabel);
              this.add(accNumText);
              this.add(accTypeLabel);
              this.add(accTypeText);
              this.add(submitButton);
              this.add(closeButton);
              //add ActionListener to components
              accNumText.addActionListener(this);
              accTypeText.addActionListener(this);
              submitButton.addActionListener(this);
              closeButton.addActionListener(this);
              this.pack();
              this.show();      
         public void actionPerformed(ActionEvent event) {
         Object source =event.getSource();
         if(source ==submitButton){
              accountNo =accNumText.getText();
              accountType =accTypeText.getText();
         if(source ==closeButton){
         this.setVisible(false);                    this.dispose();
         System.exit(0);                    
    }

    If you want to listenSocket after a user clicks submit, why don't to call listenSocket when the use clicks submit.

  • Broadcast, live stream?

    Hello. I have a few questions regarding broadcasting live video streams in H.264 encoded format. I am new here and have little knowledge about the topic. What I am interested in is how can I broadcast (multicast?) live video streams over the internet to multiple viewers? I have video content on a HDD, encoded in H.264 which is constantly updating (I add new files, remove old ones and so on, kind of like a TV channel or Internet Radio but with video), I need to feed that content to a live stream server somehow. It should not be an "On Demand" stream, but "live". What software do I need for this? What do I need to broadcast my so-called "live TV" to end users and what software should I use to auto "feed" the server with new content? If you have any thoughts or can give me links to helpful resources I would appreciate it a lot! Thank you!

    I already took a look at that software. I don't sure if it fits my needs. Lets say I have a video source which is an uncompressed live stream. I need: to capture that stream, compress it using H.264 encoding, then rebroadcast it. The time buffer I have is 8 hours (I can broadcast the compressed stream after 8 hours after getting the original stream). Now, how do I do it?
    Message was edited by: D. Poznyak

Maybe you are looking for

  • Deferred payment terms and Tax due immediatly

    Hi, We would like to know if there is a workaround in SAP to post the customers invoices tax amount with a different due date of the deferred payments. The deferred payments amount will not include tax. What we would like to do according to our busin

  • I want Anna back

    Upgraded my N8-00 to Belle a few days ago and I have had all kinds of problems. How can I "downgrade" the phone to Anna?

  • Fixing Billing Date in VF11

    Hi All I want to fix the billing date dynmic for today in vf11 - cancel billing Document I want that the user couldn't change this date it will be fixed for today I tried with user exit SDVFX007,SDVFX008,SDVFX009,SDVFX010,SDVFX011                    

  • Udm_dispute enhancement

    Hi Experts, In udm_dispute transaction, after the status of case is set to 'closed', the screen is seen in Display mode. The requirement is to make 'Planned close date' editable even after the status is closed. Please suggest the screen exit which ca

  • How to set iOS 7 system wallpaper?

    I've seen some web sites which state that you can set the "system wallpaper".  After doing so, then things like the phone dialer has a colored background instead of plain white.  Where do you set the system wallpaper?