mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp default recording SessionProperties
parent
ab13435af8
commit
c0cf7d9d4e
|
@ -16,7 +16,7 @@
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Recording Mode</th>
|
<th>Recording Mode</th>
|
||||||
<th>Recording Layout</th>
|
<th>Default Recording Layout</th>
|
||||||
<th>Media Mode</th>
|
<th>Media Mode</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr id="tr-session-properties">
|
<tr id="tr-session-properties">
|
||||||
|
@ -28,9 +28,9 @@
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<mat-select placeholder="RecordingLayout" [(ngModel)]="selectedRecordingLayout">
|
<mat-select placeholder="DeafaultRecordingLayout" [(ngModel)]="selectedDefaultRecordingLayout">
|
||||||
<mat-option *ngFor="let recordingLayout of recordingLayouts" [value]="recordingLayout">
|
<mat-option *ngFor="let defaultRecordingLayout of defaultRecordingLayouts" [value]="defaultRecordingLayout">
|
||||||
{{ recordingLayout }}
|
{{ defaultRecordingLayout }}
|
||||||
</mat-option>
|
</mat-option>
|
||||||
</mat-select>
|
</mat-select>
|
||||||
</td>
|
</td>
|
||||||
|
|
|
@ -29,8 +29,8 @@ export class TestApirestComponent implements OnInit, OnDestroy {
|
||||||
recordingModes = ['ALWAYS', 'MANUAL'];
|
recordingModes = ['ALWAYS', 'MANUAL'];
|
||||||
selectedRecordingMode = 'MANUAL';
|
selectedRecordingMode = 'MANUAL';
|
||||||
|
|
||||||
recordingLayouts = ['BEST_FIT'];
|
defaultRecordingLayouts = ['BEST_FIT'];
|
||||||
selectedRecordingLayout = 'BEST_FIT';
|
selectedDefaultRecordingLayout = 'BEST_FIT';
|
||||||
|
|
||||||
mediaModes = ['ROUTED'];
|
mediaModes = ['ROUTED'];
|
||||||
selectedMediaMode = 'ROUTED';
|
selectedMediaMode = 'ROUTED';
|
||||||
|
@ -72,7 +72,7 @@ export class TestApirestComponent implements OnInit, OnDestroy {
|
||||||
this.openviduRestService.getSessionId(this.openviduUrl, this.openviduSecret,
|
this.openviduRestService.getSessionId(this.openviduUrl, this.openviduSecret,
|
||||||
new SessionProperties.Builder()
|
new SessionProperties.Builder()
|
||||||
.recordingMode(RecordingMode[this.selectedRecordingMode])
|
.recordingMode(RecordingMode[this.selectedRecordingMode])
|
||||||
.recordingLayout(RecordingLayout[this.selectedRecordingLayout])
|
.defaultRecordingLayout(RecordingLayout[this.selectedDefaultRecordingLayout])
|
||||||
.mediaMode(MediaMode[this.selectedMediaMode])
|
.mediaMode(MediaMode[this.selectedMediaMode])
|
||||||
.build())
|
.build())
|
||||||
.then((sessionId) => {
|
.then((sessionId) => {
|
||||||
|
|
Loading…
Reference in New Issue