OpenVidu SDKs docs updated with COMPOSED_QUICK_START

pull/508/head
pabloFuente 2020-07-02 12:16:13 +02:00
parent 27ae38c27a
commit 8538327940
4 changed files with 25 additions and 14 deletions

View File

@ -230,7 +230,7 @@ public class Recording {
/** /**
* Resolution of the video file. Only defined if OutputMode of the Recording is * Resolution of the video file. Only defined if OutputMode of the Recording is
* set to {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} * set to {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} or {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}
*/ */
public String getResolution() { public String getResolution() {
return this.recordingProperties.resolution(); return this.recordingProperties.resolution();

View File

@ -87,7 +87,8 @@ public class RecordingProperties {
* have effect if * have effect if
* {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)} * {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)}
* has been called with value * has been called with value
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}
*/ */
public RecordingProperties.Builder recordingLayout(RecordingLayout layout) { public RecordingProperties.Builder recordingLayout(RecordingLayout layout) {
this.recordingLayout = layout; this.recordingLayout = layout;
@ -103,7 +104,8 @@ public class RecordingProperties {
* Will only have effect if * Will only have effect if
* {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)} * {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)}
* has been called with value * has been called with value
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED}.<br> * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}.<br>
* See <a href="https://docs.openvidu.io/en/stable/advanced-features/recording#custom-recording-layouts" * See <a href="https://docs.openvidu.io/en/stable/advanced-features/recording#custom-recording-layouts"
* target="_blank">Custom recording layouts</a> to learn more * target="_blank">Custom recording layouts</a> to learn more
*/ */
@ -119,7 +121,8 @@ public class RecordingProperties {
* Will only have effect if * Will only have effect if
* {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)} * {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)}
* has been called with value * has been called with value
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED}. For * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}. For
* {@link io.openvidu.java.client.Recording.OutputMode#INDIVIDUAL} all * {@link io.openvidu.java.client.Recording.OutputMode#INDIVIDUAL} all
* individual video files will have the native resolution of the published * individual video files will have the native resolution of the published
* stream * stream
@ -181,7 +184,8 @@ public class RecordingProperties {
} }
/** /**
* Defines the mode of recording: {@link Recording.OutputMode#COMPOSED} for a * Defines the mode of recording: {@link Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START} for a
* single archive in a grid layout or {@link Recording.OutputMode#INDIVIDUAL} * single archive in a grid layout or {@link Recording.OutputMode#INDIVIDUAL}
* for one archive for each stream.<br> * for one archive for each stream.<br>
* <br> * <br>
@ -196,7 +200,8 @@ public class RecordingProperties {
* Defines the layout to be used in the recording.<br> * Defines the layout to be used in the recording.<br>
* Will only have effect if * Will only have effect if
* {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)} * {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)}
* has been called with value {@link Recording.OutputMode#COMPOSED}.<br> * has been called with value {@link Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}.<br>
* <br> * <br>
* *
* Default to {@link RecordingLayout#BEST_FIT} * Default to {@link RecordingLayout#BEST_FIT}
@ -221,7 +226,8 @@ public class RecordingProperties {
* Will only have effect if * Will only have effect if
* {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)} * {@link io.openvidu.java.client.RecordingProperties.Builder#outputMode(Recording.OutputMode)}
* has been called with value * has been called with value
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED}. For * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}. For
* {@link io.openvidu.java.client.Recording.OutputMode#INDIVIDUAL} all * {@link io.openvidu.java.client.Recording.OutputMode#INDIVIDUAL} all
* individual video files will have the native resolution of the published * individual video files will have the native resolution of the published
* stream.<br> * stream.<br>

View File

@ -99,7 +99,8 @@ public class SessionProperties {
* Default value is {@link RecordingLayout#BEST_FIT}<br> * Default value is {@link RecordingLayout#BEST_FIT}<br>
* <br> * <br>
* Recording layouts are only applicable to recordings with OutputMode * Recording layouts are only applicable to recordings with OutputMode
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}
*/ */
public SessionProperties.Builder defaultRecordingLayout(RecordingLayout layout) { public SessionProperties.Builder defaultRecordingLayout(RecordingLayout layout) {
this.defaultRecordingLayout = layout; this.defaultRecordingLayout = layout;
@ -116,7 +117,8 @@ public class SessionProperties {
* <br> * <br>
* *
* Custom layouts are only applicable to recordings with OutputMode * Custom layouts are only applicable to recordings with OutputMode
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} and * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} (or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}) and
* RecordingLayout {@link io.openvidu.java.client.RecordingLayout#CUSTOM} * RecordingLayout {@link io.openvidu.java.client.RecordingLayout#CUSTOM}
*/ */
public SessionProperties.Builder defaultCustomLayout(String path) { public SessionProperties.Builder defaultCustomLayout(String path) {
@ -195,7 +197,8 @@ public class SessionProperties {
* {@link io.openvidu.java.client.RecordingProperties.Builder#recordingLayout(RecordingLayout)} * {@link io.openvidu.java.client.RecordingProperties.Builder#recordingLayout(RecordingLayout)}
* with any other value.<br> * with any other value.<br>
* Recording layouts are only applicable to recordings with OutputMode * Recording layouts are only applicable to recordings with OutputMode
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}
*/ */
public RecordingLayout defaultRecordingLayout() { public RecordingLayout defaultRecordingLayout() {
return this.defaultRecordingLayout; return this.defaultRecordingLayout;
@ -209,7 +212,8 @@ public class SessionProperties {
* {@link io.openvidu.java.client.RecordingProperties.Builder#customLayout(String)} * {@link io.openvidu.java.client.RecordingProperties.Builder#customLayout(String)}
* with any other value.<br> * with any other value.<br>
* Custom layouts are only applicable to recordings with OutputMode * Custom layouts are only applicable to recordings with OutputMode
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} and * {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED} (or
* {@link io.openvidu.java.client.Recording.OutputMode#COMPOSED_QUICK_START}) and
* RecordingLayout {@link io.openvidu.java.client.RecordingLayout#CUSTOM} * RecordingLayout {@link io.openvidu.java.client.RecordingLayout#CUSTOM}
*/ */
public String defaultCustomLayout() { public String defaultCustomLayout() {

View File

@ -37,13 +37,13 @@ export interface RecordingProperties {
/** /**
* The layout to be used in the recording.<br> * The layout to be used in the recording.<br>
* Will only have effect if [[RecordingProperties.outputMode]] is `COMPOSED` * Will only have effect if [[RecordingProperties.outputMode]] is `COMPOSED` or `COMPOSED_QUICK_START`
*/ */
recordingLayout?: RecordingLayout; recordingLayout?: RecordingLayout;
/** /**
* The relative path to the specific custom layout you want to use.<br> * The relative path to the specific custom layout you want to use.<br>
* Will only have effect if [[RecordingProperties.outputMode]] is `COMPOSED` and [[RecordingProperties.recordingLayout]] is `CUSTOM`<br> * Will only have effect if [[RecordingProperties.outputMode]] is `COMPOSED` (or `COMPOSED_QUICK_START`) and [[RecordingProperties.recordingLayout]] is `CUSTOM`<br>
* See [Custom recording layouts](/en/stable/advanced-features/recording#custom-recording-layouts) to learn more * See [Custom recording layouts](/en/stable/advanced-features/recording#custom-recording-layouts) to learn more
*/ */
customLayout?: string; customLayout?: string;
@ -52,7 +52,8 @@ export interface RecordingProperties {
* Recording video file resolution. Must be a string with format "WIDTHxHEIGHT", * Recording video file resolution. Must be a string with format "WIDTHxHEIGHT",
* being both WIDTH and HEIGHT the number of pixels between 100 and 1999.<br> * being both WIDTH and HEIGHT the number of pixels between 100 and 1999.<br>
* Will only have effect if [[RecordingProperties.outputMode]] * Will only have effect if [[RecordingProperties.outputMode]]
* is set to [[Recording.OutputMode.COMPOSED]]. For [[Recording.OutputMode.INDIVIDUAL]] all * is set to [[Recording.OutputMode.COMPOSED]] or [[Recording.OutputMode.COMPOSED_QUICK_START]].
* For [[Recording.OutputMode.INDIVIDUAL]] all
* individual video files will have the native resolution of the published stream * individual video files will have the native resolution of the published stream
*/ */
resolution?: string; resolution?: string;