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.
|
||||
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,
|
||||
depending on the `privateAccess` query parameter.
|
||||
# It can be configured to be accessible by anyone (public access) or restricted to authenticated users only,
|
||||
# depending on the `privateAccess` query parameter.
|
||||
tags:
|
||||
- OpenVidu Meet - Recordings
|
||||
security:
|
||||
@ -264,7 +264,7 @@
|
||||
- recordingTokenCookie: []
|
||||
parameters:
|
||||
- $ref: '../components/parameters/recording-id.yaml'
|
||||
- $ref: '../components/parameters/private-access.yaml'
|
||||
# - $ref: '../components/parameters/private-access.yaml'
|
||||
responses:
|
||||
'200':
|
||||
$ref: '../components/responses/success-get-recording-url.yaml'
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
</div>
|
||||
}
|
||||
|
||||
<div class="access-type-section">
|
||||
<!-- <div class="access-type-section">
|
||||
<h3 class="section-label">Access Type</h3>
|
||||
<mat-radio-group [(ngModel)]="accessType" class="access-options">
|
||||
<mat-radio-button value="public" class="access-option">
|
||||
@ -36,7 +36,7 @@
|
||||
</div>
|
||||
</mat-radio-button>
|
||||
</mat-radio-group>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="generate-section">
|
||||
@if (loading) {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
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 { MatButtonModule } from '@angular/material/button';
|
||||
import {
|
||||
@ -37,7 +37,7 @@ import { RecordingService } from '@lib/services';
|
||||
templateUrl: './share-recording-dialog.component.html',
|
||||
styleUrl: './share-recording-dialog.component.scss'
|
||||
})
|
||||
export class ShareRecordingDialogComponent {
|
||||
export class ShareRecordingDialogComponent implements OnInit {
|
||||
accessType: 'private' | 'public' = 'public';
|
||||
recordingUrl?: string;
|
||||
private initialRecordingUrl?: string;
|
||||
@ -55,6 +55,14 @@ export class ShareRecordingDialogComponent {
|
||||
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() {
|
||||
this.loading = true;
|
||||
this.erroMessage = undefined;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user