mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: new configuration parameter openvidu.recording.autostop-timeout
parent
fae19caacc
commit
cead6ca8f6
|
@ -55,6 +55,9 @@ public class OpenviduConfig {
|
||||||
@Value("${openvidu.recording.version}")
|
@Value("${openvidu.recording.version}")
|
||||||
private String openviduRecordingVersion;
|
private String openviduRecordingVersion;
|
||||||
|
|
||||||
|
@Value("${openvidu.recording.autostop-timeout}")
|
||||||
|
private int openviduRecordingAutostopTimeout;
|
||||||
|
|
||||||
@Value("${openvidu.streams.video.max-recv-bandwidth}")
|
@Value("${openvidu.streams.video.max-recv-bandwidth}")
|
||||||
private int openviduStreamsVideoMaxRecvBandwidth;
|
private int openviduStreamsVideoMaxRecvBandwidth;
|
||||||
|
|
||||||
|
@ -143,6 +146,10 @@ public class OpenviduConfig {
|
||||||
return this.openviduRecordingVersion;
|
return this.openviduRecordingVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int getOpenviduRecordingAutostopTimeout() {
|
||||||
|
return this.openviduRecordingAutostopTimeout;
|
||||||
|
}
|
||||||
|
|
||||||
public String getSpringProfile() {
|
public String getSpringProfile() {
|
||||||
return springProfile;
|
return springProfile;
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,6 +65,12 @@
|
||||||
"type": "java.lang.String",
|
"type": "java.lang.String",
|
||||||
"description": "Tag for openvidu/openvidu-recording Docker image"
|
"description": "Tag for openvidu/openvidu-recording Docker image"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "openvidu.recording.autostop-timeout",
|
||||||
|
"type": "java.lang.Integer",
|
||||||
|
"description": "Timeout in seconds for automatically stopping the recording of a session when last user disconnects or when it starts and no user is publishing (only if RecordingMode.MANUAL)",
|
||||||
|
"defaultValue": 120
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "coturn.sqlite",
|
"name": "coturn.sqlite",
|
||||||
"type": "java.lang.String",
|
"type": "java.lang.String",
|
||||||
|
|
|
@ -16,6 +16,10 @@ kms.uris=[\"ws://localhost:8888/kurento\"]
|
||||||
openvidu.secret: MY_SECRET
|
openvidu.secret: MY_SECRET
|
||||||
openvidu.publicurl: local
|
openvidu.publicurl: local
|
||||||
openvidu.cdr: false
|
openvidu.cdr: false
|
||||||
|
|
||||||
openvidu.recording: false
|
openvidu.recording: false
|
||||||
openvidu.recording.path: /opt/openvidu/recordings
|
openvidu.recording.path: /opt/openvidu/recordings
|
||||||
openvidu.recording.public-access: false
|
openvidu.recording.public-access: false
|
||||||
|
openvidu.recording.notification: publisher_moderator
|
||||||
|
openvidu.recording.custom-layout: /opt/openvidu/custom-layout
|
||||||
|
openvidu.recording.autostop-timeout: 120
|
|
@ -19,6 +19,7 @@ openvidu.recording.path: /opt/openvidu/recordings
|
||||||
openvidu.recording.public-access: false
|
openvidu.recording.public-access: false
|
||||||
openvidu.recording.notification: publisher_moderator
|
openvidu.recording.notification: publisher_moderator
|
||||||
openvidu.recording.custom-layout: /opt/openvidu/custom-layout
|
openvidu.recording.custom-layout: /opt/openvidu/custom-layout
|
||||||
|
openvidu.recording.autostop-timeout: 120
|
||||||
|
|
||||||
openvidu.streams.video.max-recv-bandwidth: 1000
|
openvidu.streams.video.max-recv-bandwidth: 1000
|
||||||
openvidu.streams.video.min-recv-bandwidth: 300
|
openvidu.streams.video.min-recv-bandwidth: 300
|
||||||
|
|
Loading…
Reference in New Issue