openvidu-node-client: RecordingProperties optional. Enums to string

pull/203/head
pabloFuente 2019-01-20 18:13:34 +01:00
parent 90ac125144
commit e280685327
2 changed files with 9 additions and 9 deletions

View File

@ -102,29 +102,29 @@ export namespace Recording {
/** /**
* The recording is starting (cannot be stopped) * The recording is starting (cannot be stopped)
*/ */
starting, starting = 'starting',
/** /**
* The recording has started and is going on * The recording has started and is going on
*/ */
started, started = 'started',
/** /**
* The recording has finished OK * The recording has finished OK
*/ */
stopped, stopped = 'stopped',
/** /**
* The recording is available for downloading. This status is reached for all * 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/) * stopped recordings if [OpenVidu Server configuration](https://openvidu.io/docs/reference-docs/openvidu-server-params/)
* property `openvidu.recording.public-access` is true * property `openvidu.recording.public-access` is true
*/ */
available, available = 'available',
/** /**
* The recording has failed * 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 * Record all streams in a grid layout in a single archive
*/ */
COMPOSED, COMPOSED = 'COMPOSED',
/** /**
* Record each stream individually * Record each stream individually
*/ */
INDIVIDUAL INDIVIDUAL = 'INDIVIDUAL'
} }
} }

View File

@ -51,10 +51,10 @@ export interface RecordingProperties {
/** /**
* Whether or not to record the audio track (currently fixed to true) * 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) * Whether or not to record the video track (currently fixed to true)
*/ */
hasVideo: boolean; hasVideo?: boolean;
} }