Results 1 to 2 of 2

Thread: Increase the segmentDuration time dynamically

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2014
    Posts
    16

    Default Increase the segmentDuration time dynamically

    I am recording a live stream using the url with action "startRecordingSegmentByDuration".

    for eg:
    http://xxxxxxx:8086/livestreamrecord?app=live&streamname=4.stream&action=startRecordingSegmentByDuration&output="/var/storage1/camera_4/abc.mp4&format=2&startonkeyframe=true&segmentDuration=60

    My question is:

    Can I update the value of segmentDuration to a higher one, when recording is happening.

    tnx!

  2. #2
    Join Date
    May 2013
    Posts
    680

    Default

    Hello

    If you are using the HTTP API, you will not be able to do this while the recording is occurring. Since the method available is to "start" a recording, you cannot call it again to update an existing recording. However, try taking a look at the ILiveStreamRecord API (example), you should be able to change the duration on-the-fly there.

    Thanks,
    Matt

Similar Threads

  1. Memory increase over time
    By jordanrumph in forum Performance Tuning Discussion
    Replies: 10
    Last Post: 03-20-2015, 12:59 PM
  2. Memory increase over time
    By sykwon in forum Performance Tuning Discussion
    Replies: 1
    Last Post: 02-13-2014, 09:38 AM

Posting Permissions

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