I’ve noticed that when the stream timeout has triggered, I think it’s shutting down the dvr recorder for the stream. For example, I see this message for stream
LiveStreamDvrRecorderBase.shutdown[ben/lab-7/Ben01]. I say “I think it’s shutting down the dvr recorder” because I notice that this causes the DVR recorder to be unable to write chunks if stream
Ben01 reconnects and call
startRecording on the dvr recorder. I tried reinitializing the dvr recorder like so
// Create dvr recorder item DvrRecorderItem item = new DvrRecorderItem(IDvrConstants.DVR_DEFAULT_RECORDER_ID, "com.wowza.wms.dvr.impl.LiveStreamDvrRecorder"); // Call init on the dvr recorder dvrRecorder.init(stream.getName(), dvrStream.getRecorder().getRecordingName(), stream.getStreams().getAppInstance(), item);
This will create a dvr store but it still won’t write dvr chunks to it. Am I misunderstanding how to reinitialize the dvr recorder for a stream?