Wowza Community

LiveStreamRecord based in RTP timestamp

Hi,

I have an IP camera live streaming to wowza. The camera send me motionDetected = true and motionDetected = false events based on its motion sensor. Along with events camera also send RTP timestamp of video frame where the event happened.

Let say motionDetected = true came with RTP timestamp X and motionDetected = false came with RTP timestamp Y.

I want to record chunks of video between RTP timestamp X and Y while it streaming. I could not find an API to do so. Any help would be much appreciated.