backend: Update recording path extraction to include S3 prefix and fix typo
This commit is contained in:
parent
524460e06a
commit
0e9d050bcb
@ -349,7 +349,7 @@ export class RecordingService {
|
|||||||
this.logger.verbose(
|
this.logger.verbose(
|
||||||
`Active egress found for room ${roomId}: ${egress.map((e) => e.egressId).join(', ')}`
|
`Active egress found for room ${roomId}: ${egress.map((e) => e.egressId).join(', ')}`
|
||||||
);
|
);
|
||||||
this.logger.error(`Cannot release recorgin lock for room '${roomId}'.`);
|
this.logger.error(`Cannot release recording lock for room '${roomId}'.`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -394,7 +394,7 @@ export class RecordingService {
|
|||||||
throw errorRecordingNotStopped(recordingId);
|
throw errorRecordingNotStopped(recordingId);
|
||||||
}
|
}
|
||||||
|
|
||||||
const recordingPath = RecordingHelper.extractFilename(recordingInfo);
|
const recordingPath = `${INTERNAL_CONFIG.S3_RECORDINGS_PREFIX}/${RecordingHelper.extractFilename(recordingInfo)}`;
|
||||||
|
|
||||||
if (!recordingPath) {
|
if (!recordingPath) {
|
||||||
throw internalError(`Error extracting path from recording ${recordingId}`);
|
throw internalError(`Error extracting path from recording ${recordingId}`);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user