frontend: Updates FeatureCalculator documentation for clarity

This commit is contained in:
CSantosM 2026-02-18 13:12:30 +01:00
parent 92b96f9a34
commit 333bd0e92f

View File

@ -6,7 +6,10 @@ import {
} from '@openvidu-meet/typings';
import { CaptionsStatus, RoomFeatures } from '../models/features.model';
// Helper class for feature calculation logic
/**
* Utility class responsible for calculating the enabled features in the meeting based on room configuration, participant permissions, and global appearance settings.
* This class provides static methods to apply different layers of configuration to derive the final set of features that should be available in the UI.
*/
export class FeatureCalculator {
static applyRoomConfig(features: RoomFeatures, roomConfig: MeetRoomConfig, captionsGlobalEnabled: boolean): void {
features.showStartStopRecording = roomConfig.recording.enabled;