mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: bug fix with default resolution
parent
7ddde2fbc4
commit
4c9bec87ab
|
@ -350,7 +350,7 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
* generated by the WebRTC endpoint on the server.
|
* generated by the WebRTC endpoint on the server.
|
||||||
*
|
*
|
||||||
* @param participant Participant publishing video
|
* @param participant Participant publishing video
|
||||||
* @param mediaOptions configuration of the stream to publish
|
* @param MediaOptions configuration of the stream to publish
|
||||||
* @param transactionId identifier of the Transaction
|
* @param transactionId identifier of the Transaction
|
||||||
* @throws OpenViduException on error
|
* @throws OpenViduException on error
|
||||||
*/
|
*/
|
||||||
|
@ -432,7 +432,10 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
recordingManager.startRecording(kSession, new RecordingProperties.Builder().name("")
|
recordingManager.startRecording(kSession, new RecordingProperties.Builder().name("")
|
||||||
.outputMode(kSession.getSessionProperties().defaultOutputMode())
|
.outputMode(kSession.getSessionProperties().defaultOutputMode())
|
||||||
.recordingLayout(kSession.getSessionProperties().defaultRecordingLayout())
|
.recordingLayout(kSession.getSessionProperties().defaultRecordingLayout())
|
||||||
.customLayout(kSession.getSessionProperties().defaultCustomLayout()).build());
|
.customLayout(kSession.getSessionProperties().defaultCustomLayout())
|
||||||
|
.resolution(/*
|
||||||
|
* kSession.getSessionProperties().defaultRecordingResolution()
|
||||||
|
*/"1920x1080").build());
|
||||||
}).start();
|
}).start();
|
||||||
} else if (recordingManager.sessionIsBeingRecorded(kSession.getSessionId())) {
|
} else if (recordingManager.sessionIsBeingRecorded(kSession.getSessionId())) {
|
||||||
// Abort automatic recording stop thread for any recorded session in which a
|
// Abort automatic recording stop thread for any recorded session in which a
|
||||||
|
|
Loading…
Reference in New Issue