diff --git a/openvidu-java-client/src/main/java/io/openvidu/java/client/OpenVidu.java b/openvidu-java-client/src/main/java/io/openvidu/java/client/OpenVidu.java index 8b4c031f..502a458d 100644 --- a/openvidu-java-client/src/main/java/io/openvidu/java/client/OpenVidu.java +++ b/openvidu-java-client/src/main/java/io/openvidu/java/client/OpenVidu.java @@ -202,6 +202,8 @@ public class OpenVidu { json.addProperty("outputMode", properties.outputMode() != null ? properties.outputMode().name() : null); json.addProperty("hasAudio", properties.hasAudio()); json.addProperty("hasVideo", properties.hasVideo()); + json.addProperty("shmSize", properties.shmSize()); + json.addProperty("mediaNode", properties.mediaNode()); if ((properties.outputMode() == null || Recording.OutputMode.COMPOSED.equals(properties.outputMode()) || (Recording.OutputMode.COMPOSED_QUICK_START.equals(properties.outputMode()))) diff --git a/openvidu-node-client/src/RecordingProperties.ts b/openvidu-node-client/src/RecordingProperties.ts index 585b53c0..39660e62 100644 --- a/openvidu-node-client/src/RecordingProperties.ts +++ b/openvidu-node-client/src/RecordingProperties.ts @@ -67,4 +67,16 @@ export interface RecordingProperties { * Whether or not to record video. Cannot be set to false at the same time as [[RecordingProperties.hasAudio]] */ hasVideo?: boolean; + + /** + * **This feature is part of OpenVidu Pro tier** PRO + * + * The Media Node where to host the recording. The default option if this property is not defined is the same + * Media Node hosting the Session to record. This object defines the following properties as Media Node selector: + * - `id`: Media Node unique identifier + */ + mediaNode?: { + id: string; + } + } \ No newline at end of file