Results 1 to 2 of 2

Thread: ILiveStreamRecord.getCurrentDuration returning incorrect duration

  1. #1
    Join Date
    Jun 2011

    Default ILiveStreamRecord.getCurrentDuration returning incorrect duration


    I am using the ILiveStreamRecord api to create segments of 30minutes for live streams. On publish I create a new LiveStreamRecorderMP4 for the stream and start the recorder using startRecordingSegmentByDuration method. I also implemented ILiveStreamRecordNotify to be notified about onSegmentStart and onSegmentEnd events. The flow is working fine and recordings are created approx every 30minutes(as per my configuration). On 'onSegmentEnd' I am calling recorder.getCurrentDuration to store the segment file name and the duration of the file in my database. But it has been observed that the duration reported by getCurrentDuration is not correct all the time and there is a difference between what it reports and those reported by ffmpeg or vlc player for the same segment.

    Is this a known issue? Any idea what could be causing this and how to troubleshoot this further?

    Thanks in advance.

  2. #2
    Join Date
    Dec 2007


    I have not seen similar reports. Can you tell us how we might reproduce?


Similar Threads

  1. Replies: 2
    Last Post: 10-10-2014, 07:08 PM
  2. ILiveStreamRecord current status/state
    By sam.shm in forum General Forum
    Replies: 0
    Last Post: 02-06-2014, 03:23 AM
  3. Incorrect Duration
    By joshuao3 in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 11-30-2011, 12:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts