Skip to main content
Inspiring
September 13, 2006
Answered

Missing last second or so on recording

  • September 13, 2006
  • 2 replies
  • 231 views
When i record a stream to the FMS, press stop and then playback my recorded stream, i seem to always be missing the last second or so. Is this a buffer issue? How can i solve this?
    This topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer
    Yeah... that could be caused by a buffer issue. You want to make sure the buffer is empty before you stop publishing. If you look at the code for the VideoRecord component, you'll see an example of how to ckeck the buffer. I find it also helps to flush the stream (on the server side) before starting playback.

    2 replies

    RMAXAuthor
    Inspiring
    September 14, 2006
    ---I checked the sample, but when i check my buffer state is keeps telling me the buffer is empty...

    ok rewrote the whole thing, seems to work now, flushed was indeed a solution, made some other errors also,
    anyway.. fixed!

    thanx for the reply!
    Correct answer
    September 13, 2006
    Yeah... that could be caused by a buffer issue. You want to make sure the buffer is empty before you stop publishing. If you look at the code for the VideoRecord component, you'll see an example of how to ckeck the buffer. I find it also helps to flush the stream (on the server side) before starting playback.