mirror of https://github.com/OpenVidu/openvidu.git
openvidu-java-client: send RecordingProperties shmSize and mediaNode
parent
ddac961c98
commit
ceed7dd77b
|
@ -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())))
|
||||
|
|
|
@ -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** <a href="https://docs.openvidu.io/en/stable/openvidu-pro/" target="_blank" style="display: inline-block; background-color: rgb(0, 136, 170); color: white; font-weight: bold; padding: 0px 5px; margin-right: 5px; border-radius: 3px; font-size: 13px; line-height:21px; font-family: Montserrat, sans-serif">PRO</a>
|
||||
*
|
||||
* 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;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue