openvidu-testapp: recording resolution configuration available

pull/203/head
pabloFuente 2019-01-22 15:10:59 +01:00
parent 1b55c523a6
commit bd8cacd7a7
4 changed files with 12 additions and 1 deletions

View File

@ -40,8 +40,9 @@ mat-dialog-content button {
}
#rec-properties-div {
background-color: #f7f7f7;
margin-bottom: 10px;
padding: 5px;
padding: 10px 5px 0 5px;
border: 1px solid #00000026;
border-radius: 3px;
}
@ -53,3 +54,7 @@ mat-dialog-content button {
#rec-properties-div mat-checkbox {
margin-left: 16px;
}
#recording-resolution-form {
max-width: 100px !important;
}

View File

@ -52,6 +52,10 @@
<div>
<mat-checkbox [(ngModel)]="recordingProperties.hasAudio">Has audio</mat-checkbox>
<mat-checkbox [(ngModel)]="recordingProperties.hasVideo">Has video</mat-checkbox>
<mat-form-field *ngIf="recordingProperties.outputMode.toString() === recMode[recMode.COMPOSED]" id="recording-resolution-form"
class="inner-text-input">
<input matInput id="recording-resolution-field" placeholder="Resolution" type="text" [(ngModel)]="recordingProperties.resolution">
</mat-form-field>
</div>
</div>
<mat-form-field class="inner-text-input">

View File

@ -26,6 +26,7 @@ mat-radio-button:first-child {
}
#manual-turn-div {
background-color: #f7f7f7;
margin-top: 10px;
padding: 5px;
border: 1px solid #00000026;

View File

@ -560,6 +560,7 @@ export class OpenviduInstanceComponent implements OnInit, OnChanges, OnDestroy {
outputMode: Recording.OutputMode.COMPOSED,
recordingLayout: this.sessionProperties.defaultRecordingLayout,
customLayout: this.sessionProperties.defaultCustomLayout,
resolution: '1920x1080',
hasAudio: true,
hasVideo: true
}