mirror of https://github.com/OpenVidu/openvidu.git
openvidu-testapp: recording resolution configuration available
parent
1b55c523a6
commit
bd8cacd7a7
|
@ -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;
|
||||
}
|
|
@ -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">
|
||||
|
|
|
@ -26,6 +26,7 @@ mat-radio-button:first-child {
|
|||
}
|
||||
|
||||
#manual-turn-div {
|
||||
background-color: #f7f7f7;
|
||||
margin-top: 10px;
|
||||
padding: 5px;
|
||||
border: 1px solid #00000026;
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue