frotend: comment out access type section in share recording dialog
This commit is contained in:
parent
1278d38b7d
commit
b89ee91794
@ -254,8 +254,8 @@
|
|||||||
Retrieves the URL of a recording with the specified recording ID.
|
Retrieves the URL of a recording with the specified recording ID.
|
||||||
This URL is intended to be shared with people who do not have direct access to the recording.
|
This URL is intended to be shared with people who do not have direct access to the recording.
|
||||||
|
|
||||||
It can be configured to be accessible by anyone (public access) or restricted to authenticated users only,
|
# It can be configured to be accessible by anyone (public access) or restricted to authenticated users only,
|
||||||
depending on the `privateAccess` query parameter.
|
# depending on the `privateAccess` query parameter.
|
||||||
tags:
|
tags:
|
||||||
- OpenVidu Meet - Recordings
|
- OpenVidu Meet - Recordings
|
||||||
security:
|
security:
|
||||||
@ -264,7 +264,7 @@
|
|||||||
- recordingTokenCookie: []
|
- recordingTokenCookie: []
|
||||||
parameters:
|
parameters:
|
||||||
- $ref: '../components/parameters/recording-id.yaml'
|
- $ref: '../components/parameters/recording-id.yaml'
|
||||||
- $ref: '../components/parameters/private-access.yaml'
|
# - $ref: '../components/parameters/private-access.yaml'
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
$ref: '../components/responses/success-get-recording-url.yaml'
|
$ref: '../components/responses/success-get-recording-url.yaml'
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="access-type-section">
|
<!-- <div class="access-type-section">
|
||||||
<h3 class="section-label">Access Type</h3>
|
<h3 class="section-label">Access Type</h3>
|
||||||
<mat-radio-group [(ngModel)]="accessType" class="access-options">
|
<mat-radio-group [(ngModel)]="accessType" class="access-options">
|
||||||
<mat-radio-button value="public" class="access-option">
|
<mat-radio-button value="public" class="access-option">
|
||||||
@ -36,7 +36,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</mat-radio-button>
|
</mat-radio-button>
|
||||||
</mat-radio-group>
|
</mat-radio-group>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
<div class="generate-section">
|
<div class="generate-section">
|
||||||
@if (loading) {
|
@if (loading) {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { Clipboard } from '@angular/cdk/clipboard';
|
import { Clipboard } from '@angular/cdk/clipboard';
|
||||||
import { Component, Inject } from '@angular/core';
|
import { Component, Inject, OnInit } from '@angular/core';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import { MatButtonModule } from '@angular/material/button';
|
import { MatButtonModule } from '@angular/material/button';
|
||||||
import {
|
import {
|
||||||
@ -37,7 +37,7 @@ import { RecordingService } from '@lib/services';
|
|||||||
templateUrl: './share-recording-dialog.component.html',
|
templateUrl: './share-recording-dialog.component.html',
|
||||||
styleUrl: './share-recording-dialog.component.scss'
|
styleUrl: './share-recording-dialog.component.scss'
|
||||||
})
|
})
|
||||||
export class ShareRecordingDialogComponent {
|
export class ShareRecordingDialogComponent implements OnInit {
|
||||||
accessType: 'private' | 'public' = 'public';
|
accessType: 'private' | 'public' = 'public';
|
||||||
recordingUrl?: string;
|
recordingUrl?: string;
|
||||||
private initialRecordingUrl?: string;
|
private initialRecordingUrl?: string;
|
||||||
@ -55,6 +55,14 @@ export class ShareRecordingDialogComponent {
|
|||||||
this.initialRecordingUrl = data.recordingUrl;
|
this.initialRecordingUrl = data.recordingUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Remove this when having multiple users
|
||||||
|
async ngOnInit() {
|
||||||
|
if (!this.initialRecordingUrl) {
|
||||||
|
await this.getRecordingUrl();
|
||||||
|
this.initialRecordingUrl = this.recordingUrl;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
async getRecordingUrl() {
|
async getRecordingUrl() {
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
this.erroMessage = undefined;
|
this.erroMessage = undefined;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user