diff --git a/openvidu-node-client/src/Recording.ts b/openvidu-node-client/src/Recording.ts index 6d938cef..4abbcabc 100644 --- a/openvidu-node-client/src/Recording.ts +++ b/openvidu-node-client/src/Recording.ts @@ -102,29 +102,29 @@ export namespace Recording { /** * The recording is starting (cannot be stopped) */ - starting, + starting = 'starting', /** * The recording has started and is going on */ - started, + started = 'started', /** * The recording has finished OK */ - stopped, + stopped = 'stopped', /** * The recording is available for downloading. This status is reached for all * stopped recordings if [OpenVidu Server configuration](https://openvidu.io/docs/reference-docs/openvidu-server-params/) * property `openvidu.recording.public-access` is true */ - available, + available = 'available', /** * The recording has failed */ - failed + failed = 'failed' } /** @@ -135,11 +135,11 @@ export namespace Recording { /** * Record all streams in a grid layout in a single archive */ - COMPOSED, + COMPOSED = 'COMPOSED', /** * Record each stream individually */ - INDIVIDUAL + INDIVIDUAL = 'INDIVIDUAL' } } \ No newline at end of file diff --git a/openvidu-node-client/src/RecordingProperties.ts b/openvidu-node-client/src/RecordingProperties.ts index e645da2b..b35116a6 100644 --- a/openvidu-node-client/src/RecordingProperties.ts +++ b/openvidu-node-client/src/RecordingProperties.ts @@ -51,10 +51,10 @@ export interface RecordingProperties { /** * Whether or not to record the audio track (currently fixed to true) */ - hasAudio: boolean; + hasAudio?: boolean; /** * Whether or not to record the video track (currently fixed to true) */ - hasVideo: boolean; + hasVideo?: boolean; } \ No newline at end of file