backend: Remove unnecessary cleanup timer cancellation in stopRecording method
This commit is contained in:
parent
116a41e428
commit
0991962554
@ -142,9 +142,6 @@ export class RecordingService {
|
|||||||
throw errorRecordingNotFound(egressId);
|
throw errorRecordingNotFound(egressId);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cancel the recording cleanup timer if it is running
|
|
||||||
this.taskSchedulerService.cancelTask(`${roomId}_recording_timeout`);
|
|
||||||
|
|
||||||
switch (egress.status) {
|
switch (egress.status) {
|
||||||
case EgressStatus.EGRESS_ACTIVE:
|
case EgressStatus.EGRESS_ACTIVE:
|
||||||
// Everything is fine, the recording can be stopped.
|
// Everything is fine, the recording can be stopped.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user