mirror of https://github.com/OpenVidu/openvidu.git
Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
b2f385042b | |
![]() |
9cb45c747f |
|
@ -2,8 +2,8 @@
|
|||
|
||||
# Global variables
|
||||
OPENVIDU_FOLDER=openvidu
|
||||
OPENVIDU_VERSION=master
|
||||
OPENVIDU_UPGRADABLE_VERSION="2.16"
|
||||
OPENVIDU_VERSION=v2.18.0
|
||||
OPENVIDU_UPGRADABLE_VERSION="2.17"
|
||||
DOWNLOAD_URL=https://raw.githubusercontent.com/OpenVidu/openvidu/${OPENVIDU_VERSION}
|
||||
|
||||
fatal_error() {
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# Global variables
|
||||
OPENVIDU_FOLDER=openvidu
|
||||
OPENVIDU_VERSION=master
|
||||
OPENVIDU_UPGRADABLE_VERSION="master"
|
||||
OPENVIDU_VERSION=v2.18.0
|
||||
OPENVIDU_UPGRADABLE_VERSION="2.17"
|
||||
AWS_SCRIPTS_FOLDER=${OPENVIDU_FOLDER}/cluster/aws
|
||||
ELASTICSEARCH_FOLDER=${OPENVIDU_FOLDER}/elasticsearch
|
||||
BEATS_FOLDER=${OPENVIDU_FOLDER}/beats
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
MEDIA_NODE_FOLDER=kms
|
||||
MEDIA_NODE_VERSION=master
|
||||
OPENVIDU_UPGRADABLE_VERSION="2.16"
|
||||
MEDIA_NODE_VERSION=v2.18.0
|
||||
OPENVIDU_UPGRADABLE_VERSION="2.17"
|
||||
BEATS_FOLDER=${MEDIA_NODE_FOLDER}/beats
|
||||
DOWNLOAD_URL=https://raw.githubusercontent.com/OpenVidu/openvidu/${MEDIA_NODE_VERSION}
|
||||
IMAGES=(
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
# Global variables
|
||||
OPENVIDU_FOLDER=openvidu
|
||||
OPENVIDU_VERSION=master
|
||||
OPENVIDU_UPGRADABLE_VERSION="2.16"
|
||||
OPENVIDU_VERSION=v2.18.0
|
||||
OPENVIDU_UPGRADABLE_VERSION="2.17"
|
||||
AWS_SCRIPTS_FOLDER=${OPENVIDU_FOLDER}/cluster/aws
|
||||
ELASTICSEARCH_FOLDER=${OPENVIDU_FOLDER}/elasticsearch
|
||||
BEATS_FOLDER=${OPENVIDU_FOLDER}/beats
|
||||
|
|
|
@ -78,12 +78,18 @@ public class Recording {
|
|||
RecordingProperties.Builder builder = new RecordingProperties.Builder().name(json.get("name").getAsString())
|
||||
.outputMode(outputMode).hasAudio(hasAudio).hasVideo(hasVideo);
|
||||
if (RecordingUtils.IS_COMPOSED(outputMode) && hasVideo) {
|
||||
builder.resolution(json.get("resolution").getAsString());
|
||||
builder.frameRate(json.get("frameRate").getAsInt());
|
||||
RecordingLayout recordingLayout = RecordingLayout.valueOf(json.get("recordingLayout").getAsString());
|
||||
builder.recordingLayout(recordingLayout);
|
||||
if (RecordingLayout.CUSTOM.equals(recordingLayout)) {
|
||||
builder.customLayout(json.get("customLayout").getAsString());
|
||||
if (json.has("resolution")) {
|
||||
builder.resolution(json.get("resolution").getAsString());
|
||||
}
|
||||
if (json.has("frameRate")) {
|
||||
builder.frameRate(json.get("frameRate").getAsInt());
|
||||
}
|
||||
if (json.has("recordingLayout")) {
|
||||
RecordingLayout recordingLayout = RecordingLayout.valueOf(json.get("recordingLayout").getAsString());
|
||||
builder.recordingLayout(recordingLayout);
|
||||
if (RecordingLayout.CUSTOM.equals(recordingLayout) && json.has("customLayout")) {
|
||||
builder.customLayout(json.get("customLayout").getAsString());
|
||||
}
|
||||
}
|
||||
}
|
||||
this.recordingProperties = builder.build();
|
||||
|
|
Loading…
Reference in New Issue