setFrameTimestampTickInterval()

The function sets the capture time of video frames.

Synopsis

void setFrameTimestampTickInterval(int framesPerTick);           

Parameter

Parameter Description
framesPerTick

The number of frames which need to be decoded before the next timestamp is provided

  • ‘0’ or less means there will be no timestamps provided
  • ‘1’ means there will be a timestamp for every frame
  • ‘5’ or any arbitrary number means that at least this number of frames has to be decoded before the next timestamp is provided

E.g. on a 25 fps stream the value ‘5’ will mean there will be a timestamp every 200 ms

Description

The function sets the capture time of video frames via RTP/RTCP timestamps from a surveillance camera. The information will be provided via the event onLatestFrameTimestamp in NTP format.

Assignment

Video functions

Availability

UI, CTRL