backend: add missing description for buildAccessRecordingSecretsKey method
This commit is contained in:
parent
b44e7e2b6a
commit
49926459cd
@ -21,7 +21,6 @@ export class S3KeyBuilder implements StorageKeyBuilder {
|
||||
|
||||
buildMeetRecordingKey(recordingId: string): string {
|
||||
const { roomId, egressId, uid } = RecordingHelper.extractInfoFromRecordingId(recordingId);
|
||||
|
||||
return `${INTERNAL_CONFIG.S3_RECORDINGS_PREFIX}/.metadata/${roomId}/${egressId}/${uid}.json`;
|
||||
}
|
||||
|
||||
@ -35,6 +34,11 @@ export class S3KeyBuilder implements StorageKeyBuilder {
|
||||
return `${INTERNAL_CONFIG.S3_RECORDINGS_PREFIX}/.metadata${roomSegment}`;
|
||||
}
|
||||
|
||||
buildAccessRecordingSecretsKey(recordingId: string): string {
|
||||
const { roomId, egressId, uid } = RecordingHelper.extractInfoFromRecordingId(recordingId);
|
||||
return `${INTERNAL_CONFIG.S3_RECORDINGS_PREFIX}/.secrets/${roomId}/${egressId}/${uid}.json`;
|
||||
}
|
||||
|
||||
buildUserKey(userId: string): string {
|
||||
return `${INTERNAL_CONFIG.S3_USERS_PREFIX}/${userId}.json`;
|
||||
}
|
||||
@ -42,9 +46,4 @@ export class S3KeyBuilder implements StorageKeyBuilder {
|
||||
buildApiKeysKey(): string {
|
||||
return `${INTERNAL_CONFIG.S3_API_KEYS_PREFIX}.json`;
|
||||
}
|
||||
|
||||
buildAccessRecordingSecretsKey(recordingId: string): string {
|
||||
const { roomId, egressId, uid } = RecordingHelper.extractInfoFromRecordingId(recordingId);
|
||||
return `${INTERNAL_CONFIG.S3_RECORDINGS_PREFIX}/.secrets/${roomId}/${egressId}/${uid}.json`;
|
||||
}
|
||||
}
|
||||
|
||||
@ -104,6 +104,7 @@ export interface StorageKeyBuilder {
|
||||
* Builds the key for global preferences storage.
|
||||
*/
|
||||
buildGlobalPreferencesKey(): string;
|
||||
|
||||
/**
|
||||
* Builds the key for a specific room.
|
||||
*
|
||||
@ -144,6 +145,13 @@ export interface StorageKeyBuilder {
|
||||
*/
|
||||
buildAllMeetRecordingsKey(roomId?: string): string;
|
||||
|
||||
/**
|
||||
* Builds the key for access recording secrets.
|
||||
*
|
||||
* @param recordingId - The unique identifier of the recording
|
||||
*/
|
||||
buildAccessRecordingSecretsKey(recordingId: string): string;
|
||||
|
||||
/**
|
||||
* Builds the key for a specific user
|
||||
*
|
||||
@ -155,6 +163,4 @@ export interface StorageKeyBuilder {
|
||||
* Builds Api Key
|
||||
*/
|
||||
buildApiKeysKey(): string;
|
||||
|
||||
buildAccessRecordingSecretsKey(recordingId: string): string;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user