I have been told by the support that I can use nDVR add-on to introduce a 30 sec delay for my live stream.
Here is my situation:
I have live stream from an IP camera, when user is viewing the live stream from client side, he is actually viewing the 30 sec older camera feed from reality, this is NOT the case which the user can drag the progress bar to play the earlier live stream.
Therefore the user cannot manipulate the video progress bar, and they are view the 30 sec older feed as their ‘live’ stream.
I am also replying you in ticket #111108, but I would like to post my answer here as well so that other Wowza community members can benefit.
To accomplish the scenario you have described you will need to use the Wowza nDVR Playlist Request API. Please take a look at the following forum article describing how to configure nDVR and use this API: How to use Wowza nDVR Playlist Request API
Please note that the transcoding process is CPU intensive and you will need to perform a series of tests prior to going into production in order to determine the capacity of your server. The following article describes how to configure and use Wowza Streaming Engine media server software to capture transcoder performance benchmark numbers for your specific hardware and operating system configuration.
This will stream the live streaming 30 seconds earlier the current time is 2014-12-05 8:31:00 ?
But I am wondering how to guarantee the time is correct in this case when the client sending request from client side, any way to syc with the server time?
By the way, I have get the adaptive stream working and the performance in terms of CPU usage is acceptable. On now the only issue is this 30 sec delay before we go for wowza.
Thanks for your help.
Update: I have read it further, it seems like we can add our own code to modify the default behaviours.
Potentially, I can deal with the request and calculate the available time for the stream, and reduce 30 seconds from the end of the stream available time, then forward the request?