mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: do not set recording URL to null while uploading
parent
bea77f5360
commit
407f72f0d1
|
@ -396,8 +396,8 @@ public class RecordingManager {
|
|||
return;
|
||||
}
|
||||
|
||||
this.singleStreamRecordingService.startRecorderEndpointForPublisherEndpoint(session, recording.getId(), profile,
|
||||
participant, startedCountDown);
|
||||
this.singleStreamRecordingService.startRecorderEndpointForPublisherEndpoint(session, recording.getId(),
|
||||
profile, participant, startedCountDown);
|
||||
} else if (RecordingUtils.IS_COMPOSED(recording.getOutputMode()) && !recording.hasVideo()) {
|
||||
// Connect this stream to existing Composite recorder
|
||||
log.info("Joining PublisherEndpoint to existing Composite in session {} for new stream of participant {}",
|
||||
|
@ -571,7 +571,6 @@ public class RecordingManager {
|
|||
&& composedQuickStartRecordingService.isBeingUploaded(recording)) {
|
||||
// Recording has finished but is being uploaded
|
||||
recording.setStatus(Status.stopped);
|
||||
recording.setUrl(null);
|
||||
} else if (Status.ready.equals(recording.getStatus()) || Status.failed.equals(recording.getStatus())) {
|
||||
// Recording has been completely processed and must include URL
|
||||
recording.setUrl(recordingManagerUtils.getRecordingUrl(recording));
|
||||
|
|
Loading…
Reference in New Issue