use of org.bigbluebutton.deskshare.server.recorder.event.RecordStoppedEvent in project bigbluebutton by bigbluebutton.
the class FileRecorder method stop.
public void stop() {
try {
log.info("Closing stream");
fo.close();
svf = null;
} catch (IOException e) {
log.error(StackTraceUtil.getStackTrace(e));
RecordErrorEvent event = new RecordErrorEvent(session);
event.setReason("Cannot record to recording output.");
listeners.notifyListeners(event);
}
RecordStoppedEvent event = new RecordStoppedEvent(session);
event.setFile(flvFilename);
listeners.notifyListeners(event);
}
Aggregations