Skip to main content
Participating Frequently
September 12, 2006
Question

How to get the time length from send record command to record video really?

  • September 12, 2006
  • 3 replies
  • 322 views
I have two buttons. Record/Stop
I press Record button to record the video and press Stop button to stop recording.Now,I spend 1986 ms from press Record button to press Stop button.
But the flv file's length is 1920 or 1910 or 1915 ms.

So I want to get the time length from send record command to record video really.

Can you give me some suggests.
Thanks!
    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Inspiring
    September 14, 2006
    maybe you have lag in publishing.... are you try watch de NetStream.liveDelay() method?

    or start counting when NetStream.onStatus has "NetStream.Record.Start" and "NetStream.Record.Stop" in information objects....
    Inspiring
    September 13, 2006
    I would much rather like to know how to get the FMS to record 1986 ms, as expected....
    Inspiring
    September 13, 2006
    do you want know the time length of recorded video or the real-time of live record?