mirror of https://github.com/OpenVidu/openvidu.git
Revert "openvidu-node-client: Fix possible enum errors with typescript transpilation"
This reverts commit c1688c0d2a
.
pull/744/merge
parent
c1688c0d2a
commit
46ba88cf9a
|
@ -94,7 +94,7 @@ export class Recording {
|
|||
json['frameRate'] != null ? Number(json['frameRate']) : Recording.DefaultRecordingPropertiesValues.frameRate;
|
||||
this.properties.shmSize =
|
||||
json['shmSize'] != null ? Number(json['shmSize']) : Recording.DefaultRecordingPropertiesValues.shmSize;
|
||||
if (this.properties.recordingLayout.toString() === RecordingLayout.CUSTOM.toString()) {
|
||||
if (this.properties.recordingLayout.toString() === RecordingLayout[RecordingLayout.CUSTOM]) {
|
||||
this.properties.customLayout = json['customLayout'] != null ? json['customLayout'] : '';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
/**
|
||||
* See {@link RecordingProperties.recordingLayout}
|
||||
*/
|
||||
export const enum RecordingLayout {
|
||||
export enum RecordingLayout {
|
||||
/**
|
||||
* All the videos are evenly distributed, taking up as much space as possible
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue