Skip to main content
Participant
September 18, 2011
Question

DVR runs all the time

  • September 18, 2011
  • 1 reply
  • 565 views

Hi,

As far as I know that the DVR function can be triggered by either check mark the "DVR auto Record" at the FMLE or by using the DVRControllerSynch.

but I have a hardware device (not a computer software) that stream the video to the server

How can I force DVRcast to run the DVR feature all the time?

This topic has been closed for replies.

1 reply

Participating Frequently
September 19, 2011

Its been while i worked on DVR - but if i remember correclt - i think you might just have to tweak dvrcast_origin application code to always have DVR on at start of publish.

S_HadimaAuthor
Participant
September 19, 2011

OK. but what should I do?

how can I tweak DVRcast_origin application code to always have dvr ON?

Participating Frequently
September 19, 2011

I suppose you migth have to called "onStartRecord" in ExDVRStream class , as soon as setStreamInfo is called from main.asc. I mean I am telling from memory and i suppose you will have to take care that everything works fine after this change - you will have to comment out code which is not needed and add minimal code for "onStartRecord" and "onStopRecord" at proper places. I would suggest you to go through the code flow - it should not be that difficult thing to implement.