Need help finding play duration for MPEG DASH and HLS videos
I m trying to calculate the total no.of minutes the video was played using MPEGDASH and HLS. I was able to accomplish this on RTP streams as it had the 'OnPlay' and 'OnStop' events being fired correctly.
The problem I m facing with mpegdash and hls videos is that - I don't know if there are any events that is fired on 'OnPlay', 'OnStop', 'OnSeek' or if there is any other way we could get the total duration of the stream played.
I m trying to use the 'onHTTPMPEGDashStreamingSessionDestroy' event - but this is only being fired at the end of the video and is not fired when I stop the video or Start another video.