Skip to main content
Participant
April 8, 2010
Question

flvplayback stops playing but the client is still listed as a connection in FMS 3.5

  • April 8, 2010
  • 1 reply
  • 1059 views

Hi,

I have a live streaming application using RTMP. Sometimes the playback works fine but sometimes it stops without any trace or errors in the log file, while still appearing as a connected client. Has anyone encountered such or similar behavior?

Thanks!

    This topic has been closed for replies.

    1 reply

    Participating Frequently
    April 8, 2010

    I would require more details from you in order to help you on this.

    When you say no trace or error in logs - which logs are you referring?

    Are you using default "live" application which comes with FMS or you own custom application?

    still appearing as a connected client -> Ideally if connection is not closed this will be case if AutoCloseIdleClients is false. So first thing can you check in access.00.logs that no connection close is logged ? If its not logged means FMS still feels client is alive.

    3daltAuthor
    Participant
    April 8, 2010

    Hi,

    Thank you for your reply! Yes, so the application is the default live application. I looked at the log and there is not trace of a disconnect nor there are any errors of invalid network messages anywhere. The logging interval is set to be 120 sec. I'm also logging play-contuned event which has come up  in the log file even though the video had stopped playing. I played with idleTime setting of the flvplayback component and set it to 1000000 but it still stops after a few minutes... Please let me know if I can provide anymore details.

    Thank you!

    Participating Frequently
    April 11, 2010

    I use ffmpeg rtmp streaming capabilities. I think that the problem is absence of motion in the video that causes the playback to stop. Wouldn't this causes a zero sized packet(or a very small packet) and the swf just doesn't handle these correctly?


    Hmm, could be but cannot say 100% that might be the issue. I suppose even if u do not have any motion but it is streaming some data , play should not stop.

    Is the play stopping when you try to reply it?

    Can you enable logs for publish and unpublish events in access logs and see if you see any unpublish event?

    Is it possible for you to record the file on fms using server-side code (provided you have FMIE) and then try to playback the recorded file just to check if you see issue in VOD case also?