You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Store this archiveId in the database for later use
194
194
String archiveId = archive.getId();
195
195
```
196
196
197
-
The `Archive.OutputMode.COMPOSED` setting (the default) causes all streams in the archive to be
198
-
recorded to a single (composed) file.
197
+
The `Archive.OutputMode.COMPOSED` option is the default value for `outputMode`. It archives all streams to be recorded to a single (composed) file.
198
+
199
+
You can only specify the `resolution` for composed archives using the `ArchiveProperties` builder. If you set the `resolution` property and also set the `outputMode` property to `Archive.OutputMode.INDIVIDUAL`, the method will throw an `InvalidArgumentException`.
200
+
201
+
The accepted values for `resolution` are:
202
+
-`"640x480"` (SD, the default)
203
+
-`"1280x720"` (HD)
204
+
> Please note that setting any other value for the `resolution` property will result in an exception.
199
205
200
-
You can set the composed archive resolution to either "640x480" (SD, the default) or "1280x720" (HD) using the ArchiveProperties builder.
201
-
Any other value will result in an exception.The property only applies to composed archives.
202
-
If you set this property and also set the outputMode property to "individual", the method results in an `InvalidArgumentException`.
0 commit comments