I need to find out the time stamps for the first received packet and last received packet for a stream.
For example I have created a live stream on Wowza that's retrieving the stream from a Camera.
I have my own module that watches the stream events like publish, destroy, etc.
And let's say that the Wowza server has lost its network connectivity so the stream will be destroyed by Wowza after some timeout period.
My module gets the destroy event but naturally only after the timeout.
However, I would like to know the time stamp of the last packet received successfully for that stream.
I have checked the methods IMediaStream.getElapsedTime().getDate() and IMediaStream.getElapsedTime().getTime().
But they seem to mark the dates when the destroy event is received so it's after the timeout.
Is this doable? Or do I have a misunderstanding above?