backend: Remove unnecessary cleanup timer cancellation in stopRecording method

This commit is contained in:
Carlos Santos 2025-04-25 15:10:06 +02:00
parent 116a41e428
commit 0991962554

View File

@ -142,9 +142,6 @@ export class RecordingService {
throw errorRecordingNotFound(egressId);
}
// Cancel the recording cleanup timer if it is running
this.taskSchedulerService.cancelTask(`${roomId}_recording_timeout`);
switch (egress.status) {
case EgressStatus.EGRESS_ACTIVE:
// Everything is fine, the recording can be stopped.